Disable PyPI as source #8013
-
Given: [tool.poetry]
source = [{name = "A", url = "https://magic.com/pypi/simple", priority = "primary"}] The latest Poetry will print:
Can I disable the warning or disable PyPI today? 🤔 I'm happy to do so. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Adding one source with |
Beta Was this translation helpful? Give feedback.
-
Is there a way to disable the warning? We currently have only one primary source configured, which is not PyPI, and that is intentional; having the warning come up is confusing to our engineers (because it's warning us about the current configuration, which is correct) and it seems to come up only occasionally, which makes our test runs non-idempotent. |
Beta Was this translation helpful? Give feedback.
Adding one source with
priority = "default"
will disable PyPI today.