forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onregressionBug didn't exist in a previous releaseBug didn't exist in a previous releaseverifiedVerification succeededVerification succeeded
Milestone
Description
When creating Conda enviornments using the Python Exension UI, the conda environment does not have a name.
However the Python extesnion API returns a name for the environment when it should not. In the past Python exension did not do this.
This breaks the code that is used to activate conda environments and install Python packages in Jupyter extension.
here's the work flow:
- Create conda env using Python extension
- The folder is
.conda
- The environment msut be activated using the path and not a name as there's no conda enviornent named
.conda
- The Jupyter extension now calls the Python Ext API to get the details of the Python exesnion API
- The Python extension returns the details and the name of the envionment is
.conda
- The Python extension returns the details and the name of the envionment is
- The jupyter extension now uses this to install python packages and uses the
-n
argument forconda
and this falls over.
If you were to install the older version of the Python extnesion, now things work.
I.e. this is a breaking change in the Python exension
Metadata
Metadata
Assignees
Labels
area-environmentsFeatures relating to handling interpreter environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onReady to be worked onregressionBug didn't exist in a previous releaseBug didn't exist in a previous releaseverifiedVerification succeededVerification succeeded