diff --git a/pyproject.toml b/pyproject.toml index a8cc91b..a6b4118 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 61.0", "setuptools-scm >= 7.1"] +requires = ["setuptools >= 80", "setuptools-scm >= 8"] build-backend = "setuptools.build_meta" [project] @@ -27,11 +27,11 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Testing", ] -requires-python = ">=3.10" +requires-python = ">= 3.10" dependencies = [ - "filelock>=3.0", - "mypy>=1.0", - "pytest>=7.0", + "filelock >= 3.0", + "mypy >= 1.0", + "pytest >= 7.0", ] [project.entry-points.pytest11] diff --git a/tests/test_pytest_mypy.py b/tests/test_pytest_mypy.py index b621a81..bd86899 100644 --- a/tests/test_pytest_mypy.py +++ b/tests/test_pytest_mypy.py @@ -64,10 +64,6 @@ def pyfunc(x: int) -> int: PYTEST_VERSION < Version("7.4"), reason="https://github.com/pytest-dev/pytest/pull/10935", ) -@pytest.mark.skipif( - PYTHON_VERSION < Version("3.10"), - reason="PEP 597 was added in Python 3.10.", -) @pytest.mark.skipif( PYTHON_VERSION >= Version("3.12") and MYPY_VERSION < Version("1.5"), reason="https://github.com/python/mypy/pull/15558", diff --git a/tox.ini b/tox.ini index ce52359..e264d78 100644 --- a/tox.ini +++ b/tox.ini @@ -66,7 +66,7 @@ deps = mypy ~= 2.1.0 pytest-xdist >= 3.6.0 # needed for type-checking commands = - black --check --target-version py38 src tests + black --check --target-version py310 src tests flake8 src tests mypy --strict src bandit --recursive src