chore(deps): update mcr.microsoft.com/devcontainers/universal docker tag to v6#41
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the dev container image version from 2 to 6. A review comment highlights that this upgrade to an Ubuntu 24.04-based image will cause pip installation failures due to PEP 668 ('Externally Managed Environments') restrictions, necessitating changes to how dependencies are installed.
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "image": "mcr.microsoft.com/devcontainers/universal:2", | |||
| "image": "mcr.microsoft.com/devcontainers/universal:6", | |||
There was a problem hiding this comment.
Updating to version 6 (based on Ubuntu 24.04) will cause the updateContentCommand on line 7 to fail. Ubuntu 24.04 enforces PEP 668 ('Externally Managed Environments'), which prevents pip from installing packages into the system Python environment. To resolve this, the command should be updated to use a virtual environment or include the --break-system-packages flag. Additionally, pinned dependencies like torchvision==0.16.2 in requirements.txt may require updates to maintain compatibility with the default Python 3.12 environment provided by this image.
This PR contains the following updates:
2→6Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.