-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
kind/featureFeature requests/implementationsFeature requests/implementations
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
Currently poetry doesn't support disabling publishing of package to remote repository. Add publish key similar to publish key present over cargo manifest for rust crates. publish key can have two types of value either bool or list of repository name. The publish field can be used to prevent a package from being published to a remote repository (like PYPI) by mistake, for instance to keep a package private in a company. If bool is present and is false then package cannot be published to any remote repository. Similarly if list of remote repository name is present then package can only be published to those remote repository.
[tool.poetry]
#....
publish=false[tool.poetry]
#....
publish=["some-remote-repository-name"]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureFeature requests/implementationsFeature requests/implementations