Author: Matti Picus <[email protected]>
Branch: 
Changeset: r1125:5fdc899d981d
Date: 2020-01-14 04:58 +1100
http://bitbucket.org/pypy/buildbot/changeset/5fdc899d981d/

Log:    change order: first create virtualenv, then update pip, setuptools

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -503,17 +503,17 @@
             workdir='venv',
             haltOnFailure=False))
         factory.addStep(ShellCmd(
+            description="Create virtualenv",
+            command=prefix + [target, '-mvirtualenv', '--clear', venv_dir],
+            workdir='venv',
+            flunkOnFailure=True))
+        factory.addStep(ShellCmd(
             description="Install recent virtualenv",
             command=prefix + [target, '-mpip', 'install', '--upgrade',
                               'pip', 'setuptools', virt_package],
             workdir='venv',
             flunkOnFailure=True))
         factory.addStep(ShellCmd(
-            description="Create virtualenv",
-            command=prefix + [target, '-mvirtualenv', '--clear', venv_dir],
-            workdir='venv',
-            flunkOnFailure=True))
-        factory.addStep(ShellCmd(
             description="Install extra tests requirements",
             command=prefix + [virt_pypy, '-m', 'pip', 'install',
                 '-r', '../build/extra_tests/requirements.txt'],
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to