From 5fa118f47b3b517d1c96737f9b0da16a72eb9479 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 13 Feb 2025 14:50:30 -0500 Subject: [PATCH] Drop pytest-runner dependency / "setup.py test" support The `pytest-runner` package 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 Furthermore, the "setup.py test" command was removed in setuptools 72: https://github.com/pypa/setuptools/blob/v75.8.0/NEWS.rst#v7200 This does not affect running the tests with pytest or tox. --- requirements_dev.txt | 1 - setup.py | 7 ------- 2 files changed, 8 deletions(-) diff --git a/requirements_dev.txt b/requirements_dev.txt index 3f18e01..a8ac59b 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -10,4 +10,3 @@ twine==3.4.1 pytest==6.2.2 pytest-aiohttp==0.3.0 -pytest-runner==5.3.0 diff --git a/setup.py b/setup.py index 062bb08..94bbe2e 100644 --- a/setup.py +++ b/setup.py @@ -13,10 +13,6 @@ requirements = ['aiohttp>=3', 'attrs', 'multidict', 'yarl', ] -setup_requirements = ['pytest-runner', ] - -test_requirements = ['pytest', ] - setup( author="Jason Hu", author_email='awaregit@gmail.com', @@ -41,9 +37,6 @@ keywords='aiohttp_sse_client', name='aiohttp-sse-client', packages=find_packages(include=['aiohttp_sse_client']), - setup_requires=setup_requirements, - test_suite='tests', - tests_require=test_requirements, url='https://github.com/rtfol/aiohttp-sse-client', version='0.2.1', zip_safe=False,