From 5ec4d5d9ce70c6ab986456821b6823280de39fcc Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Thu, 7 Jul 2022 12:19:29 -0700 Subject: [PATCH 1/2] Update release version. (#19422) --- CHANGELOG.md | 32 ++++++++++++++++---------------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e1f9f9e666b..02d9211560f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,31 +1,31 @@ # Changelog -## 2022.10.0-rc (7 July 2022) +## 2022.10.0 (7 July 2022) ### Enhancements - Add `breakpoint` support for `django-html` & `django-txt` by Lakshmikanth2001 in https://github.com/microsoft/vscode-python/pull/19288 -- Fix `unittest` discovery issue with experimental component by [ksy7588](https://githib.com/ksy7588) in ([#19324](https://github.com/microsoft/vscode-python/pull/19324)). -- Trigger refresh when using `Select Interpreter` command if no envs were found previously by [karrtikr](https://githib.com/karrtikr) in ([#19361](https://github.com/microsoft/vscode-python/pull/19361)). +- Fix `unittest` discovery issue with experimental component by [ksy7588](https://github.com/ksy7588) in ([#19324](https://github.com/microsoft/vscode-python/pull/19324)). +- Trigger refresh when using `Select Interpreter` command if no envs were found previously by [karrtikr](https://github.com/karrtikr) in ([#19361](https://github.com/microsoft/vscode-python/pull/19361)). ### Bug Fixes -- Fix variable name for `flake8Path`'s description by [usta](https://githib.com/usta) in ([#19313](https://github.com/microsoft/vscode-python/pull/19313)). -- Ensure we dispose objects on deactivate by [karthiknadig](https://githib.com/karthiknadig) in ([#19341](https://github.com/microsoft/vscode-python/pull/19341)). -- Ensure we can change interpreters after trusting a workspace by [karrtikr](https://githib.com/karrtikr) in ([#19353](https://github.com/microsoft/vscode-python/pull/19353)). -- Fix for `::::` in node id for `pytest` by [karthiknadig](https://githib.com/karthiknadig) in ([#19356](https://github.com/microsoft/vscode-python/pull/19356)). -- Ensure we register for interpreter change when moving from untrusted to trusted. by [karthiknadig](https://githib.com/karthiknadig) in ([#19351](https://github.com/microsoft/vscode-python/pull/19351)). +- Fix variable name for `flake8Path`'s description by [usta](https://github.com/usta) in ([#19313](https://github.com/microsoft/vscode-python/pull/19313)). +- Ensure we dispose objects on deactivate by [karthiknadig](https://github.com/karthiknadig) in ([#19341](https://github.com/microsoft/vscode-python/pull/19341)). +- Ensure we can change interpreters after trusting a workspace by [karrtikr](https://github.com/karrtikr) in ([#19353](https://github.com/microsoft/vscode-python/pull/19353)). +- Fix for `::::` in node id for `pytest` by [karthiknadig](https://github.com/karthiknadig) in ([#19356](https://github.com/microsoft/vscode-python/pull/19356)). +- Ensure we register for interpreter change when moving from untrusted to trusted. by [karthiknadig](https://github.com/karthiknadig) in ([#19351](https://github.com/microsoft/vscode-python/pull/19351)). ### Code Health -- Update CI for using GitHub Actions for release notes by [brettcannon](https://githib.com/brettcannon) in ([#19273](https://github.com/microsoft/vscode-python/pull/19273)). -- Add missing translations by [paulacamargo25](https://githib.com/paulacamargo25) in ([#19305](https://github.com/microsoft/vscode-python/pull/19305)). -- Delete the `news` directory by [brettcannon](https://githib.com/brettcannon) in ([#19308](https://github.com/microsoft/vscode-python/pull/19308)). -- Fix interpreter discovery related telemetry by [karrtikr](https://githib.com/karrtikr) in ([#19319](https://github.com/microsoft/vscode-python/pull/19319)). -- Simplify and merge async dispose and dispose by [karthiknadig](https://githib.com/karthiknadig) in ([#19348](https://github.com/microsoft/vscode-python/pull/19348)). -- Updating required packages by [karthiknadig](https://githib.com/karthiknadig) in ([#19375](https://github.com/microsoft/vscode-python/pull/19375)). -- Update the issue notebook by [brettcannon](https://githib.com/brettcannon) in ([#19388](https://github.com/microsoft/vscode-python/pull/19388)). -- Remove `notebookeditor` proposed API by [karthiknadig](https://githib.com/karthiknadig) in ([#19392](https://github.com/microsoft/vscode-python/pull/19392)). +- Update CI for using GitHub Actions for release notes by [brettcannon](https://github.com/brettcannon) in ([#19273](https://github.com/microsoft/vscode-python/pull/19273)). +- Add missing translations by [paulacamargo25](https://github.com/paulacamargo25) in ([#19305](https://github.com/microsoft/vscode-python/pull/19305)). +- Delete the `news` directory by [brettcannon](https://github.com/brettcannon) in ([#19308](https://github.com/microsoft/vscode-python/pull/19308)). +- Fix interpreter discovery related telemetry by [karrtikr](https://github.com/karrtikr) in ([#19319](https://github.com/microsoft/vscode-python/pull/19319)). +- Simplify and merge async dispose and dispose by [karthiknadig](https://github.com/karthiknadig) in ([#19348](https://github.com/microsoft/vscode-python/pull/19348)). +- Updating required packages by [karthiknadig](https://github.com/karthiknadig) in ([#19375](https://github.com/microsoft/vscode-python/pull/19375)). +- Update the issue notebook by [brettcannon](https://github.com/brettcannon) in ([#19388](https://github.com/microsoft/vscode-python/pull/19388)). +- Remove `notebookeditor` proposed API by [karthiknadig](https://github.com/karthiknadig) in ([#19392](https://github.com/microsoft/vscode-python/pull/19392)). **Full Changelog**: https://github.com/microsoft/vscode-python/compare/2022.8.1...2022.10.0 diff --git a/package-lock.json b/package-lock.json index 0b5870b894ed..0b880b90f5dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "python", - "version": "2022.10.0-rc", + "version": "2022.10.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "python", - "version": "2022.10.0-rc", + "version": "2022.10.0", "license": "MIT", "dependencies": { "@vscode/extension-telemetry": "^0.6.2", diff --git a/package.json b/package.json index 297be365ca0c..76f4d5c81739 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "python", "displayName": "Python", "description": "IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit tests, and more.", - "version": "2022.10.0-rc", + "version": "2022.10.0", "featureFlags": { "usingNewInterpreterStorage": true }, From 367caa53448b1b66bfe2e539d433dd9148d12ea0 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Thu, 7 Jul 2022 15:00:40 -0700 Subject: [PATCH 2/2] Update debugpy to 1.6.2 (#19424) --- CHANGELOG.md | 3 ++- pythonFiles/install_debugpy.py | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d9211560f3..8c462f916165 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,10 @@ ### Enhancements -- Add `breakpoint` support for `django-html` & `django-txt` by Lakshmikanth2001 in https://github.com/microsoft/vscode-python/pull/19288 +- Add `breakpoint` support for `django-html` & `django-txt` by [Lakshmikanth2001](https://github.com/Lakshmikanth2001) in ([#19288](https://github.com/microsoft/vscode-python/pull/19288)). - Fix `unittest` discovery issue with experimental component by [ksy7588](https://github.com/ksy7588) in ([#19324](https://github.com/microsoft/vscode-python/pull/19324)). - Trigger refresh when using `Select Interpreter` command if no envs were found previously by [karrtikr](https://github.com/karrtikr) in ([#19361](https://github.com/microsoft/vscode-python/pull/19361)). +- Update `debugpy` to 1.6.2. ### Bug Fixes diff --git a/pythonFiles/install_debugpy.py b/pythonFiles/install_debugpy.py index e7acedf8aedb..593580d6a211 100644 --- a/pythonFiles/install_debugpy.py +++ b/pythonFiles/install_debugpy.py @@ -1,16 +1,19 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import io import json import os import urllib.request as url_lib import zipfile -from packaging.version import parse as version_parser +from packaging.version import parse as version_parser EXTENSION_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) DEBUGGER_DEST = os.path.join(EXTENSION_ROOT, "pythonFiles", "lib", "python") DEBUGGER_PACKAGE = "debugpy" DEBUGGER_PYTHON_ABI_VERSIONS = ("cp39",) -DEBUGGER_VERSION = "1.6.0" # can also be "latest" +DEBUGGER_VERSION = "1.6.2" # can also be "latest" def _contains(s, parts=()):