wheelhouse requires pinning of importlib_metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API OVN Plugin Charm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
install hook fails with:
2021-10-27 00:39:23 DEBUG install Collecting importlib_
2021-10-27 00:39:23 WARNING install Could not find a version that satisfies the requirement importlib_
2021-10-27 00:39:23 WARNING install No matching distribution found for importlib_
2021-10-27 00:39:23 WARNING install Traceback (most recent call last):
2021-10-27 00:39:23 WARNING install File "/var/lib/
2021-10-27 00:39:23 WARNING install basic.bootstrap
2021-10-27 00:39:23 WARNING install File "lib/charms/
2021-10-27 00:39:23 WARNING install env=_get_
2021-10-27 00:39:23 WARNING install File "/usr/lib/
2021-10-27 00:39:23 WARNING install raise CalledProcessEr
2021-10-27 00:39:23 WARNING install subprocess.
2021-10-27 00:39:23 ERROR juju.worker.
Running command manually:
ubuntu@
Looking in links: wheelhouse
Collecting wheel==0.33.6
Collecting dnspython==1.16.0
Collecting PyYAML==5.2
Collecting debtcollector=
Collecting idna==3.3
Collecting Tempita==0.4
Collecting charset-
Collecting urllib3==1.26.7
Collecting rfc3986==1.5.0
Collecting oslo.i18n==5.1.0
Collecting charms.
Collecting charms.
Collecting stevedore==3.5.0
Collecting MarkupSafe==1.1.1
Collecting oslo.config==8.7.1
Collecting psutil==5.8.0
Collecting wrapt==1.13.2
Collecting Jinja2==2.10.1
Collecting netaddr==0.7.19
Collecting requests==2.26.0
Collecting certifi==2021.10.8
Collecting netifaces==0.11.0
Collecting charmhelpers=
Collecting zipp==1.2.0
Installing build dependencies ... done
Collecting pbr==5.6.0
Collecting six==1.16.0
Collecting pyaml==21.10.1
Collecting importlib_
Could not find a version that satisfies the requirement importlib_
No matching distribution found for importlib_
Changed in charm-neutron-api-plugin-ovn: | |
milestone: | none → 22.04 |
Changed in charm-neutron-api-plugin-ovn: | |
status: | Fix Committed → Fix Released |
This is a conflict with importlib_metadata and setuptools [1]. The wheelhouse has setuptools 41.6.0 and the last version of importlib_metadata to support <= setuptools 42 is v3.1.0:
https:/ /github. com/python/ importlib_ metadata/ blob/v3. 1.0/pyproject. toml
[1] juju-c22dda- zaza-be92e42daf 69-2:/var/ lib/juju/ agents/ unit-neutron- api-plugin- ovn-0/charm/ wheelhouse$ ls 2.10.1. tar.gz 1.1.1.tar. gz 2021.10. 8.tar.gz 0.20.24. dev2.zip openstack- 0.0.1.dev1. zip reactive- 1.4.1.tar. gz normalizer- 2.0.7.tar. gz 2.3.0.tar. gz 1.16.0. zip metadata- 3.1.0.tar. gz 0.7.19. tar.gz 0.11.0. tar.gz 8.7.1.tar. gz 5.1.0.tar. gz 10.1.tar. gz 2.26.0. tar.gz 1.5.0.tar. gz 41.6.0. zip scm-1.17. 0.tar.gz 3.5.0.tar. gz 1.26.7. tar.gz
ubuntu@
Jinja2-
MarkupSafe-
PyYAML-5.2.tar.gz
Tempita-0.4.tar.gz
certifi-
charmhelpers-
charms.
charms.
charset-
debtcollector-
dnspython-
idna-3.3.tar.gz
importlib_
netaddr-
netifaces-
oslo.config-
oslo.i18n-
pbr-5.6.0.tar.gz
pip-18.1.tar.gz
psutil-5.8.0.tar.gz
pyaml-21.
requests-
rfc3986-
setuptools-
setuptools_
six-1.16.0.tar.gz
stevedore-
urllib3-
wheel-0.33.6.tar.gz
wrapt-1.13.2.tar.gz
zipp-1.2.0.tar.gz