refstack-client setup_env fails with setuptools 45.0.0

Bug #1859633 reported by Jonathan Rosser on 2020-01-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
refstack
Undecided
Unassigned

Bug Description

During setup_env on ubuntu bionic with default options:

<snip>
Collecting msgpack>=0.5.2
  Using cached https://files.pythonhosted.org/packages/ea/31/3c12ea064e9ccf113082dcdb01b683a5540ca3a3e3dbf02c05e9d30ec73f/msgpack-0.6.2-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied: extras in /opt/refstack/.venv/lib/python2.7/site-packages (from python-subunit>=1.0.0->tempest>=14.0.0->python-tempestconf==2.4.1.dev1) (1.0.0)
Requirement already satisfied: python-mimeparse in /opt/refstack/.venv/lib/python2.7/site-packages (from testtools>=2.2.0->tempest>=14.0.0->python-tempestconf==2.4.1.dev1) (1.6.0)
Requirement already satisfied: traceback2 in /opt/refstack/.venv/lib/python2.7/site-packages (from testtools>=2.2.0->tempest>=14.0.0->python-tempestconf==2.4.1.dev1) (1.4.0)
Collecting oslo.context>=2.20.0
  Using cached https://files.pythonhosted.org/packages/f5/21/2d466c9c0146d5d846b52ecde5c628a400cd8602a6550b009da912cd3fd4/oslo.context-2.23.0-py2.py3-none-any.whl
Collecting python-dateutil>=2.7.0
  Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Processing /home/vagrant/.cache/pip/wheels/e0/62/fe/a68c26dff6ed01a86d8a5aa8e01d7687a5a29c7d765af383cb/pyinotify-0.9.6-cp27-none-any.whl
Requirement already satisfied: setuptools in /opt/refstack/.venv/lib/python2.7/site-packages (from jsonschema>=2.6.0->tempest>=14.0.0->python-tempestconf==2.4.1.dev1) (45.0.0)
ERROR: Package 'setuptools' requires a different Python: 2.7.17 not in '>=3.5'
+ cd ..
+ /opt/refstack/.tempest/.venv/bin/python -m pip install /opt/refstack/.tempest
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. 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
Processing ./.tempest
Collecting pbr!=2.1.0,>=2.0.0
  Using cached https://files.pythonhosted.org/packages/7a/db/a968fd7beb9fe06901c1841cb25c9ccb666ca1b9a19b114d1bbedf1126fc/pbr-5.4.4-py2.py3-none-any.whl
Collecting cliff!=2.9.0,>=2.8.0
  Using cached https://files.pythonhosted.org/packages/55/2f/f1484035545a36de978c686b90a6d81c0b09a8e3002faf761737eef54cdc/cliff-2.18.0-py2.py3-none-any.whl
</snip>

Reviewed: https://review.opendev.org/702450
Committed: https://git.openstack.org/cgit/openstack/refstack-client/commit/?id=ccdcb2ed5cc6a3fb3587d151b02f88b4fb756591
Submitter: Zuul
Branch: master

commit ccdcb2ed5cc6a3fb3587d151b02f88b4fb756591
Author: Jonathan Rosser <email address hidden>
Date: Tue Jan 14 14:41:29 2020 +0000

    Bump version of virtualenv download

    This updates the virtualenv release to the latest current which allows
    setup_env to complete without error when setuptools 45.0.0 is present
    in the venv

    Change-Id: I2138409d2adce578764781a1ba481fcbc319c451
    Closes-Bug: 1859633

Changed in refstack:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers