Skip to content

DOC: Document project as Python 3 only with a trove classifier #14372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2019
Merged

DOC: Document project as Python 3 only with a trove classifier #14372

merged 1 commit into from
Aug 27, 2019

Conversation

jdufresne
Copy link
Contributor

No description provided.

@@ -44,6 +44,7 @@
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3 :: Only
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need both this line and line 43? Can you point to the "HOWTO" documentation for these specifiers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines are simply metadata to be consumed by humans and scripts to help determine compatibility and other criteria when integrating third party packages from pip. No project strictly needs any classifiers, but they are useful information to those looking for the information (and for scripts). Some documentation for using classifiers exists here:

Personally, I find them both useful and suggest keeping both. It doesn't require any additional maintenance and provides more information to people and scripts. Other projects, such as Django, provide both: https://pypi.org/project/Django/

@mattip
Copy link
Member

mattip commented Aug 27, 2019

I see that the 1.16 version retains the older classifiers, so this PR will not influence that one. It is strange that we have a Programming Language :: Python :: Implementation :: CPython when we run CI tests with PyPy, but that is a subject for another day.

@mattip mattip merged commit e82544b into numpy:master Aug 27, 2019
@mattip
Copy link
Member

mattip commented Aug 27, 2019

Thanks @jdufresne

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants