/srv/irclogs.ubuntu.com/2018/05/03/#ubuntu-devel.txt

coderangerHey there, what's the best way to get in contact with the Python maintainer team for Ubuntu? Because the Python 3 packages for 18.04 are all kinds of broken right now.01:07
sarnoldcoderanger: best is to file a bug report with ubuntu-bug <packagename>01:08
coderangerNo, I need to talk to them directly.01:08
coderangerThis isn't a bug, it's a structural failing somehow01:08
coderangerAfter Barry left, I'm not sure who took over01:08
coderangerIt looks like someone decided to move distutils and venv into their own packages, which is fine, but then they never reworked things so python3.6 or one of the related stdlib packages depends on them.01:10
coderangerdoko: Looks like the package files say you're it :)01:11
coderangerdoko: Hopefully this was just an oversight and we can get it cleaned up easily.01:14
coderanger(3AM there, rats)01:15
nacccoderanger: we fixed most of them, pre-release, iirc05:17
coderangernacc: Yeah, looks like distutils was fixed upstream right around feature freeze, so might have just been missed :)05:17
tarzeauwe use ubuntu 18.04 with d-i, and 5 out of 10 installations hanged at the "update-grub" screen 66%, and alt-f4 showed os-prober. kill -9 `ps06:31
tarzeau|grep mounted` made it go further. any ideas?06:31
tarzeaui have images i can post by imessage (or email) if anyone cares06:32
=== stgraber_ is now known as stgraber
tkamppetermdeslaur, I do not know anything wrong with QPDF 8.0.2, please go ahead and do the update.12:26
sergiusensdoko: where can I get a chroot/lxd image to test the adt failure?12:40
dokosergiusens: I don't think we already have cosmic images12:41
dokoinfinity, Odd_Bloke: ^^^12:41
Odd_BlokeWe do not yet have cosmic images.12:41
infinitysergiusens: Boot bionic image, 'sed -i -e "s/bionic/cosmic/g" /etc/apt/sources.list && apt-get update && apt-get dist-upgrade', congrats, it's cosmic.12:42
infinitysergiusens: But yes, no lxd images yet, AFAIK (not my department).12:42
sergiusenswfm12:45
Laneysergiusens: you can pass RELEASE=cosmic to autopkgtest-build-lxd to build a bionic image and then dist-upgrade it12:50
Laneythat's what we did to get the actual ones that are running12:50
infinityOr that.12:50
infinityLaney: Your suggestion offended him right off IRC.12:51
LaneyENOBRAINSPC12:52
sergiusensthanks Laney, will look at that next13:19
nacccoderanger: ah could be15:34
infinitycoderanger: distutils not being installed by default is a feature, not a bug.  If there are still things in the archive that (incorectly) depend on it at runtime, please file bugs.  If you have things locally that do, either fix them or install it, IMO.16:34
infinitytarzeau: Filing a bug on debian-installer with reproduction info would be helpful.  Assuming you're using our d-i build and not a custom one.16:36
coderangerinfinity: That 1) breaks how Python is supposed to work and 2) implies that people mostly install Python apps via apt rather than the python-native system. Distutils is an important part of the stdlib and I'm not really sure why it would be specifically carved out. There are exceptions in place for stuff like Tk where it's in the stdlib but installing it requires a lot of support libs, but distutils is pure python soooooo16:36
cjwatsonfg16:52
cjwatsonoops16:52
coderangerinfinity: There is also the pythonX-minimal packages for people that want to opt-in to a reduced view of the world :)16:53
infinitycoderanger: By the "python-native system", do you mean setuptools (which depends on distutils) or pip (which recommends setuptools), or something else?16:56
coderangerpip, which is not always installed via apt16:56
coderangerBasically it's weird that `apt install python3` doesn't result in a fully-functional python environment (modulo that "fully-functional" is a very loaded term and as mentioned there have been good reasons in the past to punt some small bits of the stdlib out of the default package set)16:57
jbichacoderanger: totally off topic, but did you see https://xkcd.com/1987/ yet?16:57
coderangerEspecially since this is a change from the debian version of the same packages16:57
infinitycoderanger: Anyhow, the change seemed sensible to me, but feel free to file a bug and/or yell at doko.  Same changes landed in Debian first, so perhaps best to argue the case with him in the Debian BTS.16:57
coderangerjbicha: I can neither confirm nor deny ... O:-)16:57
coderangerinfinity: Yep, put some in last night :)16:58
infinitycoderanger: It's not a change from Debian, Debian's got the same setup in unstable.16:58
coderangerAhh okay, I wasn't sure how to read that part of the changelog.16:59
infinityjbicha: See, I'm more inclined to say "I prefer to use a non-packaged package manager, but have it magically work with the packaged language runtime" is https://xkcd.com/1172/17:00
infinityBut I also despise all things python, especially the way its ecosystem is managed, so I'll bow out from the conversation. :P17:01
coderangerinfinity: It's the continual tension between distro packages as the most available option and the conflict of distro vs. upstream bundling policies :)17:01
infinitycoderanger: Sure, I get that language ecosystems and distro packaging will always be at odds, but it seems daft to use a non-packaged pip when a packaged one is designed to work with the packaged runtime, IMO.17:02
coderangerinfinity: My specific case is I maintain the Chef ecosystem support for Python so I want to install pip from source to get the same behavior across all OSes.17:03
coderangerTooling dislikes special cases :D17:03
infinity(Though I also understand that, in the past, the packaged pip and venv didn't really work right on Debian, and maybe that's led to all sorts of curious practices)17:03
coderangerThere also appears to be an odd mismatch where python3-dev depends on distutils, but python3.6-dev does not17:04
infinitycoderanger: That's definitely by design.  pythonX.X-dev is meant for C-linking (ie: building modules), while python3-dev/python-dev are meant for building extensions, hence the deps on all supported python versions and distutils and dh-python.17:06
infinitycoderanger: Not voicing an opinion on if that was "right", but that's how it's been pretty much forever.17:07
coderangerFair :)17:07
coderangerThe whole design of the debian python layout is definitely showing its age17:07
coderangerSome day Python 2 will die and we can all have the nice things, right?17:07
* coderanger looks around nervously17:07
infinity2020.17:07
infinityNot sure that'll suddenly make python3 nice, but it can't make it worse.17:08
coderanger2025 because LTS :)17:08
coderangerThough I'm sure RHEL 6 will find a way to make everything terrible forever, as its job.17:09
infinityRHEL5 is still making things terrible forever, nevermind 6.17:09
tarzeauinfinity: we're using yours, however i have no idea how to reproduce, we'll try to figure out (maybe the old 16.04 install on the disk causes it), however it only happened on about 50% of the machines18:47
tarzeaui'll try to find the launchpad bugs page for d-i ubuntu 18.04 and post the console screenshots there18:47
dokoinfinity, just fyi, there are no differences between Debian and Ubuntu19:15
tarzeaumhm, we use the preseeded d-i with stretch and xenial, no problems. but since 18.04 half of my installs hang as described19:21
tarzeauwe do have lvm and btrfs/xfs/ext4 (and i'm not sure if the problem is with update-grub or os-prober)19:22
tarzeauif it helps anyone i can post the photos more early and try to debug later19:22
tarzeaubut it seems, we're the only ones with that problem, otherwise i would have found some other reports on the interweb19:22
infinitytarzeau: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+filebug19:40
infinitytarzeau: If you're using a preseed, attaching that (with any private info scrubbed) would be super helpful.19:41
infinitytarzeau: Also, /var/log/syslog from one of the systems at the point where it stalls.19:41
infinitytarzeau: (Or grab it later from /var/log/installer once you kill and finish)19:41
shiftplusoneWould anyone (chrisccoulson?) happen to know how where the orig tarballs for chromium come from?19:44
shiftplusoneah, https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$(ORIG_VERSION).tar.xz actually works19:46
cyphermoxtarzeau: any chance it's on a really really really huge disk?20:36
cyphermoxtarzeau: I'd be very interested in seeing a bug report with the details20:36
=== nOOb__ is now known as LargePrime
sarnoldbdmurray: 1768866 is the second bug I've seen with "PythonDetails: /root/Error: command ['which', 'python'] failed"22:32
sarnoldbdmurray: is /root/Error really being constructed? it feels a bity funny. I can't say it's wrong, but it doesn't feel right :)22:33
sarnoldbdmurray: is this working as intended? or is something else at play?22:33
bdmurraysarnold: They probably don't have python installed so the python details bit is poorly constructed22:35
sarnoldbdmurray: thanks, that's probably fine then :)22:38

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!