[Catalog-sig] Python Version support in PyPI

Daniel Holth dholth at gmail.com
Wed Feb 27 21:07:30 CET 2013


On Wed, Feb 27, 2013 at 3:02 PM, Donald Stufft <donald.stufft at gmail.com> wrote:
> On Wednesday, February 27, 2013 at 2:59 PM, Monty Taylor wrote:
>
> Yeah - it's not so much that _I_ want to use something to know - it's
> more that I want pip to not try to install python3-only packages when
> I'm clearly running in python2. The reverse should also be true of course.
>
> I know we all want the next-gen package tools to solve our problems, but
> waiting on them doesn't really seem to be so workable ... how opposed
> would people be to adding some logic in to pip to be helpful with this?
>
> The problem is mostly pip doesn't really get much information ATM. It
> basically has the filename and that's all.

Yep. For example, https://pypi.python.org/pypi/python-dateutil/json  ;
https://pypi.python.org/pypi/python-dateutil/1.5/json . This package
does not declare requires_python or use classifiers, and I don't know
whether requires_python would show up there anyway. pip doesn't even
read those json files, but if it did it would be very slow.

pip reads this page: https://pypi.python.org/simple/python-dateutil/
and I suppose also the linked labix homepage.


More information about the Catalog-SIG mailing list