-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority
Milestone
Description
I had the following layout:
tests-plus-projects/ <- a project
├── ada/ <- a project
│ ├── test_ada.py
│ └── .venv/ # Python 3.10.19
├── alice/ <- a project
│ ├── test_alice.py
│ ├── .venv/ # Python 3.14.2
│ └── bob/ <- a project
│ ├── test_bob.py
│ └── .venv/ # Python 3.14.2
└── website/
├── hello_world.py
├── tests/
├── utils/
└── .vscode/
with settings:
{
"python-envs.pythonProjects": [
{
"path": "alice/bob",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
},
{
"path": "ada",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
},
{
"path": "alice",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
}
],
"python.testing.pytestArgs": ["."],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
}
I set tests-plus-projects to a conda env
so it updated my settings to:
{
"python-envs.pythonProjects": [
{
"path": "alice/bob",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
},
{
"path": "ada",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
},
{
"path": "alice",
"envManager": "ms-python.python:venv",
"packageManager": "ms-python.python:pip"
}
],
"python.testing.pytestArgs": ["."],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python-envs.defaultEnvManager": "ms-python.python:conda",
"python-envs.defaultPackageManager": "ms-python.python:conda"
}
and then reloaded to find all my envs messed up:
"python-envs.pythonProjects": [
{
"path": "alice/bob",
"envManager": "ms-python.python:conda",
"packageManager": "ms-python.python:conda"
},
{
"path": "ada",
"envManager": "ms-python.python:conda",
"packageManager": "ms-python.python:conda"
},
{
"path": "alice",
"envManager": "ms-python.python:conda",
"packageManager": "ms-python.python:conda"
}
],
"python-envs.defaultEnvManager": "ms-python.python:conda",
"python-envs.defaultPackageManager": "ms-python.python:conda"
all the project configs in settings should be set to the venv as the manager after reload and idk why they changed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityIssue identified as high-priority