PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 30th of October, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[10:13:50] <is_null> hi all, is there any way to set retries and timeout somewhere in /etc ?
[10:15:43] <is_null> ok, in [global]
[11:22:10] <nedbat> any comments on this? nedbatchelder.com/blog/201510/pip_science_experiments.html (My write up of experiments to determine what pip will do in various circumstances)
[12:59:26] <xafer> nedbat: I have high doubts on " My suffix ('#egg=version_dummy') is being parsed inside pip as if the package name was "version" and the version was "dummy"! "
[13:18:52] <nedbat> xafer: i didn't look at the code, but it is true that if I use "#egg=versiondummy" it works better
[13:19:17] <nedbat> xafer: it was dstufft's guess that that was happening, and it certainly behaves as if that were true.
[13:21:24] <xafer> I'd say "#egg=versiondummy" should behave just like "#egg=anything" :)
[13:22:14] <nedbat> xafer: you could be right, like i say, i haven't looked at the code, you have :)
[13:24:31] <dstufft> I'm pretty sure that #egg=Django-1.8 is how you specify this link to Django 1.8
[13:24:34] <xafer> erm I didnt check exactly what pip does, but the version_dummy parsed as "version==dummy" seems very unlikely
[13:24:50] <dstufft> and I'm also pretty sure that - and _ are considered equal
[13:31:03] <xafer> I think the egg part is parsed via: github.com/pypa/pip/blob/develop/pip/req/req_install.py#L1023-L1032 and the guessed version is dropped
[16:17:25] <nedbat> anyone want to help me diagnose another example of a package not updating?
[16:24:50] <zermanno> Hi, I am wrapping a c++ library with cython. I compile the pyxs and the c++ code with cmake using the cython-cmake-example. If I import the package from the build directory it works flawlessly, if I install through "python setup.py install" into a virtual environment it breaks because the shared objects are not installed. How do I tell setuptools to install the shared objects?
[16:32:41] <nedbat> dstufft, xafer: this gist is a shell script that demonstrates the problem I am having: gist.github.com/nedbat/eb0d1a9f90344969df79 Why doesn't oauth2-provider upgrade from 0.5.1 to 0.5.7?
[16:50:55] <xafer> nedbat: not sure what happens, but using #egg=oauth2-provider for edx-oauth2-provider won't be permitted anymore in pip8
[16:51:30] <xafer> and with the correct #egg I end up with 0.5.7 (if I didnt get confused in my commands)
[16:52:00] <nedbat> xafer: thanks, let me look at that.
[16:56:38] <nedbat> xafer: thanks, you are right that fixing the egg name makes it work.
[16:57:53] <nedbat> xafer: just to be clear: #egg= name should be the same as the name= parameter in setup() in setup.py, right?
[16:58:15] <xafer> np :) there are definitely broken things in vcs installs, so your experiment are quite valuable :)
[16:58:19] <xafer> yup
[17:06:52] <xafer> Hmm maybe github.com/pypa/pip/pull/3153/files did not impact -e installs...
[17:18:07] <nedbat> xafer: you mean non -e installs?
[17:31:39] <xafer> One of the two. But according to the test, the case of editable works fine, so maybe both types are okay
[17:44:44] <nedbat> xafer: i got bit by the non-editable case
[17:53:08] <zermanno> Hello, I am wrapping a c++ library with cython. I compile the pyxs and the c++ code with cmake using the cython-cmake-example. If I import the package from the build directory it works flawlessly, if I install through "python setup.py install" into a virtual environment it breaks because the shared objects are not installed (but all the pure .py modules are installed). How do I tell setuptools to install the shared objec
[17:53:08] <zermanno> ts?
[18:25:21] <nanonyme> zermanno, FWIW always do pip install . instead of running setup.py yourself
[18:26:02] <zermanno> nanonyme, done, same problem.
[18:29:01] <zermanno> nanonyme, am I doing something conceptually wrong? Is setuptools not supposed to deal with compiled modules?
[18:29:11] <nanonyme> Dunno
[18:29:34] <nanonyme> I've just seen calling setup.py do the wrong stuff quite often, especially with virtualenvs
[18:29:55] <zermanno> nanonyme, ok thank you for the info
[22:13:24] <jervis_> hi. i'd like to install some modules locally (via pip install --user <module>) for both, python2 and python3. The separation of the python2 and python3 files in the lib directory works fine but somehow the files in the bin directory collide (see terminal session here: hastebin.com/iqukeraqer.avrasm). How can i install python2 and python3 modules parallel for one user?
[22:33:31] <tos9> jervis_: the libraries should be installing suffixed versions of themselves
[22:33:40] <tos9> or else, be usable as python3 -m module
[22:48:20] <jervis_> tos9: thank you.