tripleo-ci-centos-7-containers-multinode-train/stein/stein/queens failing with ERROR: Package 'python-heatclient' requires a different Python: 2.7.5 not in '>=3.6'.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
wes hayutin |
Bug Description
Below jobs are failing with ERROR: Package 'python-heatclient' requires a different Python: 2.7.5 not in '>=3.6'.
tripleo-
tripleo-
tripleo-
tripleo-
Error snippet:-
~~~
2020-03-26 06:50:27.769014 | primary | ERROR: Package 'python-heatclient' requires a different Python: 2.7.5 not in '>=3.6'
2020-03-26 06:50:28.384140 | primary | ERROR
2020-03-26 06:50:28.384576 | primary | {
2020-03-26 06:50:28.384693 | primary | "delta": "0:00:45.148427",
2020-03-26 06:50:28.384803 | primary | "end": "2020-03-26 06:50:27.812948",
2020-03-26 06:50:28.384909 | primary | "msg": "non-zero return code",
2020-03-26 06:50:28.385012 | primary | "rc": 1,
2020-03-26 06:50:28.385120 | primary | "start": "2020-03-26 06:49:42.664521"
2020-03-26 06:50:28.385222 | primary | }
2020-03-26 06:50:28.599240 |
~~~
URL:-
~~~
tags: | added: ci promotion-blocker |
Changed in tripleo: | |
assignee: | chandan kumar (chkumar246) → wes hayutin (weshayutin) |
Changed in tripleo: | |
status: | In Progress → Fix Released |
It can be reproduced easily bin/python2. 7 bin/python
❯ virtualenv -p /usr/bin/python2.7 .venv
Running virtualenv with interpreter /usr/bin/python2.7
Already using interpreter /usr/bin/python2.7
New python executable in /tmp/.venv/
Also creating executable in /tmp/.venv/
Installing setuptools, pip, wheel...
done.
/tmp took 3s
❯ source .venv/bin/activate
/tmp via 🐍 v2.7.17 (.venv) mirror. mtl01.inap. opendev. org/pypifiles/ packages/ 31/f2/8ced1e395 a1b69042d764ca0 014ee977a5cbaf8 f152bb1de455009 3a0ef3/ python- heatclient- 2.0.0.tar. gz /pip.pypa. io/en/latest/ development/ release- process/ #python- 2-support mirror. mtl01.inap. opendev. org/pypifiles/ packages/ 31/f2/8ced1e395 a1b69042d764ca0 014ee977a5cbaf8 f152bb1de455009 3a0ef3/ python- heatclient- 2.0.0.tar. gz mirror. mtl01.inap. opendev. org/pypifiles/ packages/ 31/f2/8ced1e395 a1b69042d764ca0 014ee977a5cbaf8 f152bb1de455009 3a0ef3/ python- heatclient- 2.0.0.tar. gz (172 kB) ███████ ███████ ███████ ███████ ███| 172 kB 110 kB/s
❯ pip install http://
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:/
Collecting http://
Downloading http://
|█
ERROR: Package 'python-heatclient' requires a different Python: 2.7.17 not in '>=3.6'
Somehow python- heatclient- 2.0.0.tar. gz is getting pulled on python-2.7 in ci
I need we need to update TQ requirements.txt /github. com/openstack/ tripleo- quickstart/ blob/master/ requirements. txt#L12 heatclient< 2.0.0;python_ version= ='2.7' # Apache-2.0 heatclient; python_ version> ='3.6' # Apache-2.0
https:/
with following line:
python-
python-
will fix the issue.