From a24e038136b819783ae2ee16586720f511db3938 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 23 Mar 2023 15:39:46 +0100 Subject: [PATCH] get canary package from conda-forge --- tests/test_installer.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/test_installer.py b/tests/test_installer.py index bf06aae..97524d6 100644 --- a/tests/test_installer.py +++ b/tests/test_installer.py @@ -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, )