PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Wednesday the 17th of June, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[07:36:45] <pjdelport> Is PyPI dead?
[07:37:07] <pjdelport> Hmm, no, it works in incognito mode
[07:37:24] <pjdelport> When I try to access PyPI using my logged-in account, I keep getting guru meditations
[07:37:34] <pjdelport> "503 backend read error"
[07:53:38] <ronny> pjdelport: thats a known heisenbug, its very hard to diagnose as far as i remember, i roughly recall they opted for solving it by switch to warehouse in a while
[08:05:06] <pjdelport> Would it help if I give the error detail ids / keys?
[09:36:42] <dpn`> hey I can't get dependency links for github working in my setup.py file.. we've forked a pub repo and added our url to dependency_links but it's not working
[09:36:50] <dpn`> "https://github.com/lextoumbourou/cyclone/tarball/new_master#egg=cyclone-1.1"
[09:36:58] <dpn`> tried all manner of versions etc.. can't get it to work
[09:38:51] <dpn`> ah.. turns out dependency_links is frowned upon?
[09:45:27] <dpn`> dstufft - this method considered out of date perhaps? https://caremad.io/2013/07/setup-vs-requirement/
[10:25:17] <dpn`> this is an epic PITA.. now I can see why our devs just put everything into requirements files :/
[10:42:56] <ktosiek> dpn`: you just need --process-dependency-links
[10:43:12] <ktosiek> and you have to specify requirement version == the one in dependency link
[10:44:43] <dpn`> ktosiek, 7.something errors on that param for me
[10:45:00] <dpn`> 7.03
[10:45:07] <dpn`> 7.0.3 sorry
[10:47:39] <ktosiek> I'm on 7.0.1
[10:48:05] <ktosiek> --process-dependency-links # pasted from our bootstrap script
[10:49:59] <dpn`> afaik the param has been deprecated and isnt required anymore
[10:50:11] <dpn`> change of heart about it
[10:50:22] <dpn`> ah well. can work around it
[10:50:25] <ktosiek> it's been deprecated for ages
[10:50:39] <ktosiek> https://github.com/pypa/pip/blob/8e3eaec559b46119ae80472d9a6ea837e75d6de9/pip/cmdoptions.py#L330 (note the "Remove after 1.5" note)
[10:53:12] <dpn`> https://github.com/pypa/pip/pull/1955
[10:53:23] <dpn`> thats what I was thinking about
[11:09:34] <ktosiek> ohh. Thanks for that link, I've subscribed to it just in case there's another change :-)
[11:12:09] <dpn`> ktosiek, the param actually works
[11:12:14] <dpn`> just has the deprecated warning
[11:12:16] <dpn`> thanks for the tip
[11:27:57] <dpn`> ktosiek, out of interesting there's no way to put "--process-dependency-links" into a requirements file right?
[11:28:15] <ktosiek> I don't think there is, no
[11:29:35] <dpn`> ah, does seem to work on the command line
[15:52:40] <XioNoX> hello!
[15:54:11] <XioNoX> any idea why when I run "sudo pip install xxx" it properly tells me "package already installed ( in /home/user/.local ...)" while "pip install xxx" always reinstall the package at the same location?
[15:54:45] <XioNoX> I don't use any virtualenv
[15:55:10] <XioNoX> and use pip 1.5.6
[16:01:42] <nedbat> XioNoX: fwiw, "sudo pip" is strongly discouraged, and virtualenvs are strongly encouraged
[16:02:13] <nedbat> XioNoX: but I don't know why it's behaving as you describe
[16:02:16] <XioNoX> yeah, I only ran sudo pip to test if the issue was there as well
[16:26:27] <XioNoX> --user Install using the user scheme (default if not in a virtualenv). If --user is the default, --ignore-installed is used.
[16:26:28] <XioNoX> --ignore-installed
[16:26:30] <XioNoX> Ignore the installed packages (reinstalling instead).
[16:26:42] <XioNoX> why?
[16:26:46] <XioNoX> and how do I not do that?
[17:58:10] <nanonyme> XioNoX, you most likely actually do want that
[17:58:27] <XioNoX> nanonyme: why?
[17:58:33] <nanonyme> Not having --ignore-installed involves trying to uninstall that system package which you don't have permissions to uninstall so it fails
[17:58:58] <nanonyme> --user without --ignore-installed is totally useless
[17:58:58] <XioNoX> but what when I don't have system packages?
[17:59:09] <nanonyme> Then it has no effect anyway
[18:00:25] <nanonyme> The only place where it matters at all is when it prevents your installation from failing. So why care?
[18:00:32] <XioNoX> hum, so I mainly use pip packages with ansible modules, what would be the best way to use them then?