stack.sh downgrades pbr if old dependencies are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu 14.04.
$ pip list | grep -E "(pip|pbr|
pbr (1.2.0)
pip (7.0.3)
setuptools (18.0)
$ ./stack.sh
...
Collecting pbr!=0.7,<1.0,>=0.6 (from keystonemiddlew
Using cached pbr-0.11.
...
Installing collected packages: pbr
Found existing installation: pbr 1.2.0
Uninstalling pbr-1.2.0:
Successfully uninstalled pbr-1.2.0
Successfully installed pbr-0.11.0
...
$ pip list | grep -E "(pip|pbr|
pbr (0.11.0)
pip (7.0.3)
setuptools (18.0.1)
Downgrading pbr to 0.11.0 leads to the following well-known error:
Complete output from command python setup.py egg_info:
error in setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in python-
Workaround
==========
export PIP_UPGRADE=True before running stack.sh
Changed in devstack: | |
status: | New → Confirmed |
description: | updated |
summary: |
- stack.sh downgrades pbr + stack.sh downgrades pbr if old dependencies are present |
This is causing our builds to fail, also.