Skip to content

Commit 2daed4a

Browse files
Add last missing environment and sort excludePythonEnvironments
1 parent 784f427 commit 2daed4a

File tree

4 files changed

+50
-46
lines changed

4 files changed

+50
-46
lines changed

.devcontainer/SETUP_SUMMARY.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,20 @@ python -m ipykernel install --user --name=apim-samples --display-name='APIM Samp
8282
```json
8383
{
8484
"jupyter.kernels.excludePythonEnvironments": [
85-
"/usr/bin/python3",
86-
"/bin/python3",
87-
"/usr/local/bin/python3",
88-
"/opt/python/*/bin/python*",
89-
"*/site-packages/*",
90-
"**/miniconda3/**",
91-
"**/anaconda3/**",
92-
"**/conda/**",
93-
"/usr/bin/python",
94-
"/bin/python",
95-
"**/python3.*",
96-
"python3",
97-
"python"
85+
"**/anaconda3/**",
86+
"**/conda/**",
87+
"**/miniconda3/**",
88+
"**/python3.*",
89+
"*/site-packages/*",
90+
"/bin/python",
91+
"/bin/python3",
92+
"/opt/python/*/bin/python*",
93+
"/usr/bin/python",
94+
"/usr/bin/python3",
95+
"/usr/local/bin/python",
96+
"/usr/local/bin/python3",
97+
"python",
98+
"python3"
9899
],
99100
"jupyter.kernels.trusted": [
100101
"/workspaces/Apim-Samples/.venv/bin/python"

.devcontainer/devcontainer.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,19 +66,20 @@
6666
"jupyter.interactiveWindow.textEditor.executeSelection": true,
6767
"jupyter.notebookFileRoot": "${workspaceFolder}",
6868
"jupyter.kernels.excludePythonEnvironments": [
69-
"/usr/bin/python3",
70-
"/bin/python3",
71-
"/usr/local/bin/python3",
72-
"/opt/python/*/bin/python*",
73-
"*/site-packages/*",
74-
"**/miniconda3/**",
75-
"**/anaconda3/**",
76-
"**/conda/**",
77-
"/usr/bin/python",
78-
"/bin/python",
79-
"**/python3.*",
80-
"python3",
81-
"python"
69+
"**/anaconda3/**",
70+
"**/conda/**",
71+
"**/miniconda3/**",
72+
"**/python3.*",
73+
"*/site-packages/*",
74+
"/bin/python",
75+
"/bin/python3",
76+
"/opt/python/*/bin/python*",
77+
"/usr/bin/python",
78+
"/usr/bin/python3",
79+
"/usr/local/bin/python",
80+
"/usr/local/bin/python3",
81+
"python",
82+
"python3"
8283
],
8384
"jupyter.kernels.trusted": [
8485
"/workspaces/Apim-Samples/.venv/bin/python"

.vscode/settings.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@
2323
"jupyter.interactiveWindow.textEditor.executeSelection": true,
2424
"jupyter.notebookFileRoot": "${workspaceFolder}",
2525
"jupyter.kernels.excludePythonEnvironments": [
26-
"/usr/bin/python3",
27-
"/bin/python3",
28-
"/usr/local/bin/python3",
29-
"/opt/python/*/bin/python*",
30-
"*/site-packages/*",
31-
"**/miniconda3/**",
3226
"**/anaconda3/**",
3327
"**/conda/**",
34-
"/usr/bin/python",
35-
"/bin/python",
28+
"**/miniconda3/**",
3629
"**/python3.*",
37-
"python3",
38-
"python"
30+
"*/site-packages/*",
31+
"/bin/python",
32+
"/bin/python3",
33+
"/opt/python/*/bin/python*",
34+
"/usr/bin/python",
35+
"/usr/bin/python3",
36+
"/usr/local/bin/python",
37+
"/usr/local/bin/python3",
38+
"python",
39+
"python3"
3940
],
4041
"jupyter.kernels.trusted": [
4142
"/workspaces/Apim-Samples/.venv/bin/python"

apim-samples.code-workspace

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
], "settings": {
88
// Exclude all Python environments except our venv to ensure auto-selection
99
"jupyter.kernels.excludePythonEnvironments": [
10-
"/usr/bin/python3",
11-
"/bin/python3",
12-
"/usr/local/bin/python3",
13-
"/opt/python/*/bin/python*",
14-
"*/site-packages/*",
15-
"**/miniconda3/**",
1610
"**/anaconda3/**",
1711
"**/conda/**",
18-
"/usr/bin/python",
19-
"/bin/python",
12+
"**/miniconda3/**",
2013
"**/python3.*",
21-
"python3",
22-
"python"
14+
"*/site-packages/*",
15+
"/bin/python",
16+
"/bin/python3",
17+
"/opt/python/*/bin/python*",
18+
"/usr/bin/python",
19+
"/usr/bin/python3",
20+
"/usr/local/bin/python",
21+
"/usr/local/bin/python3",
22+
"python",
23+
"python3"
2324
],
2425

2526
// Trust our venv kernel

0 commit comments

Comments
 (0)