Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 49b6009

Browse files
authored
Drop use of deprecated pythonPath property (#1135)
1 parent af892fd commit 49b6009

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

containers/azure-machine-learning-python-3/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// Set *default* container specific settings.json values on container create.
1010
"settings": {
11-
"python.pythonPath": "/opt/conda/bin/python",
11+
"python.defaultInterpreterPath": "/opt/conda/bin/python",
1212
"python.linting.enabled": true,
1313
"python.linting.pylintEnabled": true,
1414
"python.formatting.autopep8Path": "/opt/conda/bin/flake8",

containers/codespaces-linux/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"go.useLanguageServer": true,
99
"go.gopath": "/go",
1010
"go.goroot": "/usr/local/go",
11-
"python.pythonPath": "/opt/python/latest/bin/python",
11+
"python.defaultInterpreterPath": "/opt/python/latest/bin/python",
1212
"python.linting.enabled": true,
1313
"python.linting.pylintEnabled": true,
1414
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",

containers/jupyter-datascience-notebooks/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Set *default* container specific settings.json values on container create.
2020
"settings": {
21-
"python.pythonPath": "/opt/conda/bin/python"
21+
"python.defaultInterpreterPath": "/opt/conda/bin/python"
2222
},
2323

2424
// Add the IDs of extensions you want installed when the container is created.

containers/python-3-anaconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Set *default* container specific settings.json values on container create.
1212
"settings": {
13-
"python.pythonPath": "/opt/conda/bin/python",
13+
"python.defaultInterpreterPath": "/opt/conda/bin/python",
1414
"python.languageServer": "Pylance",
1515
"python.linting.enabled": true,
1616
"python.linting.pylintEnabled": true,

containers/python-3-device-simulator-express/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
// Set *default* container specific settings.json values on container create.
1515
"settings": {
16-
"python.pythonPath": "/opt/vscode/extensions/ms-python.devicesimulatorexpress/venv/bin/python",
16+
"python.defaultInterpreterPath": "/opt/vscode/extensions/ms-python.devicesimulatorexpress/venv/bin/python",
1717
"python.languageServer": "Pylance",
1818
"python.linting.enabled": true,
1919
"python.linting.pylintEnabled": true,

containers/python-3-miniconda/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Set *default* container specific settings.json values on container create.
1212
"settings": {
13-
"python.pythonPath": "/opt/conda/bin/python",
13+
"python.defaultInterpreterPath": "/opt/conda/bin/python",
1414
"python.languageServer": "Pylance",
1515
"python.linting.enabled": true,
1616
"python.linting.pylintEnabled": true,

containers/python-3-postgres/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"username": "postgres",
1818
"password": "postgres"
1919
}],
20-
"python.pythonPath": "/usr/local/bin/python",
20+
"python.defaultInterpreterPath": "/usr/local/bin/python",
2121
"python.languageServer": "Pylance",
2222
"python.linting.enabled": true,
2323
"python.linting.pylintEnabled": true,

containers/python-3-pypy/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// Set *default* container specific settings.json values on container create.
1212
"settings": {
13-
"python.pythonPath": "/usr/local/bin/python",
13+
"python.defaultInterpreterPath": "/usr/local/bin/python",
1414
"python.languageServer": "Pylance",
1515
"python.linting.enabled": true,
1616
"python.linting.pylintEnabled": true,

containers/python-3/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
// Set *default* container specific settings.json values on container create.
1818
"settings": {
19-
"python.pythonPath": "/usr/local/bin/python",
19+
"python.defaultInterpreterPath": "/usr/local/bin/python",
2020
"python.languageServer": "Pylance",
2121
"python.linting.enabled": true,
2222
"python.linting.pylintEnabled": true,

repository-containers/github.com/python/cpython/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "CPython",
33
"dockerFile": "Dockerfile",
44
"settings": {
5-
"python.pythonPath": "${workspaceFolder}/python",
5+
"python.defaultInterpreterPath": "${workspaceFolder}/python",
66
"python.testing.unittestArgs": [
77
"-v",
88
"-s",

0 commit comments

Comments
 (0)