-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error in "poetry config" when Poetry is not configured in pyproject.toml #3084
Comments
This is similar to #3073 but for a different Poetry command. |
Looks like this is fixed by #3076 and is already included in poetry 1.1.1. |
Actually, I tested this bug on Poetry 1.1.1 and it is still there:
|
Ok, I can reproduce it, when there is a pyproject.toml, but not if there is not such a file. |
I confirm, the problem has been solved in the case of a missing |
Resolves: #3084 Co-authored-by: Etty <beltrami.ester@gmail.com>
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
It is impossible to configure any Poetry setting with
poetry config
if apyproject.toml
filedoes not exist, or if itexists and does not include any Poetry configuration.Note: Poetry v. 1.1.1 fixed the issue in the case where
pyproject.toml
does not exists. The issue persists whenpyproject.toml
exists and does not include a Poetry configuration section.Indeed, this is what happens:
Output:
I believe this issue was introduced in Poetry 1.1.0, because the same command was working on our CI with version 1.0.10.
The text was updated successfully, but these errors were encountered: