PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Thursday the 10th of October, 2019

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:11:41] <pombreda> dbrgn: btw, unrelated do you know of a good Arch PKGBUILD parser on Python ?
[09:11:48] <pombreda> *in Python
[09:18:19] <pombreda_> I reckon this is shell... but there may be some specialized helpers?
[17:15:05] <dolang> hi
[17:15:30] <dolang> i have a question on get-pip.py and am not sure if this is a bug or if i'm doing something unintended
[17:16:44] <dolang> i've tried using get-pip.py to user-install pip on a linux mint tina (ubuntu bionic) and specifically, with the deadsnakes python3.8
[17:17:42] <dolang> in order to not clobber my .local/bin, i've decided to run get-pip.py like this:
[17:18:09] <dolang> python3.8 get-pip.py --user --install-option="--install-scripts=$HOME/.local/lib/python3.8/bin"
[17:18:54] <dolang> which ends in an error: ModuleNotFoundError: No module named 'setuptools'
[17:19:29] <dolang> which happens even if i do it like this: python3.8 get-pip.py --user --no-setuptools --no-wheel --install-option="--install-scripts=$HOME/.local/lib/python3.8/bin"
[17:19:48] <dolang> although on the website it says get-pip.py doesn't depend on setuptools anymore
[17:20:26] <dolang> i've installed python3.8 using the deadsnakes PPA, and like this: sudo apt install python3.8{,-distutils}
[17:20:33] <dolang> so distutils is present
[17:25:30] <dolang> the idea here is to user-install a few basic packages and manually manage my .local/bin through symlinks. that way i don't have to system-install anything e.g. in /opt and can still have several python version around
[17:36:35] <ngoldbaum> i don't know the answer to your question, someone else might, but can you not use ensurepip?
[17:55:12] <dolang> haven't actually tried that, good idea. didn't even remember that was a thing too ^^
[17:56:14] <energizer> dolang: i've switched to using pyenv for installing python versions, so i don't have to worry about system python
[17:57:45] <dolang> only seen that mentioned in places, but haven't actually tried it myself. i'll check that out, too
[18:04:18] <dolang> alright, looks like ensurepip is not part of those packages (py3.8/-distutils)
[19:56:06] <toad_polo> I am firmly on the "system python is the python for the system" train.
[19:56:29] <toad_polo> It doesn't have to be that way, but almost all system packagers do a terrible job, so pyenv is the way to go.
[19:58:01] <tdsmith> it's the only train
[20:25:51] <ngoldbaum> dolang: ah debian yeah they really don't want you to use pip, i'd also suggest pyenv