opendevreview | Merged openstack/requirements master: update constraint for tooz to new release 4.1.0 https://review.opendev.org/c/openstack/requirements/+/884751 | 16:09 |
---|---|---|
tonyb | prometheanfire: What's the gentoo equiv of apt-get update && apt-get install python-all? ... Ideally that will use pre-built binaries ... So far I have emerge-webrsync && emerge dev-lang/python but that's going to builds from source and that's slow? | 17:33 |
tonyb | prometheanfire: I'm doing this inside a "stage3" container if that matters | 17:33 |
JayF | tonyb: there are no official prebuilt binary packages for Gentoo | 17:35 |
JayF | tonyb: there used to be some trusted binhosts in the community, but I don't think so anymore | 17:36 |
JayF | tonyb: you *can* use tooling inside gentoo to make your own binary packages for installing on later installs/putting on a binhost/etc, but there's nothing provided other than "yep you gotta compile it" | 17:36 |
frickler | that's why gentoo is so much fun, isn't it? ;) | 17:37 |
tonyb | JayF: Thanks, that's too much effort, I just want to test an ansible role on a bunch of distros | 17:37 |
JayF | tonyb: yeah, but I will say ... stage3 should have python already installed | 17:37 |
tonyb | I guess I'll just build it once and tag the resulting container | 17:37 |
JayF | tonyb: it might be possible to take a stage3 container, make a venv using python-built-in stuiff (e.g. python -m venv instead of `virtualenv`) and go from there | 17:38 |
tonyb | Oh is does | 17:38 |
JayF | portage (emerge) is a python app :D | 17:38 |
tonyb | Now I need to figure out why ansible doesn't think it is | 17:38 |
JayF | what's the role you're testing? if it's public I can look for any red flags, at least | 17:38 |
tonyb | It's an update to a zuul role. Highly doubt there is a problem but I want to test on platforms that seem to be supported ATM | 17:41 |
JayF | makes sense. I think you're going about it the least painful way possible. | 17:41 |
tonyb | I "fixed" ansible /bin/python3 != /usr/bin/python3 | 17:41 |
JayF | Gentoo is borderline a platform more than a distro though, so confirming it works on one config might not confirm for all ... but if someone is running gentoo for zuul in production they probably know that :D | 17:41 |
tonyb | I have a super ugly bash script that pullls like 7-8 containers, installes python if needed and then connects in with ansible to test the role | 17:42 |
* tonyb hopes so :) I'm doing what I consider the acceptable testing expecting SMEs to chime in if I did it wrong ;P | 17:43 | |
tonyb | centos 8 (not stream) took a while to figure out too | 17:44 |
tonyb | JayF: If you're interested https://review.opendev.org/c/zuul/zuul-jobs/+/884935 is the change | 20:01 |
JayF | hard to imagine that breaking | 20:02 |
tonyb | Yeah but I did test that setting 'gentoo_mirror_enabled' behaves as expected | 20:04 |
prometheanfire | tonyb: you have to pick your python version and I don't think there's a official binpkg for python like there is for firefox/chrome/libreoffice | 22:01 |
prometheanfire | tonyb: the gentoo dib image creates binpkgs that it uses when building, I have not used the container target in dib with gentoo as the distro, but I see no hard blockers there | 22:02 |
prometheanfire | the currently available stable pythons (all co-installable) are... 2.7, 3.8 - 3.11 | 22:03 |
prometheanfire | 3.12 beta1 is available, but would take a little extra work | 22:04 |
tonyb | Well JayF pointed out that I don't need to install python anyway ... once I fixed ansible_python_interpreter everything is fine | 22:47 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!