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
I'm not a very good python programmer so there may be mistakes.
Well I'm looking through poetry's source code. Poetry seperates its build core as poetry-core from the original package poetry, which provides a module poetry.core. When installing, this module is installed into site-packages/poetry/core. But pylance only looks for the poetry folder under current project. Therefore, a reportMissingImports is raised.
Environment data
Language Server version: 2021.1.3 (pyright 61c53da4)
OS and version: Windows 10 with WSL2 (Debian Testing)
Python version (& distribution if applicable, e.g. Anaconda): 3.9.1
Expected behaviour
Import with no warnings.
Actual behaviour
A reportMissingImports warning is raised
Logs
(I've checked the log file and found no useful information.)
I'm not a very good python programmer so there may be mistakes.
Well I'm looking through poetry's source code. Poetry seperates its build core as
poetry-core
from the original packagepoetry
, which provides a modulepoetry.core
. When installing, this module is installed intosite-packages/poetry/core
. But pylance only looks for thepoetry
folder under current project. Therefore, areportMissingImports
is raised.Environment data
Expected behaviour
Import with no warnings.
Actual behaviour
A
reportMissingImports
warning is raisedLogs
(I've checked the log file and found no useful information.)
Code Snippet / Additional information
https://github.com/python-poetry/poetry/blob/master/poetry/poetry.py
The text was updated successfully, but these errors were encountered: