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

Support Python private packages #3968

Open
pombredanne opened this issue Nov 4, 2024 · 2 comments · May be fixed by #3982 or #3989
Open

Support Python private packages #3968

pombredanne opened this issue Nov 4, 2024 · 2 comments · May be fixed by #3982 or #3989

Comments

@pombredanne
Copy link
Member

See:

"Private :: Do Not Upload" is a handy classifier which causes PyPI to reject a package. It's handy for packages that you don't want to accidentally publish, so maybe it could be used in the full example?

@stefan6419846
Copy link

Just for the record: The original upstream docs for this are at https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#classifiers

@AyanSinhaMahapatra
Copy link
Member

From the 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 ::.

We want to use the is_private flag set for python packages which has a classifier containing Private ::
Examples: https://github.com/search?q=%22Private+%3A%3A%22+path%3A**%2Fpyproject.toml+&type=code&ref=advsearch

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