-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support Poetry depenedency manager #1871
Comments
No specific plans at the moment, but if people begin to vote for this issue with a 👍 reaction then we will definitely consider it. |
We are going to wait until poetry hits version 1.0 before making a decision about this. People should continue to leave a 👍 reaction on the top comment until then to help us prioritize a decision and potential work compared to other feature requests. |
This comment has been minimized.
This comment has been minimized.
One workaround is to use virtualenvs in project root. Then vscode picks it up. |
We are looking at implementing this, so I want to clarify the desired behavior here: if Poetry is detected in the current environment, prompt user if they want to install packages (pylint, rope, etc) using poetry. Is that correct? Please let us know if there's additional behavior desired here. |
Any installations should happen via poetry. It would also be great if VS Code could autodetect the poetry virtualenv and use it. |
@qubitron personally, I found |
Activating poetry environments do not work (at least not yet). If things don't work in the tool itself, we're not going to try to add workarounds or implement solutions. What can be done however is just add support for using I.e. when user needs to install a formatter, we'll (optionally) make use of |
@lig since we do not manage environment creation that will be out of scoped for this work. |
Till the time support for poetry gets added, I was thinking if there is any hacky way we can get through this. vscode installs any packages with following command: Is there any way in vscode where we can map |
@abhishekvm nope, we don't provide that kind of functionality. You can always do the install manually while people wait for this feature since as you noticed we aren't doing anything too magical. |
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I was able to verify that poetry is used to install modules:
This caused the popup for installing flake8. Then poetry was used to install flake8. |
Currently it looks like Pipenv is supported but not poetry. Is there plans to support this dependency manager as well?
Note:
Activating poetry environments do not work (at least not yet).
python-poetry/poetry#198
python-poetry/poetry#571
The text was updated successfully, but these errors were encountered: