PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 6th of May, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[16:24:39] <sanguisdex> hi I was wondering if I could get some help debugging this failed pip install of tethne, https://paste.pound-python.org/show/BRYAfpVQX5oFNf5Z8U8A/. Ubuntu 16.04,Python 2. I have already manually installed markerlib before running the install for tethne
[17:52:55] <frewsxcv_> regarding: https://www.irccloud.com/pastebin/zqHaltYj/
[17:53:17] <frewsxcv_> is there some pip cache settings? trying to help someone who can't see one of the latest publish versions of a library
[17:53:39] <frewsxcv_> they're trying to download mach==0.6.0 but "No distributions matching the version for mach==0.6.0"
[17:55:21] <ngoldbaum> frewsxcv_: --no-cache-dir
[17:55:34] <ngoldbaum> https://pip.pypa.io/en/latest/reference/pip_install/#caching
[18:19:00] <frewsxcv_> where are common places for pip configs to live?
[18:19:14] <frewsxcv_> i think the user isn't able to install whl files
[18:19:53] <frewsxcv_> Skipping link https://pypi.python.org/packages/99/14/64d8c240dbce0d3278c10cf2c98dce7156327a72ebba67af26ef69f78f09/mach-0.6-py2-none-any.whl#md5=4a4e18570e950c976f9ef09d3a3b2efb (from https://pypi.python.org/simple/mach/); unknown archive format: .whl
[19:11:58] <dstufft> frewsxcv_: sounds like their pip is too old
[19:58:41] <buck1> was requires.txt removed from the python package standard?
[19:58:55] <gchristensen> you mean requirements.txt?
[20:00:32] <buck1> requires.txt
[20:01:10] <gchristensen> hrmm never heard of it, but I see it here: https://pythonhosted.org/setuptools/formats.html#requires-txt
[20:01:18] <buck1> at one point in time held the "extras"
[20:01:33] <ronny_> buck1: do you mean the egg-info thing?
[20:01:38] <buck1> yes
[20:01:49] <buck1> i have egg-info for a package with extras, but no requires.txt
[20:01:52] <ronny_> metadata 2.0 uses something else
[20:01:58] <buck1> and the old thing is gone?
[20:02:07] <ronny_> it should still be in egg-info
[20:02:19] <ronny_> but metadata 2.0 uses the conditionals
[20:02:22] <buck1> i see METADATA and metadata.json
[20:03:37] <buck1> gchristensen: https://github.com/pypa/pip/blob/8c62156580a8a21a47f361db6d866fff122df4e2/pip/_vendor/distlib/database.py#L933
[20:03:48] <buck1> https://github.com/pypa/pip/blob/master/pip/_vendor/distlib/database.py#L933
[20:04:08] <buck1> ronny_: "the conditionals" ?
[20:06:54] <ronny_> buck1: environment markers, they are also used for extras
[20:07:10] <buck1> weird
[20:08:36] <buck1> if i produce the egg-info via setup.py myself, requires.txt does appaear. I'll debug my stuff more =/
[20:08:38] <buck1> thanks ronny_
[20:08:56] <ronny_> buck1: what do you use to make the egg-info?
[20:09:08] <buck1> setup.py egg-info
[20:09:15] <buck1> in my manual spotcheck
[20:09:21] <buck1> i think pip install for the other
[20:09:24] <buck1> idk
[20:09:27] <buck1> looking
[20:09:50] <ronny_> buck1: what version of pip?
[20:09:56] <buck1> ancient =X
[20:10:01] <ronny_> these days pip makes wheels and installs those whenever applicable
[20:10:03] <ronny_> ouch
[20:10:04] <buck1> 1.5.5
[20:10:12] <ronny_> tripple ouch
[20:10:16] <ronny_> why are you on that?
[20:10:39] <buck1> we did some refinements during those days we're stsill using
[20:10:48] <buck1> very similar to what was done in 7 and 8
[20:13:38] <ronny_> buck1: soyou run a own fork?
[20:14:06] <buck1> no a fork as much as a set of monkey patches =X
[20:14:46] <buck1> ronny_: be kind: https://github.com/Yelp/venv-update/blob/development/pip_faster.py
[20:16:14] <ronny_> buck1: cant you bascially retire that completely and jsut go for recent pip?
[20:16:31] <buck1> of course there's implementation differences, so it will take work
[20:16:35] <buck1> but, probably?
[20:17:40] <buck1> ronny_: i'll still need the --prune monkeypatch
[20:18:10] <ronny_> hmm
[20:18:18] <ronny_> why not jsut make a new virtualenv for each deploy?
[20:20:50] <buck1> it's about dev
[20:20:55] <buck1> we do start fresh for deploy
[20:21:12] <buck1> --prune makes dev accurate w/o clean rebiuld
[20:21:17] <buck1> faster
[20:21:24] <buck1> lots
[20:21:33] <buck1> pip-faster
[20:26:40] <ronny_> buck1: hmm, but with modern pip, most rebuilds are within seconds due to the wheel cache
[20:26:54] <ronny_> buck1: how many dependencies do you have?
[20:27:18] <buck1> ronny_: 400 i think
[20:27:36] <buck1> pinging pypi 400 times takes a couple minutes
[20:28:48] <buck1> ronny_: http://engineeringblog.yelp.com/2016/03/venv-update.html#how-much-faster-is-pip-faster
[20:28:57] <buck1> the warm case is the one i'm optimizing for
[20:29:04] <ronny_> buck1: oh, i see, i do use devpi for such cases
[20:29:05] <buck1> we still get 100% improvement over pip8
[20:29:51] <ronny_> buck1: how does it compare if you put a devpi on the local box in the middle?
[20:29:58] <buck1> ronny_: no idea
[20:30:03] <buck1> not too sure what that means
[20:30:15] <buck1> it's a local cache proxy?
[20:30:30] <buck1> caching*
[20:30:55] <ronny_> buck1: devpi can be used at that, it also has local indexes, that can inherit from pypy but upload own development packages
[20:31:08] <buck1> pypi :P
[20:31:16] <ronny_> whops
[20:31:33] <buck1> my coworkers are pronouncing pypi as "pie pee"
[20:31:36] <buck1> =/
[20:32:34] <buck1> ronny_: my benchmark script is checked into the repo if you want to muck with it
[20:32:46] <buck1> http://venv-update.readthedocs.io/en/stable/benchmarks.html#benchmarks
[20:32:51] <buck1> https://github.com/Yelp/venv-update/tree/stable/benchmark
[20:33:52] <buck1> i still think --prune is useful even so. would like to see it upstream someday
[20:34:01] <buck1> can we put a setuptools backend on npm and call it done?
[20:34:21] <ronny_> oO
[20:34:35] <buck1> https://docs.npmjs.com/cli/prune
[20:35:50] <ronny_> buck1: that doesnt quite fir the mroe rich dependencies model of python ^^
[20:36:17] <buck1> do you mean the conditonals?
[20:37:19] <buck1> how do i convince pip to not blow away the tmp install directory? --no-clean isn't cutting it
[20:38:34] <ronny_> not sure, what do you need it for?
[20:52:02] <buck1> debugging
[20:52:30] <buck1> ronny_: the root problem was i had change the packaging w/o bumping the version, and the cached wheel was used =X
[20:52:54] <buck1> i think.
[20:53:39] <microdex> I setup Gunicorn on Nginx using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-14-04
[20:53:55] <microdex> But I'm getting "Not Found" How do I debug to see whats wrong?
[20:55:58] <buck1> microdex: i think you want #python maybe
[20:56:17] <buck1> or #archlinux even
[21:01:10] <ronny_> buck1: i change versions every commit for all projects where i can do that ^^
[21:01:26] <buck1> yea that wouldn't help, since i haven't commited yet
[21:01:40] <buck1> -dirty might'v
[21:02:00] <ronny_> in general i use tox for that ^^
[21:03:00] <buck1> ah i'm testing some code to do with installing code, so