mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
test_wheel: Update set of packages to install with pip
setuptools is required because test_imports imports direct.dist.commands [skip ci]
This commit is contained in:
parent
84020d4fb6
commit
78f8e1eaa9
@ -41,7 +41,7 @@ def test_wheel(wheel, verbose=False):
|
||||
if sys.version_info >= (3, 10):
|
||||
packages += ["pytest>=6.2.4"]
|
||||
else:
|
||||
packages += ["pytest"]
|
||||
packages += ["pytest>=3.9.0"]
|
||||
|
||||
if sys.version_info[0:2] == (3, 4):
|
||||
if sys.platform == "win32":
|
||||
@ -50,6 +50,9 @@ def test_wheel(wheel, verbose=False):
|
||||
# See https://github.com/python-attrs/attrs/pull/807
|
||||
packages += ["attrs<21"]
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
packages += ["setuptools"]
|
||||
|
||||
if subprocess.call([python, "-m", "pip", "install"] + packages) != 0:
|
||||
shutil.rmtree(envdir)
|
||||
sys.exit(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user