PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Thursday the 25th of August, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[10:18:27] <pombreda> !logs
[10:18:27] <pmxbot> http://chat-logs.dcpython.org/channel/pypa
[13:13:05] <sam> how long can I expect between a bdist upload and the moment the package becomes available through pip install?
[13:13:42] <sam> last time I tried it took a few seconds, but today I’ve already waited 30 minutes
[13:26:47] <Wooble> sam: that certainly sounds like it didn't actually upload. No error message? :/
[13:27:38] <Wooble> sam: are you using setup.py upload? twine is recommended for uploading these days, and setting the server to pypi.org (the legacy pypi has horrible problems with uploads :( )
[13:27:46] <sam> ah, that was my fault… I also had to do sdist upload!
[13:29:17] <Wooble> (bdist isn't all that useful anyway; use wheels)
[13:29:33] <sam> OK, thanks
[13:29:58] <sam> I package stuff for Debian but it’s the first time I use setuptools so I don’t know this ecosystem very well
[13:36:03] <Siecje> Wooble: Are there plans to deprecate the non recommended features
[13:37:48] <dstufft> Siecje: Yes.
[13:38:01] <dstufft> I am slowly murdering all the bad features
[13:38:31] <Siecje> \o/
[13:39:25] <Wooble> I look forward to the horrible but highly-upvoted stackoverflow posts telling people to not upgrade so they can continue to use misfeatures.
[13:40:03] <dstufft> Wooble: The good news is, there is only one version of PyPI, and it's the version I select >:]
[13:52:30] <Xorg> guys can I sign with gpg using setup.py rpm package ?
[14:12:32] <pombreda> Xorg: Not sure if this is possible .... Try python setup.py bdist_rpm --help to list of RPMs options.
[14:12:58] <pombreda> Xorg: My 2 cents would be to use --spec-only and use that spec file as a base to use the standard RPM tools otherwise
[14:13:22] <pombreda> I am not many folks this bdist_rpm otherwise and might not be up to snuff to what you would expect
[14:13:41] <pombreda> *I am not sure
[14:13:55] <pombreda> *I am not sure many folks use ...
[14:16:36] <Xorg> yea i guess
[14:21:55] <daniel_holth> Someone recently called bdist-rpm output useless. YMMV. I'd grab a srpm from Fedora to see how they do it.
[14:46:46] <ninjaaron> is there a way to generate a .app for OS X using setuptools?
[15:16:11] <pombreda> ninjaaron: my personal experience with build .app and .mpkg installers for OSX with and without Python tells me that it might be best hand rolled
[15:16:11] <pombreda> An OSX app is just a conventional layout and a few plists.... sorry if this does not help
[15:16:27] <pombreda> ninjaaron: you can also try py2app but I never played with it
[15:16:52] <pombreda> https://pythonhosted.org/py2app/
[15:18:27] <pombreda> I can just say that I use and contributed to some of the code from the same author (altgraph), so I would think this is decent
[15:18:27] <pombreda> https://bitbucket.org/ronaldoussoren/py2app
[15:20:01] <pombreda> daniel_holth: re RPMs, I would tend to think that packaging in non-Python native formats (msi, wininst, rpms, etcs) should be best depreacted and kiled or spun off if someone wants to take over these
[15:20:38] <daniel_holth> Probably
[16:28:57] <ninjaaron> pombreda: Yeah. I've tried py2app. It's ok. I just was curious if there was anything like 'gui_scripts' for OS X in pip/setuptools.
[16:29:03] <ninjaaron> Thanks for the info.
[18:31:35] <pombreda> ninjaaron: glad it worked for you :P does it support gui_scripts?
[22:19:11] <benno> dstufft: I can confirm that something in twine is causing requests to ignore HTTP_PROXY environment variables.
[22:25:30] <benno> Oh god. I needed to use HTTPS_PROXY.
[22:25:37] <benno> Whee.
[22:47:27] <ninjaaron> pombreda: I'm actually asking on behalf of a friend. He got his app working on his machine with py2app, but then he sent it to another friend, and it didn't work for him. I can't even actually test the app. I don't use OS X.