Comment 13 for bug 1820892

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like the python 3 parsing from pypi is failing:

http://logs.openstack.org/79/636079/9/gate/grenade-py3/153ff2c/logs/grenade.sh.txt.gz#_2019-03-29_23_30_47_850

2019-03-29 23:30:47.850 | + inc/python:pip_install_gr:73 : pip_install 'libvirt-python!=4.1.0,!=4.2.0'
2019-03-29 23:30:47.872 | Check python version for : libvirt-python!=4.1.0,!=4.2.0
2019-03-29 23:30:49.354 | WARNING: Did not find python 3 classifier for remote package libvirt-python!=4.1.0,!=4.2.0
2019-03-29 23:30:49.815 | + inc/python:pip_install:353 : local install_test_reqs=
2019-03-29 23:30:49.818 | + inc/python:pip_install:354 : local 'test_req=libvirt-python!=4.1.0,!=4.2.0/test-requirements.txt'
2019-03-29 23:30:49.820 | + inc/python:pip_install:355 : [[ -e libvirt-python!=4.1.0,!=4.2.0/test-requirements.txt ]]
2019-03-29 23:30:49.822 | + inc/python:pip_install:363 : sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/old/requirements/upper-constraints.txt 'libvirt-python!=4.1.0,!=4.2.0'

We should be looking up the package name correctly by splitting off the blacklisted versions:

package=$(echo $package_dir | grep -o '^[.a-zA-Z0-9_-]*')
python3_classifier=$(check_python3_support_for_package_remote $package)

$ echo libvirt-python!=4.1.0,!=4.2.0 | grep -o '^[.a-zA-Z0-9_-]*'
libvirt-python