openstack-tox-py37 is failing on tripleo-ansible jobs (train branch) - setuptools error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-ovn |
Fix Committed
|
Undecided
|
Fernando Royo | ||
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
openstack-tox-py37 tests are failing on tripleo-ansible jobs run on the train branch with the following error:
2022-02-24 21:40:44.981541 | ubuntu-bionic | File "<pip-setuptool
2022-02-24 21:40:44.981567 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981595 | ubuntu-bionic | from setuptools.dist import Distribution
2022-02-24 21:40:44.981622 | ubuntu-bionic | File "<frozen importlib.
2022-02-24 21:40:44.981637 | ubuntu-bionic | File "<frozen importlib.
2022-02-24 21:40:44.981650 | ubuntu-bionic | File "<frozen importlib.
2022-02-24 21:40:44.981663 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981677 | ubuntu-bionic | old(module)
2022-02-24 21:40:44.981690 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981703 | ubuntu-bionic | from ._importlib import metadata
2022-02-24 21:40:44.981716 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981729 | ubuntu-bionic | disable_
2022-02-24 21:40:44.981742 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981755 | ubuntu-bionic | import importlib_metadata
2022-02-24 21:40:44.981768 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981802 | ubuntu-bionic | __version__ = version(__name__)
2022-02-24 21:40:44.981817 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981829 | ubuntu-bionic | return distribution(
2022-02-24 21:40:44.981843 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981874 | ubuntu-bionic | return Distribution.
2022-02-24 21:40:44.981900 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981930 | ubuntu-bionic | dists = resolver(name)
2022-02-24 21:40:44.981956 | ubuntu-bionic | File "/home/
2022-02-24 21:40:44.981980 | ubuntu-bionic | found = self._search_
2022-02-24 21:40:44.981994 | ubuntu-bionic | AttributeError: 'str' object has no attribute 'name'
2022-02-24 21:40:44.982007 | ubuntu-bionic | [end of output]
2022-02-24 21:40:44.982020 | ubuntu-bionic |
There is a related issues open for setuptools:
https:/
The job history is linked below:
Passing jobs have setuptools==60.6.0
Failing jobs have setuptools==60.9.3
Changed in networking-ovn: | |
assignee: | nobody → Fernando Royo (froyoredhat) |
status: | New → Fix Committed |
Changed in tripleo: | |
status: | Triaged → Fix Released |
https:/ /opendev. org/openstack/ requirements/ src/branch/ master/ upper-constrain ts.txt# L640 has
setuptools= ==59.6. 0;python_ version= ='3.6' ==60.9. 3;python_ version= ='3.8'
setuptools=
while the train version:
https:/ /opendev. org/openstack/ requirements/ src/branch/ stable/ train/upper- constraints. txt
has no setuptools version set.