[14:37:38] <toad_polo> To all who are interested, I have posted the official announcement of the PyCon US 2020 Packaging Summit on discourse: https://discuss.python.org/t/pycon-us-2020-packaging-summit-registration-and-topic-proposal/3341
[17:50:57] <pyusr> i'm trying to figure out where to complaint about it, and who should be fixing it
[17:52:08] <pyusr> (i have a detailed bug report with an easy docker reproducable, but i dont know where to put it)
[17:52:27] <nicksloan> I think you need to give more details. I'd say that sounds like an Ubuntu issue based on what you've said so far
[17:52:37] <pyusr> but ubuntu always fork their stuff, and they never fix
[17:53:45] <pyusr> basically if your workflow on ubuntu 16.04 invololves apt-get install python-virtualenv, then creating a virtualenv using that package, it will use the bootstraped ubutnu version of pip 8. virtualenv installes setuptools, because pip 8, it will get the python 3 only version, and from them on your virtualenv is borked
[17:53:47] <nicksloan> maybe pastebin/gist the issue report you would file and link it here
[17:55:22] <nicksloan> also, I'm really not an expert here, so I won't likely be able to give you a solid answer on anything, but I think sharing the whole report will give others in here what they need to try to help you
[17:57:02] <pradyunsg> pyusr: file an issue on github.com/pypa/packaging-problems
[18:30:03] <ngoldbaum> i bet it doesn’t happen if you update pip first
[18:30:13] <pradyunsg> pyusr: thanks! It's midnight where I'm at right now, so I'mma head to bed. Chances are someone else would take a look before I would. :)
[18:30:33] <ngoldbaum> pip 8 isn’t new enough to know about the necessary metadata that would prevent the latest version of setuptools from being installed
[18:30:54] <pyusr> yeah, but popular workflow is not not workign anymore
[18:31:05] <ngoldbaum> presumably canonical needs to backport that to their version of pip
[20:15:37] <toad_polo> This is one of the known problems with LTS distros. They do their own weird stuff to their packages and the support burden ends up falling on upstream maintainers who can't do much if anything about it.
[20:17:03] <sangy> ehh, i think there are friendlier ways to say that fwiw
[20:17:06] <pyusr> techalchemy: when you are talking to ubuntu people, what are they saying ?
[20:17:15] <toad_polo> If your LTS distro's version of pip is not able to work with today's version of PyPI, the support needs to come from the LTS distro, not the people who fixed this years ago.
[20:19:46] <techalchemy> pyusr, you are on an old version of the platform using old software where I'm sure few resources are being allocated. I dont know the people who packaged virtualenv; I did mention the problem
[20:19:53] <ngoldbaum> pyusr: canonical is the company that backs ubuntu development
[20:20:22] <pyusr> techalchemy: yeah, but it's a supported one, which has a basic expentcy of CI / CD builds not failing for example
[20:20:30] <toad_polo> In any case, upgrading pip in your virtual env as part of the first command you run seems like a very simple solution and if it works it's remarkably unlikely anyone on the python packaging side will do anything further about it.
[20:21:04] <techalchemy> it's not a new problem though, which is why I know you can use --no-download when creating the virtualenv to avoid the automated install attempt when making a virtualenv (which thus avoids the failure)
[20:21:22] <sangy> ^ also has a nice add on reproducibility
[20:21:25] <techalchemy> then you can upgrade pip and then you are free to upgrade whatever
[20:21:58] <toad_polo> Plus they can't do anything about it because the lever they mostly control is what code goes in new versions of these packages, and since those versions are all frozen there's nothing much to do.
[20:22:10] <sangy> I'm curious though, so pip calls pypi and says "give me setuptools" and pypi answers with "yeah, you should get 45.0.2" and nowhere there's any discrimination about the client running on py2?
[20:22:37] <techalchemy> pip just requests a list of packages from pypi, which is just a webserver
[20:22:44] <techalchemy> the communication is hardly that sophisticated
[20:22:57] <techalchemy> pip then filters the list of packages to what it determines is ok to install
[20:23:28] <sangy> right, so shouldn't it 1) download the simple indeces (which iirc have a bunch of versions of the package) and 2) filter until it finds something that's satisfiable?
[20:23:46] <techalchemy> oh sure, that's what it does
[20:23:47] <ngoldbaum> and sufficiently old versions of pip don't know about the extra metadata that's in the package that says what versions of python the package supports
[20:23:59] <ngoldbaum> that was added in pip 18 iirc
[20:25:43] <techalchemy> i mean we (i.e. canonical) still ships pip 18
[20:31:25] <pyusr> people don't understand what's enterprise CI/CD stuff...
[20:32:08] <techalchemy> are you paying for a support contract?
[20:32:31] <techalchemy> if you have enterprise ci/cd support with canonical i'm sure they will find a way to help you
[20:32:58] <pyusr> i would hope that LTS means that nothing should be broken by system packages
[20:33:14] <pyusr> and no since we never had a reason to
[20:33:23] <pyusr> but i'm sure we aren't the only one hit by this issue
[20:34:29] <techalchemy> well if you want to move the issue forward you'll need to address it with canonical, everyone in this channel is a volunteer who works on python packaging in their spare time for free
[20:35:05] <ngoldbaum> could also consider upgrading to a newer LTS distro, doesn't 16.04 go EOL in april?
[20:35:14] <techalchemy> canonical LTS does have enterprise support though I suspect they won't invest much effort fixing something that is basically dead
[20:35:39] <techalchemy> (unless, again, you were a customer, in which case from my experience they would do basically whatever you need)
[20:39:01] <techalchemy> oh that's the 'extended security maintenance' bit
[20:39:42] <sangy> pyusr: I've personally found that updating to more recent toolchains to be beneficial in *many* ways. E.g., a project that I work on was a hell to make work on certain ubuntu versions because they were still shipping gnupg <2.0 (which was ancient)
[20:39:57] <techalchemy> so from 2021-2024 you can (through 'ubuntu advantage') pay for 'extended security maintenance' (or as an individual you can enroll 3 machines in ubuntu advantage for free I think)
[20:41:07] <pyusr> sangy: there are production systems which run ubunt u14.04 with docker and kubernetes from 5 years ago :)
[20:41:21] <pyusr> you have no idea what goes on in the enterprise world