Bobby R. Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/49044 )

Change subject: tests: Update pip prior to installing gem5art packages
......................................................................

tests: Update pip prior to installing gem5art packages

This fixes the `invalid command 'bdist_wheel'` error which may be
causing wider problems, as reported in this email thread:
https://www.mail-archive.com/gem5-dev@gem5.org/msg39790.html

The `bdist_wheel` package, a dependency of the `celery` package, was
not being installed correctly. The root cause of this
problem is not known, but solutions are presented here:
https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci

Upgrading pip prior to installing the gem5art packages seemed like the
simplest solution.

Change-Id: I1bd4e85871c37d0522e16a90ff6b8acc3fdd9f94
---
M tests/jenkins/gem5art-tests.sh
1 file changed, 8 insertions(+), 0 deletions(-)



diff --git a/tests/jenkins/gem5art-tests.sh b/tests/jenkins/gem5art-tests.sh
index c655fbb..b9dee55 100755
--- a/tests/jenkins/gem5art-tests.sh
+++ b/tests/jenkins/gem5art-tests.sh
@@ -43,6 +43,14 @@
 python3 -m venv .pyenv
 source .pyenv/bin/activate

+# The 20.04_all-dependencies image has a slightly outdated version of pip which
+# causes problems when trying to install the celery package. The error
+# is `invalid command 'bdist_wheel'`, which can be resolved by upgrading pip
+# prior to installing the modules. More information on this error is found
+# here:
+# https://stackoverflow.com/questions/34819221/why-is-python-setup-py-saying-invalid-command-bdist-wheel-on-travis-ci
+ pip install --upgrade pip
+
 # Install the packages
 pip install -e util/gem5art/artifact
 pip install -e util/gem5art/run

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/49044
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I1bd4e85871c37d0522e16a90ff6b8acc3fdd9f94
Gerrit-Change-Number: 49044
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby R. Bruce <bbr...@ucdavis.edu>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to