diff --git a/pyproject.toml b/pyproject.toml index b3533db7ae37f79ad4862dadaf3cd5189eaefc34..17bf06b051b1270e36dadb7b38404ce8be250203 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,15 +22,10 @@ classifiers=[ [project.optional-dependencies] testing = [ - # For Python 3.7, use pytest version below 8 which supports Python 3.7 - 'pytest>=7,<8; python_version < "3.8"', - # For Python 3.8 and above, use pytest 8 or later - 'pytest>=8; python_version >= "3.8"', - # If you want to include coverage, either: - # Option A: install coverage on Python 3.7/3.8 using an older version - 'pytest-cov>=5,<6; python_version < "3.8"', - # For Python 3.8 and above, use pytest-cov 6 or later - 'pytest-cov>=6; python_version >= "3.8"', - # And include requests for tests - 'requests>=2.0' + "pytest>=8.0", + "requests>=2.0", + # For Python 3.9 and up, use pytest-cov>=6.0 + 'pytest-cov>=6.0; python_version >= "3.9"', + # For older versions, use an older version of pytest-cov or omit it: + 'pytest-cov; python_version < "3.9"' # we take any we get ] \ No newline at end of file