From 7e8dede72859d3a49f3a36899ce9c2b1cf87698c Mon Sep 17 00:00:00 2001 From: Benedikt Seeger <benedikt.seeger@ptb.de> Date: Tue, 15 Apr 2025 12:55:15 +0200 Subject: [PATCH] dont restrict pytest-cov for 3.8 or lower python any more --- pyproject.toml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b3533db..17bf06b 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 -- GitLab