Skip to content

Fix CI: pin importlib-metadata to 8.7.1 for Python 3.9 compatibility#25879

Draft
Copilot wants to merge 2 commits intodependabot/pip/importlib-metadata-9.0.0from
copilot/fix-github-actions-workflow
Draft

Fix CI: pin importlib-metadata to 8.7.1 for Python 3.9 compatibility#25879
Copilot wants to merge 2 commits intodependabot/pip/importlib-metadata-9.0.0from
copilot/fix-github-actions-workflow

Conversation

Copy link

Copilot AI commented Mar 24, 2026

importlib-metadata==9.0.0 (resolved by uv pip compile without a target Python version) requires Python >=3.10, but the VSIX build job runs under Python 3.9 — causing pip to reject the package entirely.

Changes

  • requirements.txt: Regenerated with --python-version 3.9, resolving importlib-metadata to 8.7.1 (latest version supporting Python 3.9) and updating its zipp dependency hash accordingly.
  • requirements.in: Updated the regeneration command comment to include --python-version 3.9 to prevent the same regression when the file is regenerated in the future.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • releases.astral.sh
    • Triggering command: /home/REDACTED/.local/bin/uv /home/REDACTED/.local/bin/uv pip compile --generate-hashes --python-version 3.9 requirements.in -o /tmp/new_requirements.txt (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants