mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
test_wheel: workaround to keep this working on Python 3.4 for now
colorama dropped Python 3.4 (see tartley/colorama#228) but pip is not smart enough to lock to an older version.
This commit is contained in:
parent
55f624e073
commit
1568d1c6b1
@ -45,7 +45,11 @@ def test_wheel(wheel, verbose=False):
|
||||
open(pep425tags, "w").write(data)
|
||||
|
||||
# Install pytest into the environment, as well as our wheel.
|
||||
if subprocess.call([python, "-m", "pip", "install", "pytest", wheel]) != 0:
|
||||
packages = ["pytest", wheel]
|
||||
if sys.version_info[0:2] == (3, 4):
|
||||
packages += ["colorama==0.4.1"]
|
||||
|
||||
if subprocess.call([python, "-m", "pip", "install"] + packages) != 0:
|
||||
shutil.rmtree(envdir)
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user