Skip to content

Commit e0b5fb9

Browse files
authored
Port changes from main branch to remove diagnostic feature (#11052)
* Reduce list of reserved files for which we warn uses of potentially interfering with kernel startup (#11044) * Reduced reserved files that interfere with kernels * Misc * Remove warning about overriding python files * Restore commented files
1 parent 2b081e7 commit e0b5fb9

File tree

10 files changed

+14
-729
lines changed

10 files changed

+14
-729
lines changed

CHANGELOG.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
### Enhancements
66

7-
1. Warn users when a Python file could override an existing Python package (there by interfering with the kernels. [More info](https://aka.ms/JupyterKernelStartFailureOverrideReservedName)).
8-
This feature could be turned off via the setting `"jupyter.diagnostics.reservedPythonNames.enabled": false`.
9-
([#7538](https://github.com/Microsoft/vscode-jupyter/issues/7538))
107
1. DataFrame viewer enabled on the web.
118
([#9665](https://github.com/Microsoft/vscode-jupyter/issues/9665))
129
1. The Variable Viewer now shows strings wrapped in single quotes.

news/2 Fixes/11040.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Reduced set of file names that are treated as reserved names that could interfere with the startup of `Python Kernels`.

package.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2042,32 +2042,6 @@
20422042
"tags": [
20432043
"experimental"
20442044
]
2045-
},
2046-
"jupyter.diagnostics.reservedPythonNames.enabled": {
2047-
"type": "boolean",
2048-
"default": true,
2049-
"markdownDescription": "%jupyter.configuration.jupyter.diagnostics.reservedPythonNames.enabled.markdownDescription%",
2050-
"scope": "machine",
2051-
"tags": [
2052-
"diagnostics"
2053-
]
2054-
},
2055-
"jupyter.diagnostics.reservedPythonNames.exclude": {
2056-
"type": "array",
2057-
"default": [
2058-
"**/site-packages/**",
2059-
"**/lib/python/**",
2060-
"**/lib64/python/**"
2061-
],
2062-
"items": {
2063-
"type": "string"
2064-
},
2065-
"uniqueItems": true,
2066-
"markdownDescription": "%jupyter.configuration.jupyter.diagnostics.reservedPythonNames.exclude.markdownDescription%",
2067-
"scope": "machine",
2068-
"tags": [
2069-
"diagnostics"
2070-
]
20712045
}
20722046
}
20732047
},

0 commit comments

Comments
 (0)