Disable python3.3 on drone-old

15 views
Skip to first unread message

Cédric Krier

unread,
Apr 3, 2018, 6:40:06 PM4/3/18
to Tryton
Hi,

I had to remove python3.3 on the python docker image because it fails to
create a virtualenv:

Using base prefix '/usr'
New python executable in /var/cache/drone/src/trypod.tryton.org/tryton/modules.stock/.tox/py33-postgresql/bin/python3.3
Also creating executable in /var/cache/drone/src/trypod.tryton.org/tryton/modules.stock/.tox/py33-postgresql/bin/python
Installing setuptools, pip, wheel...
Complete output from command /var/cache/drone/src...gresql/bin/python3.3 - setuptools pip wheel:
Collecting setuptools
Downloading http://pypi.tryton.org/root/pypi/+f/ca2/99c7acd13a72e/setuptools-39.0.1-py2.py3-none-any.whl (569kB)
Collecting pip
Downloading http://pypi.tryton.org/root/pypi/+f/d51/2ceb964f38ba3/pip-9.0.3-py2.py3-none-any.whl (1.4MB)
Collecting wheel
Downloading http://pypi.tryton.org/root/pypi/+f/240/d714477a715bc/wheel-0.31.0-py2.py3-none-any.whl (41kB)
wheel requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' but the running Python is 3.3.6
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py", line 2328, in <module>
main()
File "/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py", line 713, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py", line 945, in create_environment
download=download,
File "/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py", line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/local/lib/python2.7/dist-packages/virtualenv-15.1.0-py2.7.egg/virtualenv.py", line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /var/cache/drone/src...gresql/bin/python3.3 - setuptools pip wheel failed with error code 1
Running virtualenv with interpreter /usr/bin/python3.3

This is a Python version that is any way no more supported since
September 29, 2017.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages