get canary package from conda-forge

This commit is contained in:
Min RK
2023-03-23 15:39:46 +01:00
parent 4d42f24e48
commit a24e038136

View File

@@ -121,7 +121,13 @@ def test_ensure_user_environment(
# install a noarch: python package that won't be used otherwise
# should depend on Python, so it will interact with possible upgrades
run(
[str(user_env_prefix / "bin/conda"), "install", "-y", canary_package],
[
str(user_env_prefix / "bin/conda"),
"install",
"-y",
"-c" "conda-forge",
canary_package,
],
input="",
check=True,
)