[Python-Dev] Re: python/dist/src/Lib/distutils/command upload.py, 1.3, 1.4

martin at v.loewis.de martin at v.loewis.de
Wed Mar 23 00:54:54 CET 2005

Zitat von Jim Jewett <jimjjewett at gmail.com>:

> How about changing it to tack on a "(guess)" instead of just deleting it?

I think it would be confusing to users. Currently, the only version
you would get into the database is 2.5, as earlier versions don't
have the upload command. So we would have all sdist releases under
packages/2.5, which would be too confusing, IMO.

> Or does that change break too many other things/cause too much
> ugliness for the timeframe it will be used in?

It's also used to build the download link under python.org/packages.
At the moment, changing the upload command would have no effect,
since PyPI always puts sdist packages under packages/source, and
clears the Python version if there is one.

As Fred says, if a package has a minimum Python version, it should
specify this - either in a new metadata field, or through an entry
into Requires; PEP 314 somewhat suggests that you can do

Depends: sys (>=2.3)


More information about the Python-Dev mailing list