PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Thursday the 31st of March, 2016

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[00:29:32] <lifeless> njs: dstufft: I'm fine with switching to a python api, have been since dstufft stated he'd actually pivoted
[00:40:25] <njs> lifeless: okay! I thought so, but it's sometimes hard to be sure, and I don't want to be pushing so hard I accidentally manufacture a false consensus in favor of my preferred solution :-)
[00:40:56] <njs> and huzzah, I think that means that we soon get to switch to arguing about technical details of hook semantics! I'll send a summary email to the list this evening or tomorrow
[00:45:10] <dstufft> doing an interview about packaging shortly :V
[08:24:38] <ishan> hello, i wanted to know where does get-pip.py install pip
[08:25:40] <warner> BTW I can reproduce the #523 UndefinedEnvironmentName error, in case I can be of any help in debugging it
[08:47:22] <warner> the new code (that "if req.marker and not req.marker.evaluate(): continue" clause) looks like it's getting triggered on "markers" that say 'extra == "tls"', which seems wrong
[09:32:31] <StevenK> warner: PEP 508 specifies extra as a valid environment marker, as I said on the issue
[09:33:22] <warner> roger that
[09:33:43] <warner> so it's the evaluate() that needs to somehow involve the known extras?
[09:34:59] <warner> I'm guessing that not many projects are asking for extras yet, maybe it's still on the bleeding edge
[09:41:39] <StevenK> warner: The issue I'm seeing is if twisted[ssl] is depended on, which requires pyonpenssl, and foobar is depended, which has an ssl extra, but we don't specify it, we shouldn't be installing things that foobar[ssl] requires
[09:41:58] <StevenK> But perhaps that's too damn hard and may have to wait until we have a resolver
[09:42:22] <warner> :)
[09:43:21] <warner> yeah, it seems like something is assuming that extras are global, when really they're scoped to specific packages
[10:19:21] <lifeless> ishan: in the environment its run against, whatever that is
[10:19:38] <lifeless> ishan: e.g. sudo get-pip.py will install it in /usr/local/bin, typically.
[10:20:15] <lifeless> StevenK: is this the same issue you were looking at the other day?
[10:20:37] <lifeless> StevenK: extras are requirement specific, nothign to do with resolvers...
[10:21:21] <StevenK> lifeless: Yes
[10:21:44] <StevenK> lifeless: I was going to ask you about it tomorrow morning, but if you have a sec to look now, that's excellent
[10:22:10] <warner> I can reproduce the problem, in case it helps anything :)
[10:22:48] <lifeless> warner: have you pasted the way to reproduce it on the bug ?
[10:22:57] <warner> yup
[10:22:57] <lifeless> StevenK: url me up - I'll look in my morning before you get up
[10:23:04] <warner> "pip install tahoe-lafs; tahoe --version"
[10:23:08] <StevenK> lifeless: https://github.com/pypa/setuptools/issues/523
[10:23:23] <lifeless> warner: what does tahoe --version call ?
[10:23:31] <lifeless> warner: pkg_resources something or other ?
[10:23:34] <warner> it's an entrypoint script
[10:23:47] <warner> er
[10:24:02] <warner> yes, it calls some pkg_resources thing
[10:24:34] <warner> (our --version function is a bit overblown, and I keep trying to kill it)
[10:24:56] <warner> I don't want to point you at the code, because it's embarrasing and frustrating :)
[10:25:30] <warner> I think it's hitting pkg_resources.require(install_requires)
[10:26:13] <warner> we've got a requirement on "twisted[tls]", and twisted"s got an extra that says [tls] needs pyopenssl
[10:26:58] <warner> and the exception happens when it tries to do req.marker.evaluate() on a req for pyopenssl and a marker for "extra = 'tls'"
[10:28:20] <lifeless> yeah
[10:29:14] <lifeless> I think the problem here is that something has started reflecting markers back into requiremnets
[10:29:23] <lifeless> but we can only do that for a subset of markers
[10:29:37] <lifeless> the extra mapping needs to be translated when its mapped back
[10:30:19] <lifeless> StevenK: night, HTH
[17:55:04] <transit> Running tests for pip's develop branch gives me errors for all the 2.7.6 functional tests with the error message:
[17:55:07] <transit> TypeError: create_environment() got an unexpected keyword argument 'download'
[17:55:49] <transit> Any idea what's up in my development environment? 3.4.0 tests are all fine.
[17:56:20] <dstufft> transit: you need a newer virtualenv
[17:57:05] <transit> Just the virtualenv package or recreate the virtual environment with the latest package?
[17:58:04] <dstufft> are you using tox?
[17:58:10] <transit> Yes.
[17:58:24] <dstufft> I think just deleting .tox and then re-running will be enough
[17:59:29] <transit> That did it, thanks :-)
[23:30:33] <lifeless> StevenK: ping