PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 13th of April, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[02:48:50] <Rod> Question about using to in twine context? Anyone can help?
[02:50:16] <tdsmith> i've used twine
[02:53:10] <Rod> It's mostly about contributing to twine. I suspect a problem when running tox
[08:12:47] <cxz> does pip ignore the global.proxy setting in pip.conf when fetching from the index url?
[15:48:51] <carljm> DanielHolth: hey, it seems the install_requires might be wrong on ReloadWSGI? Depends only on PasteDeploy, but imports paste.reloader, which isn't part of PasteDeploy
[15:49:07] <carljm> oops, wrong channel; where's the right place to discuss this?
[17:04:55] <DanielHolth> carljm you are correct, that's a bug
[17:05:00] <DanielHolth> I've noticed it myself
[17:10:55] <DanielHolth> carljm we could discuss it on the #pyramid channel if that makes you more comfortable
[17:18:14] <qwcode> reality is a circle.... we're talking about paste...
[19:39:09] <linovia> what is the new pip.req module name ?
[19:42:57] <qwcode> pip.req has been a package for a few releases now
[19:44:06] <linovia> qwcode: you mean a standalone package ?
[19:44:28] <qwcode> linovia, no, I just mean it was broken up into a package. still inside pip
[19:45:03] <linovia> right, thanks :)
[21:05:26] <linovia> what is the session argument for in the parse_requirements ?
[21:06:05] <linovia> I used the parse_requirements to get the install_Requires from the requirements file but it seems this doesn't work any longer with newer pip
[21:07:26] <ronny> linovia: why do you use the pip "api" again?
[21:07:47] <linovia> I usually try to avoid as much as possible redoing things
[21:08:09] <ronny> nice answer, but not really a answer to my question
[21:08:48] <linovia> oh, sorry. in my setup.py I have install_requires = [str(ir.req) for ir in parse_requirements('requirements.txt')]
[21:09:12] <dstufft> linovia: it's a PipSession() instance, but this API isn't really designed to be used by anyone besides pip, generally you should declare your requirements inside of setup.py (more info https://caremad.io/2013/07/setup-vs-requirement/)
[21:09:37] <linovia> yeah, and get cursed with eggs :(
[21:09:51] <ronny> ??
[21:09:53] <ronny> wtf?
[21:09:57] <ionelmc> linovia: you only get eggs on setup_requires
[21:10:04] <ionelmc> not install_requires :D
[21:10:26] <linovia> ionelmc: actually, install_requires adds them
[21:10:40] <linovia> anyway, that's correct, those are two different concerns
[21:11:04] <ionelmc> linovia: well, if you use setup.py install yeah, you get eggs in site-packages (assuming you use setuptools)
[21:11:05] <ronny> egg get created by easy_install, pip explicitly avoids them
[21:11:47] <linovia> ronny: yeah, my bad, the egg issue is another issue I have
[21:12:12] <ronny> ionelmc: youd be dead wrong ^^
[21:12:23] <linovia> ionelmc: actually, dh_virtualenv does (through setup.py install)
[21:12:39] <ionelmc> ew
[21:12:51] <linovia> I assume a couple of other distro packaging system do
[21:13:10] <dstufft> https://s3.amazonaws.com/f.cl.ly/items/3I392V2M3m3i3J350M44/stacked-installer-pct.png
[21:13:23] <linovia> as for my current issue, I'll indeed pin things in the setup.py
[21:13:35] <ionelmc> ronny: hush now, don't kill my illusions
[21:14:13] <ionelmc> dstufft: so the "setuptools" is actually eazy_instell right?
[21:14:31] <linovia> isn't it python setup.py install ?
[21:14:32] <dstufft> ionelmc: possibly, it's either easy_install, or setup.py install, or setup_requires
[21:14:41] <dstufft> there's no way to tell the difference
[21:14:47] <ionelmc> i see
[21:14:49] <dstufft> it's "setuptools talked to PyPI"
[21:14:55] <dstufft> via one of the methods it has tod o that
[21:16:18] <linovia> really interesting
[21:16:23] <ionelmc> linovia: afaik distro repackaging use setup.py install --single-version-externally-managed
[21:16:36] <ionelmc> which is what pip uses ("no eggs" mode)
[21:16:51] <dstufft> generally yes
[21:17:11] <ionelmc> or at least, ___what distro repackaging should use___
[21:18:02] <ronny> in a setuptools world, actually eggs where a good idea ^^ multi version installs where a neat idea
[21:19:47] <ionelmc> yeah, right until site-packages got so bloated interpreter took 5 seconds straght to start up
[21:20:04] <ionelmc> that's possible on windoze
[21:20:09] <ionelmc> for some reason fs is slower
[21:21:22] <ronny> all it would have needed would be a import hook that propperly deals with the toplevel search as distributions get activated
[21:21:33] <ronny> instead it was killed ^^
[21:22:02] <ionelmc> well
[21:22:06] <ionelmc> it got killed
[21:22:22] <ionelmc> and now it's a walking zombie that leave bugs in its wake
[21:22:34] <ronny> well, and it even steals cappabilities
[21:22:37] <dstufft> it wasn't killed exactly, there's no reason mutli version support couldn't be implemented, just one of the things is having separate tools for different tasks, part of the problem with "egg" was that it handled like 5 different things
[21:22:49] <dstufft> and it didn't do any of them great
[21:23:03] <ronny> i already have a plan for a pacakge repo for wheel installs ^^
[21:23:22] <ronny> (imho venvs should just be a list of distributions + the scripts needed)
[21:23:27] <ionelmc> speaking of that
[21:23:34] <ionelmc> dstufft: did you see that pundler thing?
[21:23:53] <ronny> i recall it being on distutils-sig a wile back
[21:24:03] <dstufft> ionelmc: I saw it mentioned, didn't look at it close
[21:24:08] <dstufft> gotta go pick up good, bbiab
[21:24:18] <ionelmc> ronny: you said it was "broken" lol
[21:24:31] <ronny> ionelmc: no sdist = broken
[21:24:40] <ionelmc> lol, not that thing
[21:24:50] <ronny> oh, wait
[21:24:52] <ronny> lol
[21:24:59] <ionelmc> ronny: point is, you say "it's broken" about almost everything
[21:25:02] <ionelmc> lol
[21:25:19] <ronny> ionelmc: well, usualy there is a good reason
[21:25:32] <ionelmc> now imagine going to the doctor
[21:25:34] <ionelmc> and hearing
[21:25:45] <ionelmc> "well, i'm afraid it's broken"
[21:26:41] <ronny> i'd ask why
[21:26:44] <ronny> and get an answer
[21:26:50] <ionelmc> yeah, like a very loud why
[21:27:13] <ionelmc> ok maybe the example is bad
[21:27:31] <wickman> ermagherd, pex 1.0.0.dev0 https://pypi.python.org/pypi/pex
[21:27:35] <ionelmc> "well, i'm afraid you gonna die"
[21:28:02] <ionelmc> now that's not a reasonable thing for a doctor to say, expecially if you feel fine
[21:28:21] <ionelmc> the doctor should say when, like a month or 50 years
[21:28:27] <ronny> ionelmc: then i'd ask :today?"
[21:29:05] <ronny> ionelmc: i had my fair share of being a hairs with away from death ^^ so the example doesnt quite work
[21:29:23] <ionelmc> ronny: yeah, well, i'd expect the doctor tell me everything from the start
[21:29:36] <ionelmc> and not because i asked him dozen questions
[21:30:11] <ronny> ionelmc: on twiter it works the other way around :P
[21:30:24] <ionelmc> lol
[21:30:48] <ronny> and the doctor might take a dump in between
[21:30:52] <ronny> for "good measure"
[21:30:54] <linovia> oh, perfect, dh_virtualenv changed the way they install the python package (from setup.py install to pip install .)
[21:31:13] <ionelmc> yes, twitter, should be named "blogging for angry people"
[21:32:19] <ronny> hmm
[21:32:40] <ronny> "soundbites and shit for the world"
[21:32:43] <ionelmc> it's the perfect way get angry
[21:33:02] <ionelmc> or make other people angry
[21:33:05] <ronny> nah, its still humane
[21:33:20] <ionelmc> well, anger is humane
[21:33:27] <ronny> you should have seen me after i thaught setup.py develop user site
[21:34:06] <ionelmc> ronny: hair pulling? picture please!
[21:34:11] <ionelmc> xD
[21:34:21] <ronny> there is no picture
[21:35:06] <ionelmc> i wonder
[21:35:14] <ionelmc> should europython have a packaging workshop?
[21:40:11] <ionelmc> ronny: no europython?
[21:42:16] <ronny> ionelmc: no idea yet