PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Saturday the 3rd of October, 2015

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[00:16:59] <waynr> howdy folks I am attempting to use twine per description here: https://packaging.python.org/en/latest/distributing/#upload-your-distributions
[00:17:08] <waynr> but I am getting an HTTP500 error
[00:17:38] <waynr> if anyone has advice for how to proceed I would appreciate it
[00:18:07] <waynr> I am on twine 1.6.2
[00:18:43] <waynr> i did some horrible things, i will admit
[00:19:05] <waynr> including deleting this project entirely then re-registering it using the egg info
[00:19:33] <waynr> and previous to that I deleted some bogus files that I had uploaded using setuptools' upload command
[00:20:33] <waynr> here is the project I am working on: https://pypi.python.org/pypi/jjb-puppetlabs/1.2.1.dev145
[00:21:13] <waynr> attempting to create an unofficial package of this project for reasons
[00:21:45] <waynr> this is the official package: https://pypi.python.org/pypi/jjb-puppetlabs/1.2.1.dev145
[00:21:54] <dstufft> waynr: are you trying to sign them
[00:21:58] <waynr> yeah
[00:22:11] <dstufft> https://github.com/pypa/twine/issues/137
[00:22:13] <waynr> I did a detached sign as described in the packaging tutorial
[00:23:03] <waynr> dstufft: awesome, thanks!
[00:25:04] <waynr> so it looks like I should be fine with twin 1.5.0?
[00:25:52] <waynr> yep, that works
[00:25:56] <waynr> thanks again dstufft
[00:29:14] <waynr> error: Couldn't find a setup script in /tmp/easy_install-di2dXa/jjb-puppetlabs-1.2.1.dev145.linux-x86_64.tar.gz
[00:30:18] <waynr> 'pip install jjb-puppetlabs' does not work but 'pip install jjb-puppetlabs=1.2.1.dev145' does
[00:30:46] <waynr> s/=/==/
[00:31:41] <dstufft> waynr: did you make a bdist_dumb or something?
[00:33:25] <waynr> I made a bdist for python3 and a bdist_wheel for python2 based on the files I observed being available in the official jenkins-job-builder
[00:34:48] <waynr> making a couple assumptions there about how the jenkins-job-builder-1.3.0.tar.gz is generated here: https://pypi.python.org/pypi/jenkins-job-builder/1.3.0
[00:36:03] <waynr> i must be doing something wrong
[00:36:35] <waynr> "python3 setup.py bdist && python setup.py bdist_wheel"
[00:38:21] <dstufft> waynr: bdists aren't generally supported, you should basically forget anything but bdist_wheel and sdist exist
[00:38:33] <waynr> okay
[00:39:01] <dstufft> you should _always_ upload a sdist, and you should upload wheels whenever you can (they are binary packages, so if your code is pure python you should be able to upload just fine, but if it has C then it gets harder)
[00:39:23] <dstufft> https://packaging.python.org/en/latest/distributing/#packaging-your-project might be useful for you
[00:39:46] <waynr> i'm following that but i am a little dense
[00:42:42] <waynr> okay, I've replaced the bdist with an sdist
[00:47:13] <waynr> pip install . still doesn't work on the dependent project even if I pin the jjb-puppetlabs dependency to 1.2.1.dev145
[00:47:26] <waynr> python setup.py develop does work
[01:03:48] <dstufft> waynr: probably need pip install --pre .
[01:03:59] <dstufft> pip won't install pre-releases by default
[04:08:03] <waynr> gotcha
[13:40:18] <Ivo> /iset
[14:19:50] <lmm> hi, I'm trying to use pip to install a package but it's trying to use an old version of gcc that I don't have installed any more. What does pip call to do the building?
[14:20:05] <lmm> (this is on freebsd)
[14:22:11] <lmm> ah, it's getting it from [my virtualenv]/lib/python2.7/config/Makefile
[14:22:17] <lmm> so I presumably need to rebuild python?
[16:43:13] <DanielHolth> What happened to declarative setup requirements in pip?
[17:36:16] <Ivo> DanielHolth: you'd be mainly looking for requirements 2.0 i think
[17:46:51] <DanielHolth> I thought robert collins had a branch to add that feature that was quite far along.
[17:48:02] <DanielHolth> However I can't find it now.
[17:58:38] <dstufft> DanielHolth: I think he got focused on other work first
[17:58:47] <dstufft> like the implicit wheel cache
[19:37:05] <pdobrogost_> Hi! Shouldn't uninstall of package installed in editable mode delete .egg-info directory of this package?
[19:59:59] <ionelmc> pdobrogost_: not if you have extra .egg-info around
[20:00:19] <ionelmc> pdobrogost_: make a pip bug report :)
[20:00:31] <pdobrogost_> What do mean by extra?
[20:05:37] <ionelmc> pdobrogost_: multiple copies
[20:05:52] <ionelmc> it's possible, cause it includes the version in the name
[20:06:56] <pdobrogost_> .egg-info does not include version in the name...