PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 24th of January, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[09:03:06] <FiNaLsPY> HI, i'm new to Python, I'll have to do some stuff with matplotlib. I saw someone install script that did an apt install and then a pip install. This sounds weird to me. Afaik I can install it on my linux with : "pip install matplotlib" or "apt-get install python3-matplotlib". But why would I need to do both ? Won't it led to some troubles ? Can someone explain me why would I need both install or the advantages/drawbacks from one
[09:03:06] <FiNaLsPY> over the other ?
[09:10:13] <energizer> FiNaLsPY: sometimes packages have system-level dependencies that are installed with apt. you don't usually see people installing the same package with both tools though
[09:18:29] <FiNaLsPY> !logs
[09:18:29] <pmxbot> http://kafka.dcpython.org/channel/pypa
[15:16:25] <tos9> Is there a post PEP51{7,8} world equivalent of `setup.py --version`?
[15:16:58] <tos9> (I.e. given a directory with pyproject.toml, rather than a specific built dist probably, asking for a version)
[15:35:56] <ngoldbaum> FiNaLsPY: if you were building matplotlib from source you're need a number of system libraries on debian
[15:36:27] <ngoldbaum> if not then you're right, you wouldn't need to install any system packages, there are already matplotlib binaries available via pip that will work on ubuntu/debian/whatever
[19:12:51] <pombreda_> Is there a way to craft a single PyPI download url without knowing its blake checksum? e.g. as in https://files.pythonhosted.org/packages/pandastable-0.12.1.tar.gz more or less?
[19:13:00] <pombreda_> and not as in https://files.pythonhosted.org/packages/1a/b7/bf7c9432e624b1cb7833cb292cc7d75bc72fc46810501cc9349e2f7c01dd/pandastable-0.12.1.tar.gz
[19:13:17] <pombreda_> (say I nly know the filename)
[19:13:27] <pombreda_> *only
[19:14:11] <ngoldbaum> pombreda_: yes, there's a different URL pattern with stable names, one sec
[19:14:22] <pombreda_> ngoldbaum: thanks :P
[19:14:36] <ngoldbaum> https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
[19:14:43] <pombreda_> yummy :)
[19:15:12] <ngoldbaum> e.g. https://pypi.io/packages/source/p/pandastable/pandastable-0.12.1.tar.gz
[19:16:58] <pombreda_> ngoldbaum: perfect!
[19:17:32] <pombreda_> I guess that works only sanely for sdist ... not wheeeeeels :P
[19:19:43] <ngoldbaum> yeah, dunno if there's a stable URL scheme for wheels
[21:06:52] <tos9> Is there a way to print out the values of all the PEP496 markers on a given interpreter