Disable PyPI as source #8013
Answered
by
radoering
gaborbernat
asked this question in
Q&A
-
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.
Answered by
radoering
May 25, 2023
Replies: 2 comments 5 replies
-
Adding one source with |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
gaborbernat
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding one source with
priority = "default"
will disable PyPI today.