From 1ec073f0fdee38563cdba7ab0f0ae0be546e752a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 30 Jul 2025 11:52:15 +0200 Subject: [PATCH] Add missing test dependency on `setuptools` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the missing test dependency on `setuptools`, as it is required by `greenlet.tests.test_version.VersionTests.test_version`. The test is calling `setup.py` which requires `setuptools` to be installed. Prior to this change, a `tox` run on Python 3.12 or newer would fail, as these versions no longer include `setuptools` in a pristine venv: ``` test_version (greenlet.tests.test_version.VersionTests.test_version) ... Traceback (most recent call last): File "/tmp/greenlet/setup.py", line 10, in from setuptools import setup ModuleNotFoundError: No module named 'setuptools' FAIL ``` Signed-off-by: Michał Górny --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 83aba4d5..c0e3c347 100755 --- a/setup.py +++ b/setup.py @@ -260,6 +260,7 @@ def get_greenlet_version(): 'test': [ 'objgraph', 'psutil', + 'setuptools', ], }, python_requires=">=3.9",