Move conda installation from deprecated DEBs to Miniconda installer#1619
Merged
Kaniska244 merged 4 commits intodevcontainers:mainfrom Apr 14, 2026
Merged
Move conda installation from deprecated DEBs to Miniconda installer#1619Kaniska244 merged 4 commits intodevcontainers:mainfrom
Kaniska244 merged 4 commits intodevcontainers:mainfrom
Conversation
abdurriq
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref #1583
Description
Fixes the failing universal image build in devcontainers/images repository.
The conda dev container feature is installing the latest available conda version in anaconda
24.5.0but while installing any python library using conda upgrades conda to26.3.1which is incompatible with existing version of existing conda system python librarypluggy.Conda dev container feature's DEB packages are officially deprecated and the manual DEB download approach (introduced as a workaround for the APT SHA1 signature rejection) is not a supported installation method. This switches to the official Miniconda bash installer.
This current PR is an improvement on another PR which was work in progress.
Changes
src/conda/install.shMiniconda3-latest-Linux-{arch}.shinstaller run in batch mode (-b -p ${CONDA_DIR})x86_64-only tox86_64+aarch64via acasestatement mapping toMINICONDA_ARCHconda install conda=VERSIONwith explicit error handlingCONDA_SCRIPTnow uses${CONDA_DIR}variable consistentlysrc/conda/devcontainer-feature.json4.11.0/4.12.0to24.11.3/24.7.1Tests
scenarios.json: changes test version from4.12.0→latest(old versions are incompatible with modern Miniconda's bundled Python)install_conda.sh: removes the hard-coded version grep, retains conda-forge channel validationinstall_conda_package_after_upgrade.sh: A new test script to check installation of python libraries using different conda channels.conda_channel_creation.sh: A new test script to check conda channel creation.Checklist: