mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
test_wheel: Fix for Python 3.4
[skip ci]
This commit is contained in:
parent
f30019af13
commit
d545dbd6eb
@ -50,8 +50,12 @@ def test_wheel(wheel, verbose=False):
|
|||||||
|
|
||||||
# Install pytest into the environment, as well as our wheel.
|
# Install pytest into the environment, as well as our wheel.
|
||||||
packages = ["pytest", wheel]
|
packages = ["pytest", wheel]
|
||||||
if sys.version_info[0:2] == (3, 4) and sys.platform == "win32":
|
if sys.version_info[0:2] == (3, 4):
|
||||||
packages += ["colorama==0.4.1"]
|
if sys.platform == "win32":
|
||||||
|
packages += ["colorama==0.4.1"]
|
||||||
|
|
||||||
|
# See https://github.com/python-attrs/attrs/pull/807
|
||||||
|
packages += ["attrs<21"]
|
||||||
|
|
||||||
if subprocess.call([python, "-m", "pip", "install"] + packages) != 0:
|
if subprocess.call([python, "-m", "pip", "install"] + packages) != 0:
|
||||||
shutil.rmtree(envdir)
|
shutil.rmtree(envdir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user