From 962835d068af4d993f2195e7a6ffd4f70548b9f4 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 6 Sep 2024 12:20:34 -0400 Subject: [PATCH] Remove reliance on distutils commands for external dependencies check. --- setuptools/tests/test_virtualenv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setuptools/tests/test_virtualenv.py b/setuptools/tests/test_virtualenv.py index cdc10f5004..b02949baf9 100644 --- a/setuptools/tests/test_virtualenv.py +++ b/setuptools/tests/test_virtualenv.py @@ -110,5 +110,4 @@ def test_no_missing_dependencies(bare_venv, request): Quick and dirty test to ensure all external dependencies are vendored. """ setuptools_dir = request.config.rootdir - for command in ('upload',): # sorted(distutils.command.__all__): - bare_venv.run(['python', 'setup.py', command, '-h'], cwd=setuptools_dir) + bare_venv.run(['python', 'setup.py', '--help'], cwd=setuptools_dir)