You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing poetry config pypi-token.pypi, if the value is missing, poetry returns the error
There is no pypi-token.pypi setting.
This error is rather confusing. It should say that the value is missing.
Real scenario where this happened: I'm using poetry to publish to pypi from a GH release action. I misconfigured the secret, so its not available, which results in an empty string. This results in the GH action failing with There is no pypi-token.pypi setting.
I imagine that people trying to configure a GH action would get similarly confused as me and go down the rabbit hole of making sure that they got poetry install and version correct etc.
I have a draft PR here that I'm happy to convert into a real PR if you would like: #8502
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below. https://gist.github.com/radoshi/70f1215ca969c8055715d207586d2f80Issue
When executing
poetry config pypi-token.pypi
, if the value is missing, poetry returns the errorThis error is rather confusing. It should say that the value is missing.
Real scenario where this happened: I'm using poetry to publish to pypi from a GH release action. I misconfigured the secret, so its not available, which results in an empty string. This results in the GH action failing with
There is no pypi-token.pypi setting.
I imagine that people trying to configure a GH action would get similarly confused as me and go down the rabbit hole of making sure that they got poetry install and version correct etc.
I have a draft PR here that I'm happy to convert into a real PR if you would like:
#8502
The text was updated successfully, but these errors were encountered: