Standalone install of Python Extension #20774
-
Installing the Python extension automatically installs jupyter, pylance and isort, even though the Python extension can work without these. In principle these extensions are optional and are forced upon the user in my opinion. I have a system where there is no internet access, so installing the python plugin manually through .vsix is not possible as it cannot download the "dependency" extensions, and thus the install will simply fail. (Bug?) So before i file an issue, is it possible to only install the Python extension without the optional dependencies? In my opinion the install should not fail, but simply report that the dependencies have failed to install due to network issues. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
All of those extensions are optional, so if VS Code is refusing to install a VSIX manually without internet access to get those other extensions, then I would open a feature request at https://github.com/microsoft/vscode . We won't be providing a separate build due to overhead of supporting multiple builds (e.g. we have to use a secure build pipeline and it takes a lot to set up and maintain). If you would like to build the extension yourself you can find the instructions at https://github.com/microsoft/vscode-python/wiki/Coding#building . I will also mention we are removing isort from the default install in our next release (any day now), and we are working on removing Jupyter; Pylance is going to be kept. |
Beta Was this translation helpful? Give feedback.
All of those extensions are optional, so if VS Code is refusing to install a VSIX manually without internet access to get those other extensions, then I would open a feature request at https://github.com/microsoft/vscode .
We won't be providing a separate build due to overhead of supporting multiple builds (e.g. we have to use a secure build pipeline and it takes a lot to set up and maintain). If you would like to build the extension yourself you can find the instructions at https://github.com/microsoft/vscode-python/wiki/Coding#building .
I will also mention we are removing isort from the default install in our next release (any day now), and we are working on removing Jupyter; Pylance i…