From eda12f8c2e50bd7ca4b171e38492de652a678cb4 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 20 Feb 2024 10:13:12 +0100 Subject: [PATCH] Prevent failing when strict channel priority is set (#74) When strict channel priority is being set, it seems specifying conda-forge first prevents the installation to work, because it tries to pull arch packages from conda-forge --- jupyterlite_xeus/add_on.py | 2 +- tests/environment-1.yml | 3 --- tests/environment-2.yml | 3 --- tests/test_package/environment-3.yml | 3 --- 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/jupyterlite_xeus/add_on.py b/jupyterlite_xeus/add_on.py index bbb1e80..95a07ff 100644 --- a/jupyterlite_xeus/add_on.py +++ b/jupyterlite_xeus/add_on.py @@ -143,7 +143,7 @@ def create_prefix(self): env_name=env_name, root_prefix=root_prefix, specs=["xeus-python"], - channels=["conda-forge", "https://repo.mamba.pm/emscripten-forge"], + channels=["https://repo.mamba.pm/emscripten-forge", "conda-forge"], ) def copy_kernels_from_prefix(self): diff --git a/tests/environment-1.yml b/tests/environment-1.yml index 76be4ae..6d47bb3 100644 --- a/tests/environment-1.yml +++ b/tests/environment-1.yml @@ -1,7 +1,4 @@ name: xeus-python-kernel-1 -channels: - - https://repo.mamba.pm/emscripten-forge - - conda-forge dependencies: - xeus-python - xeus-lua diff --git a/tests/environment-2.yml b/tests/environment-2.yml index b2c8593..f0c82cc 100644 --- a/tests/environment-2.yml +++ b/tests/environment-2.yml @@ -1,7 +1,4 @@ name: xeus-python-kernel-2 -channels: - - https://repo.mamba.pm/emscripten-forge - - conda-forge dependencies: - xeus-python - pip: diff --git a/tests/test_package/environment-3.yml b/tests/test_package/environment-3.yml index ef8904f..11b75e8 100644 --- a/tests/test_package/environment-3.yml +++ b/tests/test_package/environment-3.yml @@ -1,7 +1,4 @@ name: xeus-python-kernel-3 -channels: - - https://repo.mamba.pm/emscripten-forge - - conda-forge dependencies: - xeus-python - numpy