PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Tuesday the 9th of September, 2014

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:28:59] <gp> I guess this doesn't seem very straight forward. Is it not common to build python projects on one machine and deploy on another? I can't really find anything on google but maybe I am not searching correctly
[00:30:05] <tomprince> gp: The tools for doing that heterogenously on linux aren't there.
[00:30:17] <tomprince> (which is why pipy doesn't support linux wheels)
[00:30:59] <tomprince> If all the machines run the same os, it shouldn't be a problem.
[00:31:03] <gp> Right... I read all the discussions about that decision on mailing lists. But I thought that was for general consumption of packages
[00:31:55] <gp> They are the same minus the build tools and libraries
[00:32:30] <tomprince> Well, you need the libraries (but not the build tools) on both.
[00:32:42] <dstufft> gp: no it's common, but generally people do dynamic linking
[00:32:46] <dstufft> comminsh
[00:32:53] <dstufft> it's the static linking that's hurting you :)
[00:33:26] <gp> Ah. I liked the idea of completely isolated virtualenv with static linked packages
[00:33:44] <gp> But if thats the way it is then dynamic linking will have to do the trick
[00:34:58] <dstufft> It would work fine with static linking, I'm just not sure how to tell distutils/setuptools/whateve rto actually do a static link
[00:38:34] <gp> It is taunting me: https://docs.python.org/2/distutils/apiref.html#distutils.ccompiler.CCompiler.create_static_lib
[00:38:40] <gp> hah
[04:22:43] <collinanderson> it would be nice if there were any easy way to know what development headers you need when you "pip install pillow", or any package in general
[04:23:31] <dstufft> collinanderson: the problem is, how do you define that?
[04:26:19] <collinanderson> dstufft: not sure, but now that system_site_packages=False by default, it makes it a pain to install pillow
[04:27:21] <collinanderson> dstufft: even if package maintainers had to list off different dependencies for deb, rpm, etc, that would still be better than the current situation
[04:33:42] <collinanderson> dstufft: maybe you could say, something like: requires python.h
[04:48:12] <collinanderson> yeah, so you list out the required header files, like Python.h, once it's there, someone else can figure out a way to translate that into something like "yum whatprovides '/usr/include/*/Python.h'"
[04:59:05] <dstufft> collinanderson: sorry went to go get something to eat
[04:59:40] <dstufft> collinanderson: the files thing is interesting, I suggest posting it to distutils-sig
[05:00:27] <collinanderson> Cool. Thanks
[07:40:43] <bmcorser> can i do something like 'pip show' with a package archive (before install)?
[07:58:25] <jax> hi
[07:58:38] <jax> is it possible to ignore ssl errors for extra-index-urls ?
[09:47:37] <kkkk> trying to install watchdog through pip.but get this error:
[09:47:38] <kkkk> http://paste.ubuntu.com/8298373/
[09:49:33] <mgedmin> " Could not fetch URL http://pypi.python.org/simple/PyYAML/: <urlopen error [Errno -2] Name or service not known>" -- your DNS is broken
[09:49:47] <mgedmin> or you got a temporary network error; have you tried again?
[09:49:54] <kkkk> yes
[09:49:57] <kkkk> 3 times
[09:50:09] <kkkk> now what should I do?
[09:50:21] <mgedmin> hmm, http://status.python.org/ doesn't show any outages at the moment
[09:50:59] <mgedmin> it looks like a network problem on your end
[09:51:01] <kkkk> I CAN OPEN THAT LINK VIA BROWSER
[09:51:08] <mgedmin> ooh, that's very interesting!
[09:51:32] <mgedmin> can you ping pypi.python.org from the command line?
[09:51:59] <kkkk> yes
[09:52:15] <kkkk> but it's kinda low
[09:52:22] <kkkk> 64 bytes from 185.31.18.175: icmp_req=3 ttl=44 time=557 ms
[09:52:28] <mgedmin> still, that means it can be resolved
[09:52:36] <mgedmin> why can't pip do it then?
[09:52:53] <kkkk> I have no idea
[09:52:55] <mgedmin> any http_proxy settings in the environment?
[09:53:11] <kkkk> I don't know exaxly
[09:53:46] <kkkk> I did s.th with TOR yesterday.
[09:54:19] <mgedmin> what OS is this?
[09:54:25] <kkkk> but pip id work for garden
[09:54:28] <kkkk> ubuntu
[09:54:35] <kkkk> did*
[09:54:47] <mgedmin> weird
[09:55:26] <kkkk> now what to do?
[09:57:15] <kkkk> now it says:
[09:57:17] <kkkk> Cannot fetch index base URL http://pypi.python.org/simple/
[10:00:09] <kkkk> just tryed one more time and it's working!
[10:00:19] <kkkk> Downloading PyYAML-3.11.tar.gz (248Kb): 248Kb downloaded
[10:00:23] <apollo13> yeah, that's certainly something on your end
[10:00:45] <kkkk> thank you.:)
[10:01:28] <kkkk> can it be beacuse of SSL issues?
[10:04:03] <mgedmin> no, the URL is http (old insecure version of pip, presumably)
[10:04:38] <mgedmin> also the 'Name or service not known' points straight at DNS resolution troubles
[10:09:24] <kkkk> thank you.:)
[13:11:17] <jax> can pip search exact?
[13:14:04] <jax> does pip use wget or curl to fetch the index?
[13:26:57] <[Tritium]> pip uses python's networking to make connections
[13:34:21] <[Tritium]> pip ships with the requests library (they vendor a copy), which uses either urllib or the python socket primatives to make the http requests. Ultimatly it does not matter what the requests library uses, its what pip uses, and IMHO what you should be using to do HTTP in python
[13:41:48] <jax> ok i'm missing root certificates i think
[13:41:56] <jax> because pip fails to connect to https://pypi.python.org/simple/
[13:42:14] <jax> this is some funky NAS, i need to figure out how to tell python to use other ca-certs
[13:48:18] <[Tritium]> jax: what version of pip are you on?
[13:49:36] <jax> 1.5.6
[13:50:03] <[Tritium]> ok, I am out of ideas
[15:47:57] <gp> Will the client cert option in pip 1.6 https://github.com/pypa/pip/issues/1424 work with find-links urls and download links found from the find-links?
[15:51:49] <dstufft> gp: should yea
[15:56:09] <gp> Cool. Is there an approximate ballpark on when 1.6 might be released?
[15:58:27] <dstufft> gp: sometime in the near future, I want to get it out but there's a few things I want to get in before we do, and there might be things other people want to get into 1.6 before it's released too
[15:59:23] <gp> Sure. Much appreciated