Skip to content

Conversation

@mcbarton
Copy link
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.

When we call the wasm environment we call it under the emscripten-wasm32 platform which doesn't exist for the conda forge channel. As a result we get the following error in the build
https://github.com/compiler-research/xeus-cpp/actions/runs/12723529061/job/35468733198?pr=213#step:7:51 . Removing the reference to the conda-forge channel fixes this.

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@mcbarton mcbarton requested a review from anutosh491 January 11, 2025 20:53
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.72%. Comparing base (ddeb5ca) to head (243a19e).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #214   +/-   ##
=======================================
  Coverage   80.72%   80.72%           
=======================================
  Files          19       19           
  Lines         970      970           
  Branches       93       93           
=======================================
  Hits          783      783           
  Misses        187      187           

name: xeus-cpp-wasm-host
channels:
- https://repo.mamba.pm/emscripten-forge
- https://repo.mamba.pm/conda-forge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, looks good to me but I think this ended up here for a reason. Let me confirm on the xeus side and get back.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anutosh491 Ok. Just a note that CppInterOps environment only references emscripten-forge.

@anutosh491
Copy link
Collaborator

Ahh I finally think I remember why we need this (and probably why we should keep it)

It is there to support no-arch packages. We currently don't provide any extra functionality as we are in the initial stage of things. But take xeus-r for example (https://github.com/jupyter-xeus/xeus-r/blob/main/environment-wasm-host.yml#L18-L29) provides so many libraries for graphics, image rendering etc.

So in future we might want to add features where packages might be no-arch. Let's just keep this !

@anutosh491 anutosh491 closed this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants