PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Monday the 29th of May, 2017

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[12:16:04] <optimus42> plop
[12:16:24] <optimus42> Does anyone know how to pass the ssh agent/sock with tox?
[12:16:39] <optimus42> or where i can find some documentation about it?
[12:27:29] <ronny> optimus42: typically you need to enable it in passenv
[12:31:18] <optimus42> thanks :)
[13:21:10] <mage_> hello
[13:21:34] <mage_> any idea how could I specify an install_requires packages which isn't on pypi ?
[13:22:10] <mage_> I tried dependency_links=['git+https://some/github/repo#egg=mypackage'] but it doesn't seems to work
[13:24:33] <mgedmin> I would use install_requires=['mypackage >= 1.2.3'] targetting the (future) version that has the commit you need, and put the git+https://... link in a requirements.txt
[13:24:44] <mgedmin> dependency_links are ignored by default iirc
[13:25:34] <mage_> is it considered deprecated?
[13:27:31] <mgedmin> I don't remember the motivation exactly
[13:28:20] <mgedmin> iirc there were both security and performance arguments
[13:28:35] <mgedmin> oh, and reliability too!
[13:28:46] <mage_> mmh ok :)
[13:28:55] <mgedmin> you can still ask pip to follow dependency links, if you do so explicitly
[13:28:59] <mgedmin> iirc
[13:29:31] <mage_> maybe I should setup a local pypi
[13:30:04] <mgedmin> that's a possibility, but maybe overkill
[13:30:18] <mage_> :)
[13:30:21] <mgedmin> what I usually do is build sdists then host them in a simple folder served by apache
[13:30:34] <mgedmin> then use --find-links https://my.intranet.page.example.com/packages/
[13:30:47] <mgedmin> or, sometimes, --find-links ./vendor/ and git add the sdists right inside my project repo
[13:30:50] <mage_> ah yes that's another option
[13:32:07] <mage_> thanks