Thursday, 2024-02-15

*** jph5 is now known as jph13:45
opendevreviewGhanshyam proposed openstack/project-config master: End gate and update acl for retiring openstack-chef projects  https://review.opendev.org/c/openstack/project-config/+/90913420:59
JayFI'm not exactly suggesting we do it, but I'm extremely curious if https://astral.sh/blog/uv could have a meaningful impact on runtime for tox jobs21:29
JayFactually, I can probably test that locally... maybe a fun Friday project21:30
fungii'm following the discuss.python.org topic on it, waiting to see when the obvious bugs are ironed out21:31
fungiJayF: so far someone said extras didn't seem to be working21:32
fungialso concerns were raised that the `uv pip install ...` invocation could lead to user confusion, so i wouldn't assume the cli syntax is set in stone just yet21:32
JayFI mean, even if it's a good idea it's much too early, obviously21:34
fungibut overall it will be interesting to see if there are really any substantial performance gains. i won't be surprised if speedups are just in areas that aren't particularly noticeable, for example when there's no wheel available it's not going to make an sdist build happen any faster21:34
JayFI'm just curious as to if package install/resolution performance is something that matters enough fo rus to even care21:35
JayFexactly21:35
clarkbalso constraints makes dep solving much quicker than it would be without constraints21:38
fungigood thing about zuul is speculative testing, you can try to adjust the roles that install and invoke pip and then run other jobs with a depends-on to that series and check for comparative task/playbook/job duration vs what's using pip21:38
clarkbsimilar to how openstack was also the only thing seeing the pypa index errors we're isolated from a lot of dep solver madness21:39
JayFI'll note similarly, their other tool, ruff, is awesome ... but our use of hacking, and it not supporting all the config styles we use makes it tough22:26
JayFthese tools that cover 95% of the use case; we almost always have something in the 5%22:26
fungisuch is openstack22:38
JayFI mean, yeah. There's a reason we were out in front on these features: you need 'em to solve the kinda problems you have with literally hundreds of integrated python repos22:54
fungiwe were the reason for some of the current features in popular python packaging tools22:54
fungiwe don't talk about that enough22:54
fungifor example, pip's constraints feature was implemented by openstack contributors22:55
fungiformer and current pypi maintainers were also openstack contributors, and our use cases informed design choices there22:56
JayFI talk about it frequently in channels where there aren't other folks to say it :)23:18
clarkbI'm a fan of trading overly specific things like special hacking rules for someone else writing a tool that is 95% of the way there23:58

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