From 1b2859ecf00f4346f713473ec049a412cdde5487 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Thu, 14 Oct 2021 02:10:37 -0500 Subject: [PATCH] Merge release-2021.10 into main (microsoft/vscode-python#17736) * Use correct python executable when running code using Python execution factory (microsoft/vscode-python#17614) * pin to debugpy verion 1.4.3 * Pin debugpy (microsoft/vscode-python#17619) * pin to debugpy verion 1.4.3 * Pin to particular version of debugpy. * Ensure database storage extension uses to track all storages does not grow unnecessarily (microsoft/vscode-python#17598) * Ensure central storage to track keys for other storage never contain duplicate entries * News entry * Add tests * Add more test cases * Fix storage for function * Fix handling of empty directories in debugpy wheels when combining them. (microsoft/vscode-python#17620) Add filename logging when combining wheels. Update debugpy to 1.5.0. * Update news items for cherry picked. (microsoft/vscode-python#17624) * Pin wrapt to 1.12.1 (microsoft/vscode-python#17630) (microsoft/vscode-python#17631) * Use conda-forge when installing into conda envs (microsoft/vscode-python#17629) (microsoft/vscode-python#17632) Co-authored-by: Brett Cannon * Ensure keys whose default value type is an array are not duplicated (microsoft/vscode-python#17627) (microsoft/vscode-python#17634) * Update version and changelog for release (microsoft/vscode-python#17647) * Update release date in change log * Add thanks to change log. * Fix for formatting notebook cells. (microsoft/vscode-python#17650) * Fix for formatting notebook cells. * Ensure we check language id. * Hide walkthrough if on the web (microsoft/vscode-python#17638) * Log commands run by the discovery component in the output channel (microsoft/vscode-python#17670) * Log commands run by the discovery component in the output channel * Remove outdated comments * Ensure commands run are not logged twice in Python output channel (microsoft/vscode-python#17697) * Ensure commands run are not logged twice in Python output channel * News entry * Hide UI elements that are not applicable when using `github.dev` (microsoft/vscode-python#17698) * Hide UI elements that are not applicable when using VS Code Web * Fix indentaiton * News entry * Disable welcome view for testing * Localize strings on `github.dev` using VSCode FS API (microsoft/vscode-python#17711) * Change localization in the extension to be async and use the VS Code APIs * News entry * Modify error thrown * Move localization into separate module * Update news entry * Oops * Refactor so code is not duplicated * Fix tests * Oopsp * Fix lint * Provide IntelliSense status information when using `github.dev` (microsoft/vscode-python#17658) * Provide IntelliSense status information when using github.dev * News entry * Update wording * PR reviews * Include proposed APIs for browser config * Include common module for browser config * Change how we detect * Change wording * Have same browser config as extension config * Revert "Have same browser config as extension config" This reverts commit 515003aee2fa4a44105f22c4749f1fa721be6bcf. * Revert "Change wording" This reverts commit dd64f24d4c4c8cb763d9fa3aa5a2eb5808b5af9b. * Revert "Change how we detect" This reverts commit ae5607994f30b54158315c72a46583e7cf286fb2. * Revert "Include common module for browser config" This reverts commit bf1815c9b8aaa9091c37d54cf010ff3bd46c8ab4. * Do not import from misc module * Detect how we check if property exists * Do not localize strings * Localize strings using new localize module * Remove outdated comment * Localize 'learn more' text (microsoft/vscode-python#17714) * Update version and change log for point release (microsoft/vscode-python#17717) Co-authored-by: Kartik Raj Co-authored-by: Pavel Minaev Co-authored-by: Don Jayamanne Co-authored-by: Brett Cannon Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> --- extensions/positron-python/CHANGELOG.md | 143 +++++++++++++++++- .../news/1 Enhancements/17658.md | 1 - .../positron-python/news/2 Fixes/16980.md | 1 - .../positron-python/news/2 Fixes/17252.md | 1 - .../positron-python/news/2 Fixes/17488.md | 1 - .../positron-python/news/2 Fixes/17628.md | 1 - .../positron-python/news/2 Fixes/17712.md | 1 - .../positron-python/news/2 Fixes/7160.md | 1 - .../news/3 Code Health/16732.md | 1 - 9 files changed, 140 insertions(+), 11 deletions(-) delete mode 100644 extensions/positron-python/news/1 Enhancements/17658.md delete mode 100644 extensions/positron-python/news/2 Fixes/16980.md delete mode 100644 extensions/positron-python/news/2 Fixes/17252.md delete mode 100644 extensions/positron-python/news/2 Fixes/17488.md delete mode 100644 extensions/positron-python/news/2 Fixes/17628.md delete mode 100644 extensions/positron-python/news/2 Fixes/17712.md delete mode 100644 extensions/positron-python/news/2 Fixes/7160.md delete mode 100644 extensions/positron-python/news/3 Code Health/16732.md diff --git a/extensions/positron-python/CHANGELOG.md b/extensions/positron-python/CHANGELOG.md index 79dc5ad9185..dfc3dff407c 100644 --- a/extensions/positron-python/CHANGELOG.md +++ b/extensions/positron-python/CHANGELOG.md @@ -1,6 +1,84 @@ # Changelog -## 2021.10.0-rc (4 October 2021) +## 2021.10.1 (13 October 2021) + +### Enhancements + +1. Provide IntelliSense status information when using `github.dev` or any other web platform. + ([#17658](https://github.com/Microsoft/vscode-python/issues/17658)) + +### Fixes + +1. Ensure commands run are not logged twice in Python output channel. + ([#7160](https://github.com/Microsoft/vscode-python/issues/7160)) +1. Ensure we use fragment when formatting notebook cells. + ([#16980](https://github.com/Microsoft/vscode-python/issues/16980)) +1. Hide UI elements that are not applicable when using `github.dev` or any other web platform. + ([#17252](https://github.com/Microsoft/vscode-python/issues/17252)) +1. Localize strings on `github.dev` using VSCode FS API. + ([#17712](https://github.com/Microsoft/vscode-python/issues/17712)) + +### Code Health + +1. Log commands run by the discovery component in the output channel. + ([#16732](https://github.com/Microsoft/vscode-python/issues/16732)) + +### Thanks + +Thanks to the following projects which we fully rely on to provide some of +our features: + +- [debugpy](https://pypi.org/project/debugpy/) +- [isort](https://pypi.org/project/isort/) +- [jedi](https://pypi.org/project/jedi/) + and [parso](https://pypi.org/project/parso/) +- [jedi-language-server](https://pypi.org/project/jedi-language-server/) +- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server) +- [Pylance](https://github.com/microsoft/pylance-release) +- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed) +- [rope](https://pypi.org/project/rope/) (user-installed) + +Also thanks to the various projects we provide integrations with which help +make this extension useful: + +- Debugging support: + [Django](https://pypi.org/project/Django/), + [Flask](https://pypi.org/project/Flask/), + [gevent](https://pypi.org/project/gevent/), + [Jinja](https://pypi.org/project/Jinja/), + [Pyramid](https://pypi.org/project/pyramid/), + [PySpark](https://pypi.org/project/pyspark/), + [Scrapy](https://pypi.org/project/Scrapy/), + [Watson](https://pypi.org/project/Watson/) +- Formatting: + [autopep8](https://pypi.org/project/autopep8/), + [black](https://pypi.org/project/black/), + [yapf](https://pypi.org/project/yapf/) +- Interpreter support: + [conda](https://conda.io/), + [direnv](https://direnv.net/), + [pipenv](https://pypi.org/project/pipenv/), + [poetry](https://pypi.org/project/poetry/), + [pyenv](https://github.com/pyenv/pyenv), + [venv](https://docs.python.org/3/library/venv.html#module-venv), + [virtualenv](https://pypi.org/project/virtualenv/) +- Linting: + [bandit](https://pypi.org/project/bandit/), + [flake8](https://pypi.org/project/flake8/), + [mypy](https://pypi.org/project/mypy/), + [prospector](https://pypi.org/project/prospector/), + [pylint](https://pypi.org/project/pylint/), + [pydocstyle](https://pypi.org/project/pydocstyle/), + [pylama](https://pypi.org/project/pylama/) +- Testing: + [pytest](https://pypi.org/project/pytest/), + [unittest](https://docs.python.org/3/library/unittest.html#module-unittest) + +And finally thanks to the [Python](https://www.python.org/) development team and +community for creating a fantastic programming language and community to be a +part of! + +## 2021.10.0 (7 October 2021) ### Enhancements @@ -10,7 +88,7 @@ ([#11995](https://github.com/Microsoft/vscode-python/issues/11995)) 1. Add support for dynamic updates in interpreter list. ([#17043](https://github.com/Microsoft/vscode-python/issues/17043)) -1. Query for fresh workspace envs when autoselecting interpreters in a new workspace. +1. Query for fresh workspace envs when auto-selecting interpreters in a new workspace. ([#17264](https://github.com/Microsoft/vscode-python/issues/17264)) 1. Increase Microsoft Python Language Server deprecation prompt frequency and update wording. ([#17361](https://github.com/Microsoft/vscode-python/issues/17361)) @@ -55,15 +133,19 @@ 1. Improve pattern matching for shell detection on Windows. (thanks [Erik Demaine](https://github.com/edemaine/)) ([#17426](https://github.com/Microsoft/vscode-python/issues/17426)) -1. Changed the way of searching left bracket [ in case of subsets of tests. +1. Changed the way of searching left bracket `[` in case of subsets of tests. (thanks [ilexei](https://github.com/ilexei)) ([#17461](https://github.com/Microsoft/vscode-python/issues/17461)) 1. Fix hang caused by loop in getting interpreter information. ([#17484](https://github.com/Microsoft/vscode-python/issues/17484)) +1. Ensure database storage extension uses to track all storages does not grow unnecessarily. + ([#17488](https://github.com/Microsoft/vscode-python/issues/17488)) 1. Ensure all users use new discovery code regardless of their experiment settings. ([#17563](https://github.com/Microsoft/vscode-python/issues/17563)) 1. Add timeout when discovery runs `conda info --json` command. ([#17576](https://github.com/Microsoft/vscode-python/issues/17576)) +1. Use `conda-forge` channel when installing packages into conda environments. + ([#17628](https://github.com/Microsoft/vscode-python/issues/17628)) ### Code Health @@ -76,6 +158,61 @@ 1. Fix linting for some files in .eslintignore. ([#17181](https://github.com/Microsoft/vscode-python/issues/17181)) +### Thanks + +Thanks to the following projects which we fully rely on to provide some of +our features: + +- [debugpy](https://pypi.org/project/debugpy/) +- [isort](https://pypi.org/project/isort/) +- [jedi](https://pypi.org/project/jedi/) + and [parso](https://pypi.org/project/parso/) +- [jedi-language-server](https://pypi.org/project/jedi-language-server/) +- [Microsoft Python Language Server](https://github.com/microsoft/python-language-server) +- [Pylance](https://github.com/microsoft/pylance-release) +- [exuberant ctags](http://ctags.sourceforge.net/) (user-installed) +- [rope](https://pypi.org/project/rope/) (user-installed) + +Also thanks to the various projects we provide integrations with which help +make this extension useful: + +- Debugging support: + [Django](https://pypi.org/project/Django/), + [Flask](https://pypi.org/project/Flask/), + [gevent](https://pypi.org/project/gevent/), + [Jinja](https://pypi.org/project/Jinja/), + [Pyramid](https://pypi.org/project/pyramid/), + [PySpark](https://pypi.org/project/pyspark/), + [Scrapy](https://pypi.org/project/Scrapy/), + [Watson](https://pypi.org/project/Watson/) +- Formatting: + [autopep8](https://pypi.org/project/autopep8/), + [black](https://pypi.org/project/black/), + [yapf](https://pypi.org/project/yapf/) +- Interpreter support: + [conda](https://conda.io/), + [direnv](https://direnv.net/), + [pipenv](https://pypi.org/project/pipenv/), + [poetry](https://pypi.org/project/poetry/), + [pyenv](https://github.com/pyenv/pyenv), + [venv](https://docs.python.org/3/library/venv.html#module-venv), + [virtualenv](https://pypi.org/project/virtualenv/) +- Linting: + [bandit](https://pypi.org/project/bandit/), + [flake8](https://pypi.org/project/flake8/), + [mypy](https://pypi.org/project/mypy/), + [prospector](https://pypi.org/project/prospector/), + [pylint](https://pypi.org/project/pylint/), + [pydocstyle](https://pypi.org/project/pydocstyle/), + [pylama](https://pypi.org/project/pylama/) +- Testing: + [pytest](https://pypi.org/project/pytest/), + [unittest](https://docs.python.org/3/library/unittest.html#module-unittest) + +And finally thanks to the [Python](https://www.python.org/) development team and +community for creating a fantastic programming language and community to be a +part of! + ## 2021.9.3 (20 September 2021) ### Fixes diff --git a/extensions/positron-python/news/1 Enhancements/17658.md b/extensions/positron-python/news/1 Enhancements/17658.md deleted file mode 100644 index 48023372756..00000000000 --- a/extensions/positron-python/news/1 Enhancements/17658.md +++ /dev/null @@ -1 +0,0 @@ -Provide IntelliSense status information when using `github.dev` or any other web platform. diff --git a/extensions/positron-python/news/2 Fixes/16980.md b/extensions/positron-python/news/2 Fixes/16980.md deleted file mode 100644 index 2338273d3c2..00000000000 --- a/extensions/positron-python/news/2 Fixes/16980.md +++ /dev/null @@ -1 +0,0 @@ -Ensure we use fragment when formatting notebook cells. diff --git a/extensions/positron-python/news/2 Fixes/17252.md b/extensions/positron-python/news/2 Fixes/17252.md deleted file mode 100644 index bbe585b0199..00000000000 --- a/extensions/positron-python/news/2 Fixes/17252.md +++ /dev/null @@ -1 +0,0 @@ -Hide UI elements that are not applicable when using `github.dev` or any other web platform. diff --git a/extensions/positron-python/news/2 Fixes/17488.md b/extensions/positron-python/news/2 Fixes/17488.md deleted file mode 100644 index a80def2f42f..00000000000 --- a/extensions/positron-python/news/2 Fixes/17488.md +++ /dev/null @@ -1 +0,0 @@ -Ensure database storage extension uses to track all storages does not grow unnecessarily. diff --git a/extensions/positron-python/news/2 Fixes/17628.md b/extensions/positron-python/news/2 Fixes/17628.md deleted file mode 100644 index db34bdcc74e..00000000000 --- a/extensions/positron-python/news/2 Fixes/17628.md +++ /dev/null @@ -1 +0,0 @@ -Use `conda-forge` channel when installing packages into conda environments. diff --git a/extensions/positron-python/news/2 Fixes/17712.md b/extensions/positron-python/news/2 Fixes/17712.md deleted file mode 100644 index 35ec2f5dfee..00000000000 --- a/extensions/positron-python/news/2 Fixes/17712.md +++ /dev/null @@ -1 +0,0 @@ -Localize strings on `github.dev` using VSCode FS API. diff --git a/extensions/positron-python/news/2 Fixes/7160.md b/extensions/positron-python/news/2 Fixes/7160.md deleted file mode 100644 index a7765d71ec1..00000000000 --- a/extensions/positron-python/news/2 Fixes/7160.md +++ /dev/null @@ -1 +0,0 @@ -Ensure commands run are not logged twice in Python output channel. diff --git a/extensions/positron-python/news/3 Code Health/16732.md b/extensions/positron-python/news/3 Code Health/16732.md deleted file mode 100644 index e1cd9df7589..00000000000 --- a/extensions/positron-python/news/3 Code Health/16732.md +++ /dev/null @@ -1 +0,0 @@ -Log commands run by the discovery component in the output channel.