Skip to content

Commit

Permalink
Use another channel name to avoid interfering with conda-forge
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Jun 7, 2024
1 parent eefebb3 commit 79e4db0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions micromamba/tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,13 +1173,13 @@ def test_create_with_multi_channels_and_non_existing_subdir(tmp_home, tmp_root_p


oci_registry_config = {
"mirrored_channels": {"conda-forge": ["oci://ghcr.io/channel-mirrors/conda-forge"]},
"mirrored_channels": {"oci_channel": ["oci://ghcr.io/channel-mirrors/conda-forge"]},
# `repodata_use_zst` isn't considered when fetching from oci registries
# since compressed repodata is handled internally
# (if present, compressed repodata is necessarily fetched)
# Setting `repodata_use_zst` to `False` avoids useless requests with
# Setting `repodata_use_zst` to `false` avoids useless requests with
# zst extension in repodata filename
"repodata_use_zst": False,
"repodata_use_zst": "false",
}


Expand All @@ -1198,7 +1198,10 @@ def test_create_with_oci_mirrored_channels(tmp_home, tmp_root_prefix, tmp_path,
spec,
"--dry-run",
"--json",
"-c",
"oci_channel",
f"--rc-file={rc_file}",
default_channel=False,
no_rc=False,
)

Expand Down

0 comments on commit 79e4db0

Please sign in to comment.