PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 13th of March, 2018

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:45:11] <steveoh> hello, with the recent changes to homebrew my virtualenv seems to be referencing an old location for python. Can anyone help me figure out how to fix this?
[00:45:34] <steveoh> trying to use virtualenv it outputs /usr/local/bin/virtualenv: bad interpreter
[00:46:25] <steveoh> i can't run virtualenv --version
[00:46:37] <sumanah> Hi steveoh
[00:46:47] <steveoh> :wave:
[00:46:48] <tdsmith> you should be able to reinstall it with pip; try pip3 install --upgrade --force-reinstall virtualenv
[00:47:21] <steveoh> i get a permission error tdsmith unless i use the --user flag
[00:47:30] <steveoh> do i need to sudo?
[00:47:55] <tdsmith> steveoh: the cleanest "homebrew way" is to reset permissions on /usr/local with `sudo chown -R $USER /usr/local/*`
[00:48:07] <tdsmith> and then pip should be able to handle it
[00:48:53] <steveoh> thanks tdsmith
[00:49:10] <tdsmith> you're welcome!
[01:43:45] <sumanah> ericholscher: hey, I'd be interested in talking with you about https://github.com/pypa/warehouse/issues/582#issuecomment-365010567
[13:11:44] <sumanah> A friend of mine asked: " I'm really excited about the prospect of _easy_ python packaging. Is there somewhere I can follow all the activities in the area?"
[13:11:55] <sumanah> and continued:
[13:11:57] <sumanah> "I guess what I most want, actually, is a mostly up-to-date glimpse of the near future (or present if I'm willing to use or test tools in progress). It seems like there's a lot going on, and resources online are really varied in how accurately they reflect the reality in 2018. This is a tough resource to have and maintain though. :-("
[13:16:25] <toad_polo> Am I right in understanding that PEP 314 does not provide a Maintainer: and Maintainer-Email: metadata field?
[13:16:38] <sumanah> hi toad_polo
[13:16:44] <toad_polo> https://www.python.org/dev/peps/pep-0314/#author-optional
[13:16:57] <toad_polo> o/
[13:18:21] <sumanah> toad_polo: so I see a later PEP says: https://www.python.org/dev/peps/pep-0345/#maintainer-email-optional
[13:18:33] <sumanah> toad_polo: but that's 345, not 314
[13:19:01] <sumanah> toad_polo: does that help? not sure whether you are specifically looking for PEP 314 compliance, or PEP compliance in general
[13:19:05] <toad_polo> Ah, perfect. I didn't see a "Replaced-by" in 314.
[13:19:20] <sumanah> toad_polo: I think you can file a PR for that against the PEPs repo, if you don't mind taking a moment to do so
[13:19:28] <sumanah> https://github.com/python/peps
[13:19:29] <toad_polo> I want to know if it's an issue or not that distutils only generates AUTHOR metadata.
[13:19:36] <toad_polo> I'm starting an issue now.
[13:19:42] <sumanah> toad_polo: this is the latest distutils?
[13:19:52] <toad_polo> Sure, I'll do that.
[13:20:18] <sumanah> toad_polo: will you be filing that issue at bugs.python.org? I ask just because I have never done so
[13:20:36] <toad_polo> sumanah: Yeah: https://github.com/python/cpython/blob/8837dd092fe5ad5184889104e8036811ed839f98/Lib/distutils/dist.py#L1119
[13:20:42] <toad_polo> I'm going to file an issue in setuptools and at bugs.python.org.
[13:21:02] <sumanah> toad_polo: ok. may I ask you to do something on my behalf because I am having trouble getting a b.p.o account?
[13:21:02] <toad_polo> I can even file a PR against distutils.
[13:21:29] <toad_polo> Sure thing.
[13:21:53] <sumanah> toad_polo: this is a little complicated - do you have 5 min?
[13:23:10] <toad_polo> Sure, but if it's complicated it might be better to get an account on BPO.
[13:23:17] <toad_polo> Since there might be back and forth.
[13:23:24] <toad_polo> I think I just sign into it via LaunchPad
[13:23:38] <sumanah> I tried to do that and I get an "auth replay attack detected" error
[13:24:10] <sumanah> tell you what, I'll just mention it briefly.
[13:25:02] <sumanah> https://github.com/pypa/twine/issues/311 PyPI no longer requires that users use a "register" command in their initial upload, as far as I can gather
[13:25:20] <sumanah> so I believe we need to update setuptools and distutils docs, e.g., https://docs.python.org/3.6/distutils/packageindex.html#the-upload-command and https://setuptools.readthedocs.io/en/latest/setuptools.html#using-setuptools-without-bundling-it , to clarify that PyPI does not require register anymore but other package indexes might.
[13:26:22] <sumanah> toad_polo: that documentation, on distutils, is the thing I've been meaning to correct, and I will file an issue once I get my b.p.o. account sorted out, but if you feel like doing it first, go ahead
[13:29:54] <toad_polo> OK, I'm writing a few other issues but I'll open that one next.
[13:31:31] <sumanah> I appreciate that, thanks, toad_polo
[13:31:32] <dstufft> toad_polo: wrt maintainer thing
[13:31:56] <dstufft> it's a bug
[13:31:57] <dstufft> or should be
[13:33:33] <toad_polo> dstufft: Yeah, just opened an issue: https://github.com/pypa/setuptools/issues/1288
[13:39:46] <toad_polo> Weird, there is one, but it's closed as fixed: https://bugs.python.org/issue962772
[13:40:54] <ngoldbaum> it may have been fixed in distutils2 and then subsequently broken again in setuptools
[13:41:39] <toad_polo> I suspect that's what happened.
[13:41:55] <dstufft> looks like the oiriginal bug you just linked existed prior to the Maintainer: field existing in the metadata
[13:42:03] <dstufft> since the last message is referencing PEP 345
[13:42:26] <toad_polo> I think the last message is saying, "We fixed this when we implemented PEP 345"
[13:42:41] <toad_polo> But it's not fixed, so I'm guessing it was the regression ngoldbaum described.
[13:44:52] <dstufft> I'm fairly sure that Warehouse is setup to handle all of these cases correctl
[13:45:02] <dstufft> e.g. both Author and Maintainer, only Author, only Maintiner
[14:21:47] <toad_polo> sumanah: https://bugs.python.org/issue33071?
[14:27:25] <sumanah> Thank you toad_polo! It's @brainwane rather than @brainwave but thank you for the attribution nonetheless
[14:28:13] <toad_polo> Oops, sorry.
[14:28:25] <toad_polo> I think there's no way to edit on bpo
[15:05:24] <sumanah> toad_polo: People will deal :)