Skip to content
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

feature: Set Private :: Do Not Upload trove classifier in Insiders versions? #44

Open
pawamoy opened this issue Dec 21, 2024 · 1 comment

Comments

@pawamoy
Copy link
Owner

pawamoy commented Dec 21, 2024

This classifier makes PyPI rejects uploads (additional safety to prevent releasing private versions to PyPI). However we should make sure other registries (like pypiserver!) don't do the same thing: users must be able to publish the built sdist/wheel to their private registries.

@pawamoy
Copy link
Owner Author

pawamoy commented Dec 21, 2024

Quoting official docs:

To prevent a package from being uploaded to PyPI, use the special "Private :: Do Not Upload" classifier. PyPI will always reject packages with classifiers beginning with "Private ::".

Unfortunately, they don't tell if this is a PyPI-only thing. The original PEP (https://peps.python.org/pep-0301/#distutils-trove-classification) doesn't mention such classifiers. So that leaves the official docs up to interpretation by those who implement Python packages registries 🤔

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

No branches or pull requests

1 participant