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

Closed
pawamoy opened this issue Dec 21, 2024 · 1 comment
Assignees
Labels
feature New feature or request

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 🤔

@pawamoy pawamoy self-assigned this Jan 24, 2025
@pawamoy pawamoy added feature New feature or request fund Issue priority can be boosted labels Jan 25, 2025
@pawamoy pawamoy closed this as completed Feb 18, 2025
pawamoy added a commit that referenced this issue Feb 19, 2025
@pawamoy pawamoy removed the fund Issue priority can be boosted label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant