Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Miniforge3/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ channels:
# - https://conda.anaconda.org/conda-forge
- conda-forge

mirrored_channels:
conda-forge:
- "https://conda.anaconda.org/conda-forge"
- "https://prefix.dev/conda-forge"

write_condarc: True
# keep pkgs for space-saving implications for hardlinks when create new environments
# and keep the same with Miniconda
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ MINIFORGE_CHANNEL_NAME="${MINIFORGE_CHANNEL_NAME:-conda-forge}"
mamba install --yes \
--channel "${MINIFORGE_CHANNEL_NAME}" --override-channels \
jinja2 curl libarchive \
"constructor>=3.11.2"
"constructor>=3.12.0"

if [[ "$(uname)" == "Darwin" ]]; then
mamba install --yes \
Expand Down
3 changes: 3 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ echo "+ Testing mamba channels"
mamba info --json | python -c "import sys, json; info = json.loads(sys.stdin.read()); assert any('${MINIFORGE_CHANNEL_NAME}' in c for c in info['channels']), info"
echo " OK"

echo "+ Testing mirrored channels"
mamba config list --json | python -c "import sys, json; info = json.loads(sys.stdin.read()); assert info['mirrored_channels']['conda-forge'] == ['https://conda.anaconda.org/conda-forge','https://prefix.dev/conda-forge']"

echo "***** Python path *****"
python -c "import sys; print(sys.executable)"
python -c "import sys; assert 'miniforge' in sys.executable"
Expand Down
Loading