Skip to content

Commit

Permalink
Constrain the PyTest version.
Browse files Browse the repository at this point in the history
This is a workaround to a very small problem with pytest-8,
#1670
  • Loading branch information
leftaroundabout committed Dec 7, 2024
1 parent aa9e55c commit db00083
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ requirements:

test:
requires:
- pytest >=5.4
- pytest >=5.4, <8.0
imports:
- odl
commands:
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ install_requires =
scipy >=1.1
python_requires = >=3.7
tests_require =
pytest >=5.4.0 ; python_version >= "3"
pytest >=5.4.0, <8.0
coverage >=4.0
coveralls
include_package_data = True
Expand All @@ -61,12 +61,12 @@ tests = odl/test, odl/pytest.ini
[options.extras_require]
testing =
pytest >=3.1, <5.0 ; python_version <= "2.7"
pytest >=5.4.0 ; python_version >= "3"
pytest >=5.4.0, <8.0 ; python_version >= "3"
coverage >=4.0
coveralls
all =
pytest >=3.1, <5.0 ; python_version <= "2.7"
pytest >=5.4.0 ; python_version >= "3"
pytest >=5.4.0, <8.0 ; python_version >= "3"
coverage >=4.0
coveralls
matplotlib
Expand Down

0 comments on commit db00083

Please sign in to comment.