examples: use pip 21.3

This commit is contained in:
David Hewitt 2021-10-13 00:05:33 +01:00
parent 49570db3fc
commit da885f696d
9 changed files with 14 additions and 33 deletions

View File

@ -1 +1,2 @@
pytest>=3.5.0
pip>=21.3

View File

@ -4,11 +4,7 @@ skipsdist = true
[testenv]
description = Run the unit tests under {basepython}
deps =
pip>=21.1 # for in-tree-build
-rrequirements-dev.txt
deps = -rrequirements-dev.txt
commands =
# --use-feature=in-tree-build is necessary because this example is inside
# the PyO3 repo.
python -m pip install . --use-feature=in-tree-build
python -m pip install .
pytest {posargs}

View File

@ -1,3 +1,4 @@
pytest>=3.5.0
setuptools-rust>=0.10.2
pytest-benchmark~=3.2
pip>=21.3

View File

@ -1,10 +1,5 @@
[tox]
# can't install from sdist because local pyo3 repo can't be included in the sdist
skipsdist = true
[testenv]
usedevelop = True
description = Run the unit tests under {basepython}
deps = -rrequirements-dev.txt
commands =
python setup.py install
pytest --benchmark-sort=name {posargs}
commands = pytest --benchmark-sort=name {posargs}

View File

@ -1,3 +1,4 @@
hypothesis>=3.55
pytest>=3.5.0
psutil>=5.6
pip>=21.3

View File

@ -4,11 +4,7 @@ skipsdist = true
[testenv]
description = Run the unit tests under {basepython}
deps =
pip>=21.1 # for in-tree-build
-rrequirements-dev.txt
deps = -rrequirements-dev.txt
commands =
# --use-feature=in-tree-build is necessary because this example is inside
# the PyO3 repo.
python -m pip install . --use-feature=in-tree-build
python -m pip install .
pytest {posargs}

View File

@ -1,2 +1,3 @@
pytest>=3.5.0
setuptools_rust~=0.11.0
pip>=21.3

View File

@ -1,10 +1,5 @@
[tox]
# can't install from sdist because local pyo3 repo can't be included in the sdist
skipsdist = true
[testenv]
usedevelop = true
description = Run the unit tests under {basepython}
deps = -rrequirements-dev.txt
commands =
python setup.py install
pytest {posargs}
commands = pytest {posargs}

View File

@ -1,10 +1,5 @@
[tox]
# can't install from sdist because local pyo3 repo can't be included in the sdist
skipsdist=true
[testenv]
usedevelop = true
description = Run the unit tests under {basepython}
deps = -rrequirements-dev.txt
commands =
python setup.py install
pytest {posargs}
commands = pytest {posargs}