Skip to content

Commit

Permalink
Prevent failing when strict channel priority is set (#74)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
martinRenou committed Feb 20, 2024
1 parent 73a11ef commit eda12f8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion jupyterlite_xeus/add_on.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
3 changes: 0 additions & 3 deletions tests/environment-1.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: xeus-python-kernel-1
channels:
- https://repo.mamba.pm/emscripten-forge
- conda-forge
dependencies:
- xeus-python
- xeus-lua
Expand Down
3 changes: 0 additions & 3 deletions tests/environment-2.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: xeus-python-kernel-2
channels:
- https://repo.mamba.pm/emscripten-forge
- conda-forge
dependencies:
- xeus-python
- pip:
Expand Down
3 changes: 0 additions & 3 deletions tests/test_package/environment-3.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name: xeus-python-kernel-3
channels:
- https://repo.mamba.pm/emscripten-forge
- conda-forge
dependencies:
- xeus-python
- numpy
Expand Down

0 comments on commit eda12f8

Please sign in to comment.