Openstack Docs TOX job is broken too: https://zuul.opendev.org/t/openstack/build/e6668bca1a784339a862b31cfdb6aa32 On Mon, Feb 9, 2026 at 2:51 PM Stephen Finucane <stephenfin@redhat.com> wrote:
Hey all,
I've just noticed that setuptools v82.0.0 released todayish and breaks a bunch of Kolla builds (and probably other things) by removing
On Mon, 2026-02-09 at 18:49 +1100, Michael Still wrote: pkg_resources. https://setuptools.pypa.io/en/stable/history.html#v82-0-0 has further details of the release.
setuptools doesn't seem to be listed in upper-constraints, perhaps
because it's often provided as a distro package?
Michael
We're seeing this on projects outside of opendev also, such as ORC [1]. The vast majority (though not all, as Takashi notes) of these are due to use of old versions of pbr. These issues are all resolved in recent pbr releases [2]. While we could bump the pbr constraint in upper- constraints for these stable branches, I think it would be wiser to pin setuptools as part of the devstack global venv creation since there were more users of pkg_resources that have only been removed in recent releases. I've proposed devstack changes to do just this for the affected stable branches, which you can find here [3].
Cheers, Stephen
[1] https://github.com/k-orc/openstack-resource-controller/actions/runs/21818364... [2] https://review.opendev.org/q/project:openstack/pbr+topic:pep517 [3] https://review.opendev.org/q/topic:%22pin-setuptools%22+owner:stephenfin@red...
-- Regards, Maksim Malchuk