New setuptools (>=8.0) breaks with versions used in older versions of
things. Specifically .gshortsha1 source identifiers do not parse and are
sorted as coming before all other versions. Using <8.0 at least unwedges
us then we can work on backporting changes to use newer pbr which will
use +gshortsha1 which sorts properly.
Change-Id: Iae98d9d7e97b81955cafe1b88022133e6902e551
| ... | ... |
@@ -31,10 +31,10 @@ function unfubar_setuptools {
|
| 31 | 31 |
# this is a giant game of who's on first, but it does consistently work |
| 32 | 32 |
# there is hope that upstream python packaging fixes this in the future |
| 33 | 33 |
echo_summary "Unbreaking setuptools" |
| 34 |
- pip_install -U setuptools |
|
| 34 |
+ pip_install -U "setuptools<8.0" |
|
| 35 | 35 |
pip_install -U pip |
| 36 | 36 |
uninstall_package python-setuptools |
| 37 |
- pip_install -U setuptools |
|
| 37 |
+ pip_install -U "setuptools<8.0" |
|
| 38 | 38 |
pip_install -U pip |
| 39 | 39 |
} |
| 40 | 40 |
|