PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 18th of August, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[01:17:14] <agronholm> dstufft: hey, what about that pip release?
[11:58:34] <ACKNAK> oh hello! could anybody help me with silly problem
[11:59:28] <ACKNAK> as I run "import pip" it runs python script from my homedir :)
[12:00:43] <ACKNAK> it should be problem with current user enviroment, but I cannot find where xD
[12:10:55] <ronny> ACKNAK: why do you import pip? pip is an application not a library
[12:11:07] <ronny> ACKNAK: there is no api stabiliy guarantee
[12:12:39] <ACKNAK> ronny, because I get error during importing of pip as I run virtualenv
[12:12:56] <ACKNAK> somehow it runs script from ~/python/ dir
[12:13:09] <mgedmin> are you setting PYTHONPATH in your environment?
[12:13:11] <ACKNAK> but its not in "env"
[12:13:13] <mgedmin> is there a pip.py in there?
[12:13:35] <ACKNAK> PYTHONPATH=/usr/lib/entropy/lib:/usr/lib64/root
[12:14:12] <mgedmin> can you pastebin the shell session where you create a virtualenv and get a pip error in it?
[12:14:27] <ACKNAK> second
[12:15:50] <ACKNAK> http://pastebin.ca/3111896
[12:17:23] <ronny> ACKNAK: does the error text change if you set LC_ALL=C?
[12:17:41] <ronny> (there is some kyrillic glyphs i cant read that make no sense whatsoever)
[12:18:06] <ACKNAK> ronny, it doesn't mean anything important :)
[12:18:19] <ronny> what does it say?
[12:18:25] <ACKNAK> thats output of my script xD
[12:18:32] <ACKNAK> mine parser
[12:19:04] <ronny> hmm, that seems like something is entiryl wrong
[12:19:20] <ACKNAK> exactly :D it should not be there
[12:19:21] <ronny> ACKNAK: oh, rename it to myparser
[12:19:23] <mgedmin> what is the value of pip.__file__ in that interactive shell?
[12:19:41] <ronny> ACKNAK: it seems like due to pythonpath, your script overrides the stdlib parser module
[12:19:54] <mgedmin> ooh, stdlib has a parser module!
[12:20:03] <mgedmin> ouch, nice footgun for newbies
[12:20:20] <ronny> one of those whole leg nibbles
[12:20:27] <ACKNAK> 9_6
[12:20:28] <ACKNAK> derp
[12:21:17] <ronny> you may now proceed to hit your head against a surface of your choice
[12:32:58] <ACKNAK> hmm I did "rm ~/parser.pyc" it works fine now
[12:33:12] <ACKNAK> lol env
[17:28:24] <buck1> i've noticed that in requirements.txt a -r line is relative to the requirements file while .. is relative to $PDW
[17:28:37] <buck1> would be better if it were consistent
[17:28:45] <buck1> the relative-to-file behavior is very convenient
[17:28:52] <buck1> $PWD*
[17:47:53] <akkad> how does one begin to fix this? https://gist.github.com/73ce6b23abf1a3370f47
[17:58:11] <ronny> akkad: how did you install the base pip/python to begin with?
[17:58:28] <ronny> akkad: it looks like you potentially misscompiled python to begin with
[18:00:13] <akkad> all system packages installed through apt.
[18:00:39] <akkad> anyway to clense the broken stuff?
[18:15:24] <starcraftman> hi, packaging question, i've uploaded a sdist/bdist to my pypi account, but when I do `pip search pakit` I don't see my package.
[18:15:34] <starcraftman> URL > https://pypi.python.org/pypi/pakit
[18:17:02] <dstufft> xmlrpc is cached for a bit
[18:17:36] <starcraftman> dstufft: so gonna take a few days to get indexed server side you mean?
[18:18:29] <dstufft> I think it's less than 24 hours
[18:20:13] <starcraftman> ok then, thanks, had thought I might have missed something
[20:10:17] <agronholm> dstufft: hey, you there?
[20:10:50] <dstufft> agronholm: just sat down, what's up
[22:57:06] <agronholm> dstufft: that pip release you said you'd cut a few days ago?