Skip to content

Commit 9496361

Browse files
Copilotrzhao271
andauthored
Fix CI: bump VSIX build to Python 3.10 to support importlib-metadata 9.0.0 (#25879)
`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`. <!-- START COPILOT CODING AGENT SUFFIX --> <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > 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 </details> <!-- START COPILOT CODING AGENT TIPS --> --- 📱 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>
1 parent 43c5f7f commit 9496361

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/build-vsix/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ runs:
3131
uses: dtolnay/rust-toolchain@stable
3232

3333
# Jedi LS depends on dataclasses which is not in the stdlib in Python 3.7.
34-
- name: Use Python 3.9 for JediLSP
34+
- name: Use Python 3.10 for JediLSP
3535
uses: actions/setup-python@v6
3636
with:
37-
python-version: 3.9
37+
python-version: "3.10"
3838
cache: 'pip'
3939
cache-dependency-path: |
4040
requirements.txt

0 commit comments

Comments
 (0)