Skip to content

Fix CI: bump VSIX build to Python 3.10 to support importlib-metadata 9.0.0#25879

Merged
rzhao271 merged 3 commits intodependabot/pip/importlib-metadata-9.0.0from
copilot/fix-github-actions-workflow
Mar 30, 2026
Merged

Fix CI: bump VSIX build to Python 3.10 to support importlib-metadata 9.0.0#25879
rzhao271 merged 3 commits intodependabot/pip/importlib-metadata-9.0.0from
copilot/fix-github-actions-workflow

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 24, 2026

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, available on iOS and Android.

Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow for VSIX creation Fix CI: pin importlib-metadata to 8.7.1 for Python 3.9 compatibility Mar 24, 2026
Copilot AI requested a review from rzhao271 March 24, 2026 17:13
@rzhao271
Copy link
Copy Markdown

@copilot Bump import-metadata instead and drop 3.9 compat since 3.9 is EOL.

Copy link
Copy Markdown
Author

Copilot AI commented Mar 30, 2026

@copilot Bump import-metadata instead and drop 3.9 compat since 3.9 is EOL.

Done in 643c5ce. Reverted requirements.txt and requirements.in to keep importlib-metadata==9.0.0, and updated .github/actions/build-vsix/action.yml to use Python 3.10 instead of 3.9.

Copilot AI changed the title Fix CI: pin importlib-metadata to 8.7.1 for Python 3.9 compatibility Fix CI: bump VSIX build to Python 3.10 to support importlib-metadata 9.0.0 Mar 30, 2026
@rzhao271 rzhao271 marked this pull request as ready for review March 30, 2026 22:21
@rzhao271 rzhao271 merged commit 9496361 into dependabot/pip/importlib-metadata-9.0.0 Mar 30, 2026
62 of 77 checks passed
@rzhao271 rzhao271 deleted the copilot/fix-github-actions-workflow branch March 30, 2026 22:21
@rzhao271 rzhao271 added this to the 1.115.0 milestone Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog No news entry required skip-issue-check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants