Akira Ajisaka created YETUS-974:
-----------------------------------
Summary: start-build-env.sh fails
Key: YETUS-974
URL: https://issues.apache.org/jira/browse/YETUS-974
Project: Yetus
Issue Type: Bug
Components: Precommit
Reporter: Akira Ajisaka
Assignee: Akira Ajisaka
{noformat}
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 335, in
run
prefix=options.prefix_path,
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 732, in
install
**kwargs
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 886, in
install
spinner=spinner,
File "/usr/lib/python2.7/dist-packages/pip/utils/__init__.py", line 736, in
call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command "/usr/bin/python -u -c "import setuptools,
tokenize;__file__='/tmp/pip-build-zR9pmu/isort/setup.py';exec(compile(getattr(tokenize,
'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))"
install --record /tmp/pip-MhGoG4-record/install-record.txt
--single-version-externally-managed --compile" failed with error code 1 in
/tmp/pip-build-zR9pmu/isort/
Converted retries value: Retry(total=0, connect=None, read=None, redirect=None)
-> Retry(total=Retry(total=0, connect=None, read=None, redirect=None),
connect=None, read=None, redirect=None)
Converted retries value: Retry(total=0, connect=None, read=None, redirect=None)
-> Retry(total=Retry(total=0, connect=None, read=None, redirect=None),
connect=None, read=None, redirect=None)
Starting new HTTPS connection (1): pypi.python.org
"GET /pypi/pip/json HTTP/1.1" 301 122
Starting new HTTPS connection (1): pypi.org
"GET /pypi/pip/json HTTP/1.1" 200 23544
You are using pip version 8.1.1, however version 20.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/bash -o pipefail -c pip2 install -v astroid==1.6.5
configparser==4.0.2 pylint==1.9.2 python-dateutil==2.7.3
&& rm -rf /root/.cache' returned a non-zero code: 1
{noformat}
Recently isort 5.0.0 is released and dropped Python 2 support.
https://timothycrosley.github.io/isort/docs/major_releases/introducing_isort_5/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)