Closed knorth55 closed 3 years ago
all travis build failed because of pip 21.0
release like this.
https://travis-ci.com/github/jsk-ros-pkg/jsk_visualization/builds/214326572
++ curl https://bootstrap.pypa.io/get-pip.py
++ sudo python -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1883k 100 1883k 0 0 10.2M 0 --:--:-- --:--:-- --:--:-- 10.2M
Traceback (most recent call last):
File "<stdin>", line 24226, in <module>
File "<stdin>", line 199, in main
File "<stdin>", line 82, in bootstrap
File "/tmp/tmpQxMfd8/pip.zip/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
+++ error
Thank you. I think this will not pass on testing, because it uses default branch.
because pip 21.0 is released, which dropped python 2.7 support in january 2021. https://pip.pypa.io/en/latest/development/release-process/#python-2-support
with
https://bootstrap.pypa.io/2.7/get-pip.py
, we can install pip20.3.4
, which supports python 2.7.