From 6e62922e8942fc24f79d7beb666eb69aa9432499 Mon Sep 17 00:00:00 2001 From: Rich Chiodo Date: Fri, 11 Feb 2022 16:24:02 -0800 Subject: [PATCH] Port back release changelog changes (#9008) * Jan 2022 Release (#8876) * Fixes to remove notebook Uris (#8892) (#8894) * publish January 2022 release * Updates to change log * publish January 2022 release * publish January 2022 release create GH release * publish January 2022 release create GH release * publish January 2022 release create GH release * publish January 2022 release create GH release again * publish January 2022 release create GH release * Update build yaml * Port interrupt fix to release branch (#8961) * Fix interrupting on Windows (#8949) * Try adding win32-api (not sure it will build on Unix) * Working interrupt on windows * Use a daemon to do the interrupting so we don't have to wait for a process to start * Add windows non conda test * Add news entry * Update 3rd party notices * Fix unit test * Remove logging to my own machine * Fix build and update changelog * Remove news file * Put changelog back * string change for kernel selection on walkthrough (#8964) * Publish release * Fix daemons and path problems (#9001) * Fix daemons and path problems (#8994) * Fix daemons and path problems * Skip stuff we don't need to get windows to run faster * Missed a section in package.json to get the tests to run on windows * Cherry pick the other test changes * Port timeout fix to release (#9003) * publish release * Put build-test back Co-authored-by: Don Jayamanne Co-authored-by: Soojin (Min) Choi Co-authored-by: Ian Huff --- CHANGELOG.md | 97 ++++++++++++++++++++++++++++++++------------- debugpy_logging.cmd | 3 ++ package.json | 2 +- 3 files changed, 73 insertions(+), 29 deletions(-) create mode 100644 debugpy_logging.cmd diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e42218dd56..7417d3aea5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,55 @@ # Changelog +## 2022.1.120 (January Release on 11 February 2022) + +### Fixes + +1. Fix daemon startup to work for non direct kernel cases + ([#8995](https://github.com/Microsoft/vscode-jupyter/issues/8995)) +1. Fix our waiting for RequestKernelInfo (might have been hurting raw kernel start some). + ([#8989](https://github.com/Microsoft/vscode-jupyter/issues/8989)) + +### Thanks + +Thanks to the following projects which we fully rely on to provide some of +our features: + +- [Python Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) +- [debugpy](https://pypi.org/project/debugpy/) + +Also thanks to the various projects we provide integrations with which help +make this extension useful: + +- [Jupyter](https://jupyter.org/): + [Notebooks](https://jupyter-notebook.readthedocs.io/en/latest/?badge=latest), + [JupyterHub](https://jupyterhub.readthedocs.io/en/stable/), + [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), + [nbconvert](https://nbconvert.readthedocs.io/en/latest/) + +## 2022.1.110 (January Release on 09 February 2022) + +### Fixes + +1. Fix kernel dying when interrupting on Windows. + ([#8945](https://github.com/Microsoft/vscode-jupyter/issues/8945)) + +### Thanks + +Thanks to the following projects which we fully rely on to provide some of +our features: + +- [Python Extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) +- [debugpy](https://pypi.org/project/debugpy/) + +Also thanks to the various projects we provide integrations with which help +make this extension useful: + +- [Jupyter](https://jupyter.org/): + [Notebooks](https://jupyter-notebook.readthedocs.io/en/latest/?badge=latest), + [JupyterHub](https://jupyterhub.readthedocs.io/en/stable/), + [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), + [nbconvert](https://nbconvert.readthedocs.io/en/latest/) + ## 2022.1.100 (January Release on 03 February 2022) ### Enhancements @@ -15,8 +65,7 @@ ([#8441](https://github.com/Microsoft/vscode-jupyter/issues/8441)) 1. Add support for pre-release version of Extensions for VS Code Insiders. ([#8463](https://github.com/Microsoft/vscode-jupyter/issues/8463)) -1. Allow to retrieve the jupyter filename programmatically (__vsc_ipynb_file__) [fix support for ClearML] - ([#8475](https://github.com/Microsoft/vscode-jupyter/issues/8475)) +1. Allow to retrieve the jupyter filename programmatically (**vsc_ipynb_file**) [fix support for ClearML](<[#8475](https://github.com/Microsoft/vscode-jupyter/issues/8475)>) 1. Display both local and remote kernels together in the kernel picker. ([#8489](https://github.com/Microsoft/vscode-jupyter/issues/8489)) @@ -48,7 +97,7 @@ ([#8285](https://github.com/Microsoft/vscode-jupyter/issues/8285)) 1. Make run file in interactive window respect cell boundaries. ([#8312](https://github.com/Microsoft/vscode-jupyter/issues/8312)) -1. Get ```%matplotlib qt5``` working again. +1. Get `%matplotlib qt5` working again. QT5's event loop is slightly different and can't handle concurrent requests so make sure to wait for a request before issuing another. ([#8322](https://github.com/Microsoft/vscode-jupyter/issues/8322)) 1. Fix problems when 'print' has been overridden by user code. @@ -145,25 +194,25 @@ make this extension useful: VS Code Stable releases along with the minimum recommended version of the Jupyter Extension. | Release | VS Code Stable | Recommended Jupyter Build | -| --------- | -------------- | --------------------------| -| November | 1.63.0 | **2021.11.100**1550889 | -| October | 1.62.0 | **2021.10.100**1414422 | -| September | 1.61.2 | **2021.9.110**1343141 | -| August | 1.60.2 | **2021.8.204**1215044 | -| July | 1.59.1 | **2021.8.123**6758218 | -| June | 1.58.2 | **2021.8.105**4968649 | +| --------- | -------------- | ------------------------- | +| November | 1.63.0 | **2021.11.100**1550889 | +| October | 1.62.0 | **2021.10.100**1414422 | +| September | 1.61.2 | **2021.9.110**1343141 | +| August | 1.60.2 | **2021.8.204**1215044 | +| July | 1.59.1 | **2021.8.123**6758218 | +| June | 1.58.2 | **2021.8.105**4968649 | ## 2021.11.100 (November Release on 8 December 2021) ### Enhancements 1. Performance improvements related to startup of Kernels. - * Support pre-warming Kernels to improve startup experience of Notebooks. ([#7903](https://github.com/microsoft/vscode-jupyter/issues/7903)) - * Faster activation of Python environments such as Conda. ([#8342](https://github.com/microsoft/vscode-jupyter/pull/8342)) - * Avoid starting default kernel when starting jupyter. ([#8185](https://github.com/microsoft/vscode-jupyter/issues/8185)) - * Avoid looking for IPyKernel when we've found it once before. ([#8196](https://github.com/microsoft/vscode-jupyter/issues/8196)) - * Avoid unnecessarily searching for `Jupyter` packages when `Jupyter` runtime isnt' rqeuired to start Kernels. ([#8350](https://github.com/microsoft/vscode-jupyter/issues/8350)) - ([#8352](https://github.com/Microsoft/vscode-jupyter/issues/8352)) + - Support pre-warming Kernels to improve startup experience of Notebooks. ([#7903](https://github.com/microsoft/vscode-jupyter/issues/7903)) + - Faster activation of Python environments such as Conda. ([#8342](https://github.com/microsoft/vscode-jupyter/pull/8342)) + - Avoid starting default kernel when starting jupyter. ([#8185](https://github.com/microsoft/vscode-jupyter/issues/8185)) + - Avoid looking for IPyKernel when we've found it once before. ([#8196](https://github.com/microsoft/vscode-jupyter/issues/8196)) + - Avoid unnecessarily searching for `Jupyter` packages when `Jupyter` runtime isnt' rqeuired to start Kernels. ([#8350](https://github.com/microsoft/vscode-jupyter/issues/8350)) + ([#8352](https://github.com/Microsoft/vscode-jupyter/issues/8352)) 1. Add diagnostics messages recommending the usage of `%pip install` & `%conda install` over `!pip install`. ([#6864](https://github.com/Microsoft/vscode-jupyter/issues/6864)) 1. Prompt and install `pip` if `pip` is not available when installing missing dependencies such as `ipykernel`. @@ -320,7 +369,7 @@ make this extension useful: ### Code Health -1. Replace instances of ```traceInfoIf``` with ```traceInfoIfCI``` as almost all of them were just for CI tracing. +1. Replace instances of `traceInfoIf` with `traceInfoIfCI` as almost all of them were just for CI tracing. ([#7574](https://github.com/Microsoft/vscode-jupyter/issues/7574)) 1. Upgrade to the latest jupyterlab/services API for communicating with kernels and jupyter servers. ([#7675](https://github.com/Microsoft/vscode-jupyter/issues/7675)) @@ -458,7 +507,6 @@ make this extension useful: [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), [nbconvert](https://nbconvert.readthedocs.io/en/latest/) - ## 2021.8.203 (August Release on 1 September 2021) ### Enhancements @@ -539,7 +587,6 @@ make this extension useful: [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), [nbconvert](https://nbconvert.readthedocs.io/en/latest/) - ## 2021.8.11 (July Release on 3 August 2021) ### Enhancements @@ -597,7 +644,6 @@ make this extension useful: ### Code Health - ## 2021.8.1 (June Release on 19 July 2021) ### Fixes @@ -635,7 +681,7 @@ make this extension useful: ([#6019](https://github.com/Microsoft/vscode-jupyter/issues/6019)) 1. Ship require.js with our notebook preloads and renderers. ([#6034](https://github.com/Microsoft/vscode-jupyter/issues/6034)) -1. Save output in *.ipynb even when output is created without any Jupyter output metadata. +1. Save output in \*.ipynb even when output is created without any Jupyter output metadata. ([#6192](https://github.com/Microsoft/vscode-jupyter/issues/6192)) 1. In preview native notebooks interface, contribute `ctrl+enter` keybinding which puts the current cell into control mode instead of leaving it in edit mode after running. ([#6198](https://github.com/Microsoft/vscode-jupyter/issues/6198)) @@ -698,7 +744,7 @@ make this extension useful: ### Enhancements -1. Data Viewer Filter Rows must use explicit wildcards to search for substrings in string filters. For example, filtering by "stable" will not show the value "unstable" anymore, but filtering by "*stable" will show "stable" and "unstable". +1. Data Viewer Filter Rows must use explicit wildcards to search for substrings in string filters. For example, filtering by "stable" will not show the value "unstable" anymore, but filtering by "\*stable" will show "stable" and "unstable". ([#1142](https://github.com/Microsoft/vscode-jupyter/issues/1142)) 1. Sort variables by name and type in variable explorer. ([#4585](https://github.com/Microsoft/vscode-jupyter/issues/4585)) @@ -900,7 +946,6 @@ make this extension useful: [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), [nbconvert](https://nbconvert.readthedocs.io/en/latest/) - ## 2021.5.1 (12 April 2021) ### Code Health @@ -1017,7 +1062,6 @@ make this extension useful: [JupyterHub](https://jupyterhub.readthedocs.io/en/stable/), [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), - ## 2021.3.0 (3 March 2021) ### Enhancements @@ -1081,7 +1125,6 @@ make this extension useful: [JupyterHub](https://jupyterhub.readthedocs.io/en/stable/), [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), - ## 2021.2.1 (28 February 2021) ### Fixes @@ -1268,7 +1311,7 @@ make this extension useful: ([#426](https://github.com/Microsoft/vscode-jupyter/issues/426)) 1. Correctly pass the candidate interpreter when exporting. ([#1363](https://github.com/Microsoft/vscode-jupyter/issues/1363)) -1. ```__file__``` variable not set after restarting kernel in the interactive window. +1. `__file__` variable not set after restarting kernel in the interactive window. ([#1373](https://github.com/Microsoft/vscode-jupyter/issues/1373)) 1. Fix the search path for Jupyter kernels on UNIX systems (thanks [Giulio Girardi](https://github.com/rapgenic/)) ([#3918](https://github.com/Microsoft/vscode-jupyter/issues/3918)) @@ -1308,7 +1351,6 @@ make this extension useful: [JupyterHub](https://jupyterhub.readthedocs.io/en/stable/), [ipywidgets](https://ipywidgets.readthedocs.io/en/latest/), - ## 2020.11.3 (03 December 2020) ### Fixes @@ -1372,7 +1414,6 @@ make this extension useful: ## 2020.11.0 (11 November 2020) - ### Thanks Thanks to the following projects which we fully rely on to provide some of diff --git a/debugpy_logging.cmd b/debugpy_logging.cmd new file mode 100644 index 00000000000..51503675911 --- /dev/null +++ b/debugpy_logging.cmd @@ -0,0 +1,3 @@ +set PYDEVD_DEBUG=1 +set DEBUGPY_LOG_DIR=%~dp0\tmp +set PYDEVD_DEBUG_FILE=%~dp0\tmp diff --git a/package.json b/package.json index 954f5c503fa..406ea59ed39 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ { "id": "jupyter.selectKernel", "title": "Select a Jupyter kernel", - "description": "Click Select Kernel at the top right of the notebook and choose the environment in which to run your kernel. Or, open the [Command Palette](command:workbench.action.showCommands) and run the command: \n``Notebook: Select Notebook Kernel``. \n[Open Command Palette to Select a Jupyter Kernel](command:workbench.action.showCommands)", + "description": "Click Select Kernel at the top right of the notebook and choose the environment in which to run your kernel. Or, with a notebook opened and in focus, open the [Command Palette](command:workbench.action.showCommands) and run the command: \n``Notebook: Select Notebook Kernel``. \n[Open Command Palette to Select a Jupyter Kernel](command:workbench.action.showCommands)", "media": { "image": "resources/walkthroughs/KernelPicker.gif", "altText": "Selecting or changing a notebook kernel"