Centos 7 train jobs failing with pymod2pkg requiring python 3.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Rafael Folco |
Bug Description
2020-11-24 07:51:07.768583 | primary | stdout: Looking in indexes: https:/
2020-11-24 07:51:07.769322 | primary | Collecting rdopkg
2020-11-24 07:51:07.770054 | primary | Downloading https:/
2020-11-24 07:51:07.770358 | primary | Collecting blessings
2020-11-24 07:51:07.770583 | primary | Downloading https:/
2020-11-24 07:51:07.770948 | primary | Collecting distroinfo>=0.3.0
2020-11-24 07:51:07.771209 | primary | Downloading https:/
2020-11-24 07:51:07.771291 | primary | Collecting munch
2020-11-24 07:51:07.771566 | primary | Downloading https:/
2020-11-24 07:51:07.771899 | primary | Collecting pbr>=0.5.6
2020-11-24 07:51:07.772125 | primary | Downloading https:/
2020-11-24 07:51:07.772196 | primary | Collecting PyYAML
2020-11-24 07:51:07.772403 | primary | Downloading https:/
2020-11-24 07:51:07.772456 | primary | Collecting pyOpenSSL>=16.2.0
2020-11-24 07:51:07.772675 | primary | Downloading https:/
2020-11-24 07:51:07.772954 | primary | Collecting pymod2pkg
2020-11-24 07:51:07.773192 | primary | Downloading https:/
2020-11-24 07:51:07.773225 | primary |
2020-11-24 07:51:07.774355 | primary | :stderr: 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. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https:/
2020-11-24 07:51:07.774903 | primary | ERROR: Package 'pymod2pkg' requires a different Python: 2.7.5 not in '>=3.6'
2020-11-24 07:51:07.774950 | primary |
2020-11-24 07:51:07.774978 | primary |
Changed in tripleo: | |
importance: | Undecided → Critical |
tags: |
added: ci promotion-blocker removed: quickstart |
Following advice from ykarel, we can reproduce this if we run the following command-line on a python2 venv:
$ pip install --index-url="https:/ /mirror. bhs1.ovh. opendev. org/pypi/ simple" --extra-index-url="https:/ /mirror. bhs1.ovh. opendev. org/wheel/ centos- 7.8-x86_ 64" --trusted- host=mirror. bhs1.ovh. opendev. org rdopkg
However, when using a different mirror, it works as expected:
$ pip install --index-url="https:/ /mirror. regionone. vexxhost. rdoproject. org/pypi/ simple" --extra-index-url="https:/ /mirror. regionone. vexxhost. rdoproject. org/wheel/ centos- 7.8-x86_ 64" --trusted- host=mirror. regionone. vexxhost. rdoproject. org rdopkg