[12:17:32] <ronny> vincentll: its impossible that this happens in a plain setuptools context, so please tell/show what you actually do
[12:18:46] <vincentll> ronny: I'm making a package, the setup.cfg file has "version = 0.2", then I build the package with "python setup.py bdist_wheel" and the package is named "package...0.1.dev1..."
[12:19:04] <vincentll> maybe it has to do with the "pbr" requirement that I use (from OpenStack)
[12:19:59] <dstufft> Yea, almost certain it's from pbr
[12:49:01] <ronny> vincentll: pbr integrates with git/git tags
[12:50:03] <vincentll> ronny: oh yeah, thanks, I read that some time ago but forgot about it
[16:12:01] <boegel> so, wtf on https://bitbucket.org/pypa/pypi/issues/438
[16:30:49] <boegel> apollo13: I really don't understand why the download URLs were changed on the production PyPI... but I'm already discussing that with dstufft in #python :)
[16:31:08] <apollo13> boegel: imo he layed it out very well in his post on the list
[16:37:26] <apollo13> boegel: and well, comments like yours on bitbucket are not really helpful either to be honest
[16:37:46] <apollo13> it is interesting how people just take pypi and everything around it for granted
[16:41:26] <boegel> apollo13: I'm just relaying what a lot of people think... a change like this is very hard to explain to people
[16:42:20] <boegel> apollo13: to me, stating "patches welcome" after just breaking production to make pre-production stable, and then implementing a workaround only in pre-production, is hard to justify
[16:44:11] <boegel> apollo13: that being said, I'm willing to do an effort to see if I can help in restoring the old URL format by implementing a mirror thing, like was implemented for warehouse...
[16:44:24] <apollo13> boegel: so you are saying dstufft should fix a system no one wants to touch just because some people are afraid of change?
[16:44:57] <apollo13> boegel: mhm, feel free -- I tried diving into the old pypi code once and ran away, I hope you have more luck
[16:45:07] <boegel> apollo13: well, someone touched it to *break* it, right?
[16:45:23] <apollo13> boegel: yes, and the reasoning for changing it is outlined very well imo
[16:45:31] <boegel> apollo13: I'm not saying dstufft should do anything...
[16:45:40] <apollo13> even if you or others did probably not run into the problems described there
[16:46:11] <boegel> apollo13: well, seems like *a lot* of people are being hit by the URL change too, so we're just replacing one problem with another here...
[16:46:32] <boegel> does this change also apply to old package versions btw?
[16:47:07] <boegel> oh crap, seems like it doesn't... :( :(
[16:47:07] <apollo13> while I agree that cool uris should not change, I find it odd that people complain about url changes in a website which isn't "theirs" -- using the api instead of undocumented urls would have never led to this problem in the first place, no?
[16:48:04] <boegel> apollo13: a simple easy-to-derive URL like the one that was in place should've been part of the API all along, it's short-sighted to just point to a PEP and say "not our fault that you weren't aware"
[16:48:45] <apollo13> boegel: imo not more short-sighted than using a package repository by just guessing
[16:49:18] <apollo13> if I would develop code like that (ie run against a system without checking for a proper api first) our customers would probably kill me :p
[16:49:38] <boegel> it's just so straightforward, so people assumed it was OK to do it (which makes a lot of sense imho)... it's just the KISS principle
[16:50:19] <apollo13> I understand that, what I don't understand is that people are so upset if their assumptions turn out to be wrong -- but I guess that is just a point of perspective
[16:50:54] <boegel> it's because it doesn't make sense not to consider the previous URL format as a part of the API, imho
[16:51:17] <boegel> it feels like looking for excuses, and throwing your hands up and going "not our fault"!
[16:52:30] <apollo13> I guess we could spin that all day in circles
[16:53:32] <boegel> so, say I'd want to take a stab at 'fixing' this... besides figuring out the PyPI code, what else would I need to do to test a fix I may come up with? set up a PyPI mirror of sorts?
[16:53:58] <apollo13> I guess the best thing would be a PR and ask donald to put it on test pypi
[16:54:14] <apollo13> or directly on pypi since you probably cannot break it "more" (sounds horrible I know)
[16:54:17] <dstufft> If legacy PyPI didn't make me want to quit anytime I looked at it for more than ~5 minutes I'd probably just fix it, but it's really just me keeping this running (and it's like... 3/4 of a billion requests in the last 7 days and 80TB of bandwidth used and I'm struggling to keep the plates even barely spinning)
[16:55:15] <apollo13> dstufft: sending all the hugs I have your way!
[16:55:27] <dstufft> boegel: there's a database dump in the warehouse repo, with some judicious use of commenting out code you can get PyPI running locally against that DB (though you might need to checkout the warehouse code and run the DB migrations in there against it, I forget if there are any mandatory migrations since I last took a snapshot)
[17:00:25] <dstufft> boegel: this is one of the many reasons Warehouse exists tbh. It's a huge pain to run the code in anything resembling a production deployment. Half the time I don't even try to run it locally and I just push straight to prod
[17:00:35] <dstufft> Also https://s.caremad.io/N2Sjj4URcg/
[17:01:31] <dstufft> (Note, that's not all the recorded errors, just the ones that would fit on screen)
[17:03:56] <boegel> dstufft: I'm not debating whether Warehouse is not worth the effort, it obviously is
[17:07:12] <boegel> any idea why the 'old' download URL seems to work fine for old package versions? e.g. https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.5.0.tar.gz works, https://pypi.python.org/packages/source/p/python-dateutil/python-dateutil-2.5.3.tar.gz doesn't
[17:08:52] <dstufft> boegel: I didn't delete the old files
[17:09:11] <boegel> ah, so they're actually still there, I see...