Review need to pin zipp to < 2.0.0

Bug #1862186 reported by Alex Kavanagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Octavia Charm
Triaged
Medium
Unassigned

Bug Description

python-zipp (a 2nd level dependency) recently updated to 2.0.x which introduced setuptools requrirement of > 42. However, the rest of the build is at setuptools 41. python-zipp has been pinned in the wheelhouse.txt to < 2.0.0 so that the charm will install. This should be reviewed during the next development cycle.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to charm-octavia (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/706472

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to charm-octavia (master)

Reviewed: https://review.opendev.org/706472
Committed: https://git.openstack.org/cgit/openstack/charm-octavia/commit/?id=d56ce02b548d9870749a689c7f91fed27627ebff
Submitter: Zuul
Branch: master

commit d56ce02b548d9870749a689c7f91fed27627ebff
Author: Alex Kavanagh <email address hidden>
Date: Fri Feb 7 11:13:51 2020 +0000

    Add bug note to wheelhouse.txt to track pinning of python-zipp

    This patch adds a bug note to track the unpinning of zipp.

    (Note the bug is related, as closing the bug will be when zipp can
    be unpinned.)

    Change-Id: I2769f91c85da758566935680048615a0b5641d6c
    Related-Bug: #1862186

Andrew McLeod (admcleod)
Changed in charm-octavia:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Corey Bryant (corey.bryant) wrote :

I don't know if this is related but deploying a newly built octavia charm is resulting in:

2020-07-14 15:54:30 DEBUG install No local packages or working download links found for setuptools_scm>=3.0
2020-07-14 15:54:30 DEBUG install Traceback (most recent call last):
2020-07-14 15:54:30 DEBUG install File "<string>", line 1, in <module>
2020-07-14 15:54:30 DEBUG install File "/tmp/pip-install-wv9a0xkw/cmd2/setup.py", line 85, in <module>
2020-07-14 15:54:30 DEBUG install extras_require=EXTRAS_REQUIRE,
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/setuptools/__init__.py", line 144, in setup
2020-07-14 15:54:30 DEBUG install _install_setup_requires(attrs)
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
2020-07-14 15:54:30 DEBUG install dist.fetch_build_eggs(dist.setup_requires)
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/setuptools/dist.py", line 720, in fetch_build_eggs
2020-07-14 15:54:30 DEBUG install replace_conflicting=True,
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 782, in resolve
2020-07-14 15:54:30 DEBUG install replace_conflicting=replace_conflicting
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1065, in best_match
2020-07-14 15:54:30 DEBUG install return self.obtain(req, installer)
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1077, in obtain
2020-07-14 15:54:30 DEBUG install return installer(requirement)
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/setuptools/dist.py", line 787, in fetch_build_egg
2020-07-14 15:54:30 DEBUG install return cmd.easy_install(req)
2020-07-14 15:54:30 DEBUG install File "/var/lib/juju/agents/unit-octavia-0/.venv/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
2020-07-14 15:54:30 DEBUG install raise DistutilsError(msg)
2020-07-14 15:54:30 DEBUG install distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm>=3.0')

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Tracking comment #3 in another bug, it is a separate issue: https://bugs.launchpad.net/charm-octavia/+bug/1887567

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.