mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
test_wheel: fix for Python 3.4
[skip ci]
This commit is contained in:
parent
c2866ea4ed
commit
f1af6c80ff
@ -32,7 +32,11 @@ def test_wheel(wheel, verbose=False):
|
||||
python = os.path.join(envdir, "bin", "python")
|
||||
|
||||
# Upgrade pip inside the environment too.
|
||||
if subprocess.call([python, "-m", "pip", "install", "-U", "pip"]) != 0:
|
||||
pip_pkg = "pip"
|
||||
if sys.version_info[0:2] == (3, 4):
|
||||
pip_pkg = "pip<19.2"
|
||||
|
||||
if subprocess.call([python, "-m", "pip", "install", "-U", pip_pkg]) != 0:
|
||||
shutil.rmtree(envdir)
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user