[Starlingx-discuss] Failed when build StarlingX docker images

Penney, Don Don.Penney at windriver.com
Wed Feb 26 15:37:38 UTC 2020


I guess the upstream nova has updated its requirements.txt to drop support for python2 completely. Al has started digging into the work required to move our image builds to python3, but it’s going to be a multi-day effort.

We’re checking to see if there’s a temporary workaround to get this build working in the short term.



From: YuChengDe [mailto:yu.chengde at 99cloud.net]
Sent: Wednesday, February 26, 2020 5:42 AM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] Failed when build StarlingX docker images

Hi:
 I have some problem as building the StarlingX docker image.
 When I built stx-nova through build-stx-base.sh, the process was stuck, and leave the error log as below.
 Please offer me some suggestions.
 Many thanks.

...
dirname /opt/loci/scripts/install.sh
/opt/loci/scripts/pip_install.sh /tmp/heat pycrypto pylint
packages='/tmp/heat pycrypto pylint'
pip install --no-cache-dir --only-binary :all: --no-compile -c /tmp/wheels/upper-constraints.txt --find-links /tmp/wheels/ /tmp/heat pycrypto pylint
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
...
Ignoring sphinxcontrib-applehelp: markers 'python_version == "3.6"' don't match your environment
Ignoring sphinxcontrib-applehelp: markers 'python_version == "3.7"' don't match your environment
Ignoring scikit-learn: markers 'python_version == "3.6"' don't match your environment
Ignoring scikit-learn: markers 'python_version == "3.7"' don't match your environment
Looking in links: /tmp/wheels/
Processing /tmp/nova
ERROR: Package 'nova' requires a different Python: 2.7.5 not in '>=3.6'
command '/bin/sh -c /opt/loci/scripts/install.sh' returned a non-zero code: 1


[Image removed by sender.]
--
—————————————————————————————I
九州云信息科技有限公司  99CLOUD Inc.

于成德   产品开发部
邮箱(Email):  yu.chengde at 99cloud.net
手机(Mobile):  13816965096
地址(Addr):  上海市局门路427号1号楼206
Room 206, Bldg 1, No.427 JuMen Road, ShangHai, China
网址(Site):  http://www.99cloud.net<http://www.99cloud.net/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200226/bf45ca33/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ~WRD000.jpg
Type: image/jpeg
Size: 823 bytes
Desc: ~WRD000.jpg
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20200226/bf45ca33/attachment-0001.jpg>


More information about the Starlingx-discuss mailing list