Oh, well, totally, we do install wheels. But then... In suggested series of patches "wheels" is defined in pyproject.toml, ie patch for the keystone [1] Which means that it will get installed as well. Like I kinda get that we wanna pyproject.toml to exist to support PEP 517, but then I'm not sure I understand how removal of wsgi scripts [2] is really required? Or we add wheels there just for transition to remove it later? As like in nova patch [3] I already don't see wheels. Sorry for these stupid and obvious questions, but I am apparently severely lagging behind this topic. As I persuaded is - there's no way to build/install services with wsgi-scripts starting from pip 23.1 and that appeared to be only partially like that. As like reading to the PR introducing removal of behaviour [4], it kinda feels that installing `wheel` is pretty much an "assumed" way of package installation? Which lead me to a faulty impression, that what we're fighting with right now might be just a specific way how devstack performs installation and might be that is what might be adjusted instead of removing wsgi-script? I totally get that my assumption is totally wrong in many places, but as I said - I'm lagging behind on this topic, unfortunately, and trying to catch up. [1] https://review.opendev.org/c/openstack/keystone/+/899519/4/pyproject.toml [2] https://governance.openstack.org/tc/goals/proposed/migrate-from-wsgi-scripts... [3] https://review.opendev.org/c/openstack/nova/+/899753/11/pyproject.toml [4] https://github.com/pypa/pip/issues/8559 On Sat, May 4, 2024, 16:03 Mohammed Naser <mnaser@vexxhost.com> wrote:
Could it be that you have wheel installed?
https://github.com/pypa/pip/issues/8559
Get Outlook for iOS ________________________________ From: noonedeadpunk@gmail.com <noonedeadpunk@gmail.com> Sent: Saturday, May 4, 2024 4:35:21 AM To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: Re: [all][packaging][release][qa][tc] pep-517 and pip 23
Hey,
Sorry, I'm getting slightly confused about this topic right now as I don't understand how we made our process work with PIP 23.3.2 on Caracal while still using WSGI path...
So I've pinned PIP to 23.3.2 for OpenStack-Ansible out of interest basically, but realized everything works with zero changes to anywhere.
Firstly, I thought that it's because we do build wheels in our own, which potentially can workaround temp wheel build by pip. But then I've realized that we have bunch of jobs that explicitly skip wheel build, and they're passing as well.
So question is - what I'm really missing? Or well, why I have impression that it works?:) As it seems that pyproject.toml implementation is not merged yet according to [1].