Tuesday, 2025-10-14

clarkbtonyb: you mean the universal wheels require a newer version of python? that seems like a bug in the package tooling, but I'm also not surprised given the historical behaviors of those packages nad also wouldn't expect upstream to fix it00:36
tonybthe universal wheels themselves are valid.  The problem is that wheels built with "newer" (I don't know exactly what newer means) tools place the dist-info into a folder that is the cannonicaly correct name as opposed to older tools use the package name (oslo_utils vs oslo.utils)[1,2]. 01:42
tonybSo in the older environments even though pip install oslo.utils works, and import oslo_utils is fine.  Some parts (at least pkg_resources) will error out because it can't find the dist-info for oslo.utils which is listed in 'Requires-Dist'.01:43
tonybI don't recall what I was going to add as footnotes [1] and [2]01:44
tonybclarkb: ^^01:44
tonybfor example: `pkg_resources.DistributionNotFound: The 'oslo.messaging>=14.2.0' distribution was not found and is required by neutron-lib`  olso.messaging if very much installed.01:47
Clark[m]I wonder if the pkg_resources replacement works in all cases. Probably too late to switch to fix this issue if so but may be good motivation to keep on the replacement process 01:58
tonybClark[m]: If the issues were confined to openstack/requirements testing, then we could deal with it.  But projects (keystone and designate) hit the problem outside of CI03:19
tonybso fixing it properly will be hard and complex so for caracal I'm a little inclined to just give up.  We also see it in dalmatian so we're going to get out of it altogether.03:21
elodillestonyb: the moving itself won't create releases, but some teams are preparing their final caracal stable releases, hopefully this week as end of next week is the planned transition date: oct 24th. (tip of stable/2024.1 branches will be tagged with 2024.1-eom and NOT the latest release out of the branch. so there should be a moderate number of final releases this week, i'd say)07:15
tonybokay noted.   I'll see what I can do to get things working again07:23
elodillestonyb: to be honest, i tried to look into the issue when octavia reported their related bug ( https://bugs.launchpad.net/octavia/+bug/2121578 ) but i didn't get far with it due to lack of time as we were mostly busy with preparing Flamingo release :S08:28
tonybfair enough.   I have a couple of ideas , ..... well one really. I'm not sure how hard or long it'll take though 08:36
opendevreviewMerged openstack/releases master: Release Rally 5.0.1  https://review.opendev.org/c/openstack/releases/+/96334909:29
*** haleyb|out is now known as haleyb12:59
opendevreviewDmitriy Rabotyagov proposed openstack/releases master: Create OpenStack-Ansible Beta release for Flamingo  https://review.opendev.org/c/openstack/releases/+/96396714:27
opendevreviewDmitriy Rabotyagov proposed openstack/releases master: Release OpenStack-Ansible for Epoxy  https://review.opendev.org/c/openstack/releases/+/96396814:28
opendevreviewDmitriy Rabotyagov proposed openstack/releases master: Release OpenStack-Ansible for Dalmatian  https://review.opendev.org/c/openstack/releases/+/96396914:29
*** gmaan_pto is now known as gmaan16:00
fungitonyb: catching up, it's any packages built with a ~1.5-year-old setuptools or later (v66 i think?), but through a quirk of tooling we had been building with an older setuptools until we switched from calling setup.py directly to using pyproject-build which resulted in using latest setuptools23:49
opendevreviewBrian Haley proposed openstack/releases master: [Neutron] Release a new 2025.2 version: 27.0.1  https://review.opendev.org/c/openstack/releases/+/96409723:49
fungipeople keep re-discovering this problem, i've had this same discussion probably half a dozen times at this point23:51
opendevreviewBrian Haley proposed openstack/releases master: [Neutron] Release a new 2025.1 version: 26.0.2  https://review.opendev.org/c/openstack/releases/+/96409823:53
fungiin other places this bit us, we just switched to looking for both the original and normalized names and take whichever happens to exist23:53
fungisadly, setuptools merged a fix for the problem, but didn't backport it23:54
tonybfungi: That explains what changed, I guess I'm looking for a way forward.   Anything we build+release+publish that needs to work with old/buggy pkg_resources is broken23:55
fungithere was basically one major version of setuptools where it's regressed, and that's where we keep hitting the error23:55
fungibut nobody was able to convince them to do a point release with the backported patch23:56
tonybYeah.   They didn't say no, they just didn't do it.23:56
opendevreviewBrian Haley proposed openstack/releases master: [Neutron] Release a new 2024.2 version: 25.2.1  https://review.opendev.org/c/openstack/releases/+/96409923:56
fungiand yes, it's basically just an unfixed bug in setuptools, so without fixing setuptools anything we do will only be a hacky workaround anyway23:57
fungior rather, unfixed in one major setuptools version23:57
fungiso of course their answer is "just use newer setuptools... oh you're on an (eol) python version that the fixed setuptools doesn't support? you should also upgrade python"23:58
tonybfungi: I guess I'm wondering if its worth updating out tools so that if we're releasing from caracal or dalmation to do $magic, so that we generate wheels that work in those releases.  In theory constraints and other tools mean that we shoudln't use caracal:oslo.* outside of caracal23:59
fungimaybe... we'd probably need to run those jobs on an older platform/python though to be possible23:59

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!