PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 11th of May, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:24:06] <tdsmith> returned from the rabbit hole; is anyone qualified to pronounce on whether this is a distutils bug or a numpy.distutils bug? https://github.com/numpy/numpy/pull/5866
[06:02:42] <mgedmin> hey, amazing people
[06:02:56] <mgedmin> does anyone have any idea why a pkg_resouces import would be so expensive?
[06:02:59] <mgedmin> as in 350ms
[06:03:20] <mgedmin> measured with time python -c 'import pkg_resources' (0.411s), compared to time python -c 'pass' (0.051s)
[06:03:38] <mgedmin> this is overhead for every pip-installed console_script, ouch!
[06:12:12] <tomprince> I bet it is loading all the egg-info.
[06:12:24] <tomprince> If you install from wheel, the scripts that get installed don't do that, I think.
[06:13:00] <tomprince> And pip 7 (unreleased) will always try to install via wheel (building one if necessary).
[06:47:32] <ronny> hmm
[06:49:54] <mgedmin> waaah 503 backend read error at https://pypi.python.org/pypi
[06:50:14] <mgedmin> also my jenkins jobs time out trying to fetch stuff from https://pypi.python.org
[06:50:18] <ronny> mgedmin: clear cookies, try again?
[06:50:20] <mgedmin> which surprises me (CDN?)
[06:51:12] <mgedmin> yeah the 503 goes away in an incognito window
[06:55:50] <mgedmin> "Download error on http://pypi.python.org/simple/zope.error/: [Errno 110] Connection timed out" says buildout in my Jenkins
[07:29:04] <mgedmin> it took 10 retries but my build finally succeeded
[07:29:08] <mgedmin> so, what's up with the CDN?
[11:36:01] <ztane> mgedmin: no, cookies is not the reason for the 503
[11:36:18] <mgedmin> ztane, please elaborate
[11:36:44] <ztane> I got the intermittent 503 for my robot which fetches new data, it uses new requests.get() without any cookie storage...
[11:37:25] <ztane> *I mean, it could be but not necessarily the only...
[11:40:55] <mgedmin> ah, interesting
[11:41:27] <mgedmin> today my builds keep getting download errors (timeouts) from pypi.python.org
[11:41:33] <mgedmin> the 503 was when I tried to check in a browser
[11:42:01] <mgedmin> and the 503 I saw went away in an incognito window, suggesting my cookies are at fault
[11:42:21] <mgedmin> (I've seen this before: 503 error for me but not other users, nonreproducible in incognito windows, goes away if I clear cookies)
[11:54:27] <ztane> stupid me I didn't realize that maybe I should have saved the error
[11:55:18] <ztane> anw, the error occurred on "/pypi/package/json"
[11:55:31] <ztane> with "no usable backends"
[11:55:36] <ztane> I hope it wasn't me :P
[17:54:28] <bahoo> Is there any pip install syntax for getting the latest version? Can I somehow do a `pip install django==1.7` and have it get 1.7.8 for me?
[17:55:38] <nanonyme> bahoo, well, dropping the version out would get you the latest version but I guess that's not what you want?
[17:56:40] <jessamynsmith> bahoo: probably >=1.7,<1.8
[17:57:25] <nanonyme> jessamynsmith, that required a reasonably recent pip, right?
[17:58:21] <jessamynsmith> I don't know, but I don't think it's that recent
[18:05:39] <bahoo> Just upgraded to pip 6 from 1.5.6? Quite the jump :)
[18:06:19] <bahoo> jessamynsmith: that’s what I’m going for — I should clarify that I don’t want the absolute latest, that would match 1.7 as you pointed out
[18:06:48] <tomprince> bahoo: The leading `1.` was just dropped
[18:07:04] <bahoo> ah ha, good to know.
[18:07:07] <tomprince> So, pip 6 is what would have been 1.6.
[18:07:23] <bahoo> jessamynsmith: it doesn’t like your particular syntax, though: “pip install 'django>=1.7,django<1.8’” just gives me a ValueError
[18:07:29] <bahoo> ValueError: ('Expected version spec in', 'django>=1.7,django<1.8', 'at', 'django<1.8')
[18:08:19] <bahoo> seems more pythonic (explicit > implicit) to specify 1.7.8 rather than just 1.7.* somehow. not a huge deal in my case, more curious than anything
[18:12:55] <jessamynsmith> I just did this and it works fine:
[18:12:56] <jessamynsmith> pip install 'django>=1.7,<1.8'
[18:14:18] <jessamynsmith> pip 6.1.1
[18:14:21] <jessamynsmith> bahoo: ^^
[18:14:32] <jessamynsmith> you don't say django twice
[18:14:39] <bahoo> ah ha, let me try that
[18:15:17] <bahoo> yep, that’s perfect. thank you jessamynsmith!
[18:16:28] <pjdelport> bahoo: You can say pip install 'Django~=1.7.0'
[18:16:48] <pjdelport> That's PEP 440 syntax.
[18:17:00] <pjdelport> (which needs pip 6+)
[18:17:02] <doismellburning> ooooh
[18:17:07] <jessamynsmith> good point
[18:17:41] <pjdelport> The .0 at the end is required: that gives the version component that can vary, and effectively means the same as 'Django >=1.7, <1.8'
[18:18:19] <pjdelport> You can also say for example 'Django~=1.7.5', which means the same as 'Django >=1.7.5, <1.8'
[18:19:02] <pjdelport> Just for completeness, 'Django~=1.7' then means 'Django >=1.7, <2'
[18:19:50] <doismellburning> yay
[18:20:01] <jessamynsmith> that's very cool
[18:39:09] <ionelmc> crazy package https://pypi.python.org/pypi/inlinestyler/ has a "inlinestyler-0.2.0.linux-x86_64.exe" distribution
[18:39:15] <ionelmc> wtf xD
[21:23:26] <f209> can anyone help me figure out why I can't get apscheduler to install
[21:23:32] <f209> http://pastebin.com/yqxkVv97
[21:23:39] <f209> i am desperate!
[23:11:09] <ionelmc> f209: it's a bug somewhere :)
[23:11:53] <ionelmc> f209: looks like there some non-ascii characters in APScheduler's setup.cfg
[23:11:56] <ionelmc> that's causing the issue