On Thu, Jan 21, 2016 at 05:53:32PM +0000, Brett Cannon wrote:
> On Thu, 21 Jan 2016 at 06:48 John Whitlock <john-whitl...@ieee.org> wrote:
> 
> > A discussion about the Python language classifiers came up in a pull
> > request [1], and I couldn't find a definite answer. The question is -
> > should a packager specify the major Python versions, minor Python versions,
> > or both?
> >
> > The Python Packaging User Guide's example [2] has both:
> >
> >   # Specify the Python versions you support here. In particular, ensure
> >   # that you indicate whether you support Python 2, Python 3 or both.
> >   'Programming Language :: Python :: 2',
> >   'Programming Language :: Python :: 2.6',
> >   'Programming Language :: Python :: 2.7',
> >   'Programming Language :: Python :: 3',
> >   'Programming Language :: Python :: 3.2',
> >   'Programming Language :: Python :: 3.3',
> >   'Programming Language :: Python :: 3.4',
> >
> > In the example, 'Programming Language :: Python :: 2' is a major version,
> > and 'Programming Language :: Python :: 2.7' is a minor version.
> >
> > pyroma [3], which I use as a packaging linter, has insisted on both the
> > major and minor versions since the first release in 2011 [4].
> >
> > These were added in 2008, but the announcement on this mailing list didn't
> > include guidance on usage [5].  I can't find any guidance in PEPs either.
> >
> 
> You should at least do the major versions, and if you are up for
> maintaining them, then do the minor ones as well.
> 
> You want the major ones to tell people whether you even support Python 3 or
> not. Various tools like caniusepython3 rely on at least the major version
> classifier existing to programmatically know about Python 3 support.

Are these tools unable to realize that supporting a particular minor
version implies support for the corresponding major version?

Marius Gedminas
-- 
HOST SYSTEM RESPONDING, PROBABLY UP...

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to