Skip to content

fix(devcontainer): bump to v3 Python image to fix Yarn GPG key failure#781

Open
PureWeen wants to merge 1 commit intogithub:mainfrom
PureWeen:fix/devcontainer-yarn-gpg
Open

fix(devcontainer): bump to v3 Python image to fix Yarn GPG key failure#781
PureWeen wants to merge 1 commit intogithub:mainfrom
PureWeen:fix/devcontainer-yarn-gpg

Conversation

@PureWeen
Copy link

The v2 base image (mcr.microsoft.com/devcontainers/python:2-3.14-trixie) ships with a Yarn Classic APT repository whose GPG key has expired, causing apt-get update to fail during feature installation and breaking the entire devcontainer build.

Bumps to the v3 image (python:3-3.14-trixie, published 2026-01-30) which no longer includes the Yarn APT repo, resolving the issue without any additional workarounds.

Ref: devcontainers/images#1797

The v2 base image (mcr.microsoft.com/devcontainers/python:2-3.14-trixie)
ships with a Yarn Classic APT repository whose GPG key has expired,
causing apt-get update to fail during feature installation and breaking
the entire devcontainer build.

Bump to the v3 image (python:3-3.14-trixie, published 2026-01-30) which
no longer includes the Yarn APT repo, resolving the issue without any
additional workarounds.

Ref: devcontainers/images#1797
@PureWeen PureWeen requested a review from a team as a code owner March 10, 2026 18:57
Copilot AI review requested due to automatic review settings March 10, 2026 18:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s devcontainer base image to avoid a devcontainer build failure caused by an expired Yarn Classic APT repo GPG key in the v2 Python devcontainer image.

Changes:

  • Bump .devcontainer/devcontainer.json base image from mcr.microsoft.com/devcontainers/python:2-3.14-trixie to mcr.microsoft.com/devcontainers/python:3-3.14-trixie.

You can also share your feedback on Copilot code review. Take the survey.

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