From 43c5f7f82015bdd25780d9807a6cfd276f650f23 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Mar 2026 05:27:50 +0000 Subject: [PATCH 1/4] Bump importlib-metadata from 8.7.1 to 9.0.0 Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 8.7.1 to 9.0.0. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v8.7.1...v9.0.0) --- updated-dependencies: - dependency-name: importlib-metadata dependency-version: 9.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 68850210d58c..2987f64ff09a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ # This file was autogenerated by uv via the following command: # uv pip compile --generate-hashes requirements.in -o requirements.txt -importlib-metadata==8.7.1 \ - --hash=sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb \ - --hash=sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151 +importlib-metadata==9.0.0 \ + --hash=sha256:2d21d1cc5a017bd0559e36150c21c830ab1dc304dedd1b7ea85d20f45ef3edd7 \ + --hash=sha256:a4f57ab599e6a2e3016d7595cfd72eb4661a5106e787a95bcc90c7105b831efc # via -r requirements.in microvenv==2025.0 \ --hash=sha256:568155ec18af01c89f270d35d123ab803b09672b480c3702d15fd69e9cc5bd1e \ From 9496361ca0dbf45d34ae4de33a803a604c362914 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 30 Mar 2026 15:21:31 -0700 Subject: [PATCH 2/4] Fix CI: bump VSIX build to Python 3.10 to support importlib-metadata 9.0.0 (#25879) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `importlib-metadata==9.0.0` requires Python >=3.10, but the VSIX build job was running under Python 3.9 — causing pip to reject the package entirely. Since Python 3.9 is EOL, the fix is to upgrade the build environment rather than downgrade the package. ## Changes - **`.github/actions/build-vsix/action.yml`**: Updated the JediLSP build step from Python 3.9 to Python 3.10, unblocking `importlib-metadata==9.0.0`.
Original prompt > Fix the failing GitHub Actions workflow "PR/CI Check / Create VSIX (ubuntu-latest, x86_64-unknown-linux-musl, alpine-x64) (pull_request)". > Analyze the workflow logs, identify the root cause of the failure, and implement a fix. > Job ID: 68304650771 > Job URL: /microsoft/vscode-python/actions/runs/23474615229/job/68304650771?pr=25878
--- 📱 Kick off Copilot coding agent tasks wherever you are with [GitHub Mobile](https://gh.io/cca-mobile-docs), available on iOS and Android. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com> --- .github/actions/build-vsix/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-vsix/action.yml b/.github/actions/build-vsix/action.yml index 40d8d73cb4c6..888809eb5cdf 100644 --- a/.github/actions/build-vsix/action.yml +++ b/.github/actions/build-vsix/action.yml @@ -31,10 +31,10 @@ runs: uses: dtolnay/rust-toolchain@stable # Jedi LS depends on dataclasses which is not in the stdlib in Python 3.7. - - name: Use Python 3.9 for JediLSP + - name: Use Python 3.10 for JediLSP uses: actions/setup-python@v6 with: - python-version: 3.9 + python-version: "3.10" cache: 'pip' cache-dependency-path: | requirements.txt From 991f396d5d1189c9594a8b7b06024058b2f30ab3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 18:45:31 +0000 Subject: [PATCH 3/4] Update Python test matrix from 3.9 to 3.10 Agent-Logs-Url: https://github.com/microsoft/vscode-python/sessions/84bcccdc-ad5e-4bf0-8638-02ef16db88bf Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- .github/workflows/pr-check.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 42447b873b3b..09d019dec4a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -174,7 +174,7 @@ jobs: # macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case. os: [ubuntu-latest, windows-latest] # Run the tests on the oldest and most recent versions of Python. - python: ['3.9', '3.x', '3.13'] + python: ['3.10', '3.x', '3.13'] steps: - name: Checkout diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 2a0bbb598cb0..c8a6f2dd416e 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -157,7 +157,7 @@ jobs: # macOS runners are expensive, and we assume that Ubuntu is enough to cover the Unix case. os: [ubuntu-latest, windows-latest] # Run the tests on the oldest and most recent versions of Python. - python: ['3.9', '3.x', '3.13'] # run for 3 pytest versions, most recent stable, oldest version supported and pre-release + python: ['3.10', '3.x', '3.13'] # run for 3 pytest versions, most recent stable, oldest version supported and pre-release pytest-version: ['pytest', 'pytest@pre-release', 'pytest==6.2.0'] steps: From 532f020e3cc6f617224ede4a6c14a35a3a9104a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 18:50:38 +0000 Subject: [PATCH 4/4] Fix Prettier formatting in .github/actions/build-vsix/action.yml Agent-Logs-Url: https://github.com/microsoft/vscode-python/sessions/ddae7324-a3ac-48a8-a765-612319ecb9e6 Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com> --- .github/actions/build-vsix/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-vsix/action.yml b/.github/actions/build-vsix/action.yml index 888809eb5cdf..912ff2c34a74 100644 --- a/.github/actions/build-vsix/action.yml +++ b/.github/actions/build-vsix/action.yml @@ -34,7 +34,7 @@ runs: - name: Use Python 3.10 for JediLSP uses: actions/setup-python@v6 with: - python-version: "3.10" + python-version: '3.10' cache: 'pip' cache-dependency-path: | requirements.txt