Monday, 2024-02-05

opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Stop using deprecated pkg_resources API  https://review.opendev.org/c/openstack/diskimage-builder/+/90769103:23
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Stop using deprecated pkg_resources API  https://review.opendev.org/c/openstack/diskimage-builder/+/90769103:49
JayFianw: is there a way, in python packaging, to guarantee we never end up zipped up? 15:04
JayFianw: I don't know details around this, was just trying to fix the deprecation and fit the interface docs as I read 'em, and it makes me nervous to introduce something I know will be breaky (new lib w/o the ctxt manager bit) unless we can disable zip installation15:05
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: DNM: CI science around gentoo fixes  https://review.opendev.org/c/openstack/diskimage-builder/+/90775715:21
clarkbJayF: sdists are tarballs which are zipped. I'm not sure I understand your question16:20
JayFThe context is in the pkg_resources pr16:21
clarkbI think what importlib is saying there is that if zipimport is used (which may be implicit via import) you can import things straight out of sdists that haven't been "properly" installed. In the case of dib since dib is referring to its own things this seems highly unlikely. But I guess maybe possible16:26
*** ravlew is now known as Guest171516:29
JayFIt sounds like the ideal patch might be detecting that case and exiting with a message, and then eliminating support for zipfile16:51
JayFand then if that breaks someone, we know exactly how/where/what use case16:52
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Fix various minor issues with Gentoo; make CI pass  https://review.opendev.org/c/openstack/diskimage-builder/+/90775720:33
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Re-enable voting on Gentoo DIB CI job  https://review.opendev.org/c/openstack/diskimage-builder/+/90790420:33
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Fix various minor issues with Gentoo; make CI pass  https://review.opendev.org/c/openstack/diskimage-builder/+/90775720:35
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Re-enable voting on Gentoo DIB CI job  https://review.opendev.org/c/openstack/diskimage-builder/+/90790420:35
JayF^ is ready for your review; we could've gone further (as mentioned in the commit) but we wanted to get to working, push a patch up, and pause :D 20:38
JayFTheJulia: ^ I know we had talked in passing about gentoo-based ramdisk being a candidate for an ultra-slim IPA, this would the starting point for it20:39
JayFI'll also note generally: I'm willing to be a core on DIB and review the generic and gentoo-specific changes if you'd all like.21:00
clarkbI have no problem with that. Will let ianw weigh in before making any changes to corem embership though21:04
JayFThe Gentoo folks are relatively excited about getting this support fixed. Super common workflow in Gentoo, especially on ARM, to prebuild disk images, and the existing way of doing it for them is basically a completely separate config language.21:07
JayFThis is gonna enable them to document use of diskimage-builder for those cases, and it's going to be great21:07
clarkbwhat is with the unset of YACC and LEX env vars? Maybe that is a problem wehn running dib on gentoo and the host gentoo affects the build env?21:17
clarkbthose aren't vars I would expect to be set generally though21:17
JayFI saw that in a self-review and was gonna ask Sam (plz put that ocmment on gerrit)21:36
JayFThere's a nonzero chance it's leftover. I don't even want to know how ridiculous the dev environment looks like for someone who commits as many random gentoo fixes as I see him do lol21:36
JayFhe's over in europe so hopefully resting r/nm21:36
clarkbdone21:36
TheJuliaso clark's question on https://review.opendev.org/c/openstack/diskimage-builder/+/907757/3/diskimage_builder/elements/gentoo/bin/install-packages is also sort of shared by me. Any additional context would be helpful22:01
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Fix various minor issues with Gentoo; make CI pass  https://review.opendev.org/c/openstack/diskimage-builder/+/90775722:06
opendevreviewJay Faulkner proposed openstack/diskimage-builder master: Fix various minor issues with Gentoo; make CI pass  https://review.opendev.org/c/openstack/diskimage-builder/+/90775722:11
JayFcontext provided in the review + in a comment22:20
JayFand as a bonus I spotted an extra mistake and fixed it22:20
TheJulia\o/22:56

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