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@99cloud.net]
Sent: Wednesday, February 26, 2020 5:42 AM
To: starlingx-discuss@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@99cloud.net
手机(Mobile):  13816965096
地址(Addr):  上海市局门路4271号楼206
Room 206, Bldg 1, No.427 JuMen Road, ShangHai, China
网址(Site):  http://www.99cloud.net