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. Thanks for your advice, John Whitlock [1] https://github.com/zheller/flake8-quotes/pull/14/files#r50356768 [2] https://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#classifiers [3] https://bitbucket.org/regebro/pyroma [4] https://bitbucket.org/regebro/pyroma/src/9addf825bc8fc3deaf09e724a16cb98b35c53c76/pyroma/tests.py?fileviewer=file-view-default [5] https://mail.python.org/pipermail/distutils-sig/2008-October/010419.html
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig