From f76077452c2ee541847cb8fe65287aa7dee81c19 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 24 Dec 2024 08:05:02 -0500 Subject: [PATCH] Drop the pytest-runner dependency It has been deprecated upstream for some time, and the project is now archived. https://github.com/pytest-dev/pytest-runner/tree/v6.0.1?tab=readme-ov-file#deprecation-notice This breaks 'python setup.py test', but that usage has been deprecated for about five years, and is removed in setuptools 74, so nothing meaningful is lost. --- setup.cfg | 7 ------- 1 file changed, 7 deletions(-) diff --git a/setup.cfg b/setup.cfg index 936e613..4bd09f8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,6 @@ classifiers = # one day these will be able to come from requirement files, see https://github.com/pypa/setuptools/issues/1951. But will it be better ? setup_requires = setuptools_scm - pytest-runner install_requires = makefun>=1.5.0 typing-extensions>=4.2;python_version>'3.6' and python_version<'3.10' @@ -86,12 +85,6 @@ exclude = # Code is written to work on both Python 2 and Python 3. universal=1 -# ------------- Others ------------- -# In order to be able to execute 'python setup.py test' -# from https://docs.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner -[aliases] -test = pytest - # pytest default configuration [tool:pytest] testpaths = tests/