<div dir="ltr">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?<div><br></div><div>The Python Packaging User Guide's example [2] has both:</div><div> <br></div>  # Specify the Python versions you support here. In particular, ensure<div>  # that you indicate whether you support Python 2, Python 3 or both.</div><div>  'Programming Language :: Python :: 2',</div><div>  'Programming Language :: Python :: 2.6',</div><div>  'Programming Language :: Python :: 2.7',</div><div>  'Programming Language :: Python :: 3',</div><div>  'Programming Language :: Python :: 3.2',</div><div>  'Programming Language :: Python :: 3.3',</div><div>  'Programming Language :: Python :: 3.4',</div><div><br></div><div>In the example, 'Programming Language :: Python :: 2' is a major version, and 'Programming Language :: Python :: 2.7' is a minor version.</div><div><br></div><div>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].</div><div><br></div><div>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.</div><div><br></div><div>Thanks for your advice,</div><div>John Whitlock</div><div><br></div><div>[1] <a href="https://github.com/zheller/flake8-quotes/pull/14/files#r50356768">https://github.com/zheller/flake8-quotes/pull/14/files#r50356768</a></div><div>[2] <a href="https://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#classifiers">https://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#classifiers</a></div><div>[3] <a href="https://bitbucket.org/regebro/pyroma">https://bitbucket.org/regebro/pyroma</a></div><div>[4] <a href="https://bitbucket.org/regebro/pyroma/src/9addf825bc8fc3deaf09e724a16cb98b35c53c76/pyroma/tests.py?fileviewer=file-view-default">https://bitbucket.org/regebro/pyroma/src/9addf825bc8fc3deaf09e724a16cb98b35c53c76/pyroma/tests.py?fileviewer=file-view-default</a></div><div>[5] <a href="https://mail.python.org/pipermail/distutils-sig/2008-October/010419.html">https://mail.python.org/pipermail/distutils-sig/2008-October/010419.html</a></div><div><br></div></div>