-
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
Virtualenv Path no longer shown in debug:info with 0.12.2 #505
Comments
As a potential workaround, it seems possible to run
Not ideal obviously, but at least works to extract the path in my very limited testing. Edit: This occurs in both the currently released 0.12.2 ( Edit 2: This might have something to do with naming: When the project folder contains an underscore, poetry translates this to a dash, including in the generated virtualenv directory, even though it's supposed to be based on the containing directory name, and not the project name. This works as expected:
The above will output the path to the virtualenv. This fails:
The above will output an empty path with exit code 1. Running just However, poetry is obviously able to deduce where the virtualenv is, since it can
This outputs a path to a virtualenv It also works if the directory is named with a dash instead of underscore. So poetry seems to dislike underscores in some circumstances. Is this intended behaviour or a bug? |
The issue with the difference between the project name and the virtual environment name, leading to this issue, has been fixed in the latest beta release of the |
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
poetry 0.12.2 no longer displays the virtualenv path when
poetry debug:info
is run, and instead displays NA.The text was updated successfully, but these errors were encountered: