PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Wednesday the 26th of February, 2020

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[01:09:06] <pradyunsg> techalchemy: hehe, I'm surprised you stumbled upon pyyaml's setup.py just now.
[01:09:23] <techalchemy> i've encountered it before
[01:09:33] <techalchemy> i just forgot what a disaster it is
[01:09:55] <techalchemy> i have code somewhere that handles part of it because i think i have it vendored
[01:10:42] <pradyunsg> Check with upstream if they're willing to reduce the... things... that they're doing?
[01:13:23] <pradyunsg> techalchemy: ^
[01:15:33] <techalchemy> it looks like a debian person maintains that package
[01:15:40] <techalchemy> like based on how the setup.py is written
[01:18:26] <techalchemy> nope, no idea
[01:18:57] <techalchemy> how does my AST parser die on #!/usr/bin/env python
[01:35:07] <techalchemy> pradyunsg, https://files.pythonhosted.org/packages/5c/7e/eaa76c75b7001b1dd91a875b10c1b63fb9562e6c2bb12e5c8546177e27ba/azure-storage-0.36.0.tar.gz
[01:35:09] <techalchemy> wtf
[01:35:25] <techalchemy> they literally have invented their own command class, not for any reason
[01:36:49] <techalchemy> my god that is upsetting
[03:58:16] <sangy> techalchemy: that code looks like they added some homebrewed namespacing handling hook for their own repository or so
[13:59:54] <rohitsan> Hi! My name is Rohit. I'd like to contribute to pip as part of GSoC 2020.
[14:01:10] <rohitsan> I was going to create a virtual env to work on pip, but I don't know which Python version to choose. Is the latest (3.8.x) alright?
[14:07:19] <xafer> Hello, 3.8 is alright :)
[14:09:06] <rohitsan> Okay, but when I run- tox -e py36 -- -n auto, I get an error - ERROR: py36: InterpreterNotFound: python3.6
[14:09:14] <rohitsan> I guess I'll need Python 3.6 then?
[14:09:57] <mgedmin> if you want to run tox -e py36, yes, but why not run tox -e py38 instead?
[14:10:41] <rohitsan> Good point! :P
[14:10:55] <rohitsan> Yeah that works. thanks haha
[14:11:03] <mgedmin> a reason to install 3.6 is if you're planning to contribute to some OSS project that requires Python 3.6 compatibility
[14:11:22] <xafer> Like pip ;)
[14:11:24] <mgedmin> then you won't accidentally start using Python 3.8-only features
[14:11:28] <mgedmin> without noticing
[14:11:48] <rohitsan> Okay I might as well just install Python 3.6 to be on the safer side then
[14:13:12] <mgedmin> (pip also supports 3.5 and 2.7, according to the Requires: metadata on https://pypi.org/project/pip/ ;)
[14:13:49] <xafer> Well the CI services (Travis, Azure, etc) are also there to catch those issues so no need to install all suported version of python :)
[14:13:57] <mgedmin> but on a more serious note, their CI will catch any problems when you create a pull request, so the only reason to test all the python versions locally is to get feedback a bit earlier
[14:15:30] <xafer> Yup, 3.8 should be enough to start and only install other versions if you need to debug version specific issues
[14:15:58] <rohitsan> Alright, thanks folks
[14:23:54] <rohitsan> ERROR: InvocationError for command /Users/rohitsanjay/pip/.tox/lint/bin/pre-commit run --all-files --show-diff-on-failure (exited with code 1)_______________________________________________________ summary _______________________________________________________ERROR: lint: commands failed
[14:24:20] <rohitsan> this is the error when I ran `tox -e lint`
[14:24:53] <rohitsan> Does it throw an error if there linting errors?
[14:25:41] <rohitsan> ```ERROR: InvocationError for command /Users/rohitsanjay/pip/.tox/lint/bin/pre-commit run --all-files --show-diff-on-failure (exited with code 1)```
[14:26:15] <rohitsan> Sorry for sending it again, I'm not sure how to format with a new line here
[21:01:53] <EWDurbin> it seems pypa.io has MX records for what appears to be fastmail, does anyone know who set that up/manages it?
[21:08:35] <cooperlees> :O
[22:09:20] <travis-ci> pypa/twine#1312 (master - fb03835 : Brian Rutledge): The build passed.
[22:09:20] <travis-ci> Change view : https://github.com/pypa/twine/compare/613a6f641fdefb815f6ad9cd20ee98220c5529c5...fb03835ebf124ed2f9a447a5f0bd607c283172fb
[22:09:20] <travis-ci> Build details : https://travis-ci.org/pypa/twine/builds/655560857