Skip to content

Commit

Permalink
Hack to use strict reqs at CIBuildWheel test time. TODO: generalize l…
Browse files Browse the repository at this point in the history
…ater
  • Loading branch information
Erotemic committed Apr 28, 2024
1 parent b8e3f74 commit d6f43a3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ omit =[
build = "cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*"
build-frontend = "build"
build-verbosity = 1
test-requires = [ "-r requirements/tests.txt",]
test-requires = [ "-r requirements/tests-strict.txt",]
test-command = "python {project}/run_tests.py"

# https://cibuildwheel.readthedocs.io/en/stable/options/#archs
Expand Down
15 changes: 15 additions & 0 deletions requirements/tests-strict.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pytest==8.1.1 ; python_version < '4.0' and python_version == '3.13' # Python 3.13+
pytest==8.1.1 ; python_version < '3.13' and python_version == '3.12' # Python 3.12
pytest==8.1.1 ; python_version < '3.12' and python_version == '3.11' # Python 3.11
pytest==6.2.5 ; python_version < '3.11' and python_version == '3.10' # Python 3.10
pytest==6.2.5 ; python_version < '3.10' and python_version == '3.9' # Python 3.9
pytest==6.2.5 ; python_version < '3.9' and python_version == '3.8' # Python 3.8
pytest<=6.2.5 ; python_version < '3.8' and python_version == '3.7' # Python 3.7
pytest<=6.2.5 ; python_version < '3.7' and python_version == '3.6' # Python 3.6

pytest-cov==3.0.0 ; python_version == '3.6.0' # Python 3.6+

coverage[toml] == 5.3
ubelt == 1.3.4

xdoctest == 1.1.3

0 comments on commit d6f43a3

Please sign in to comment.