diff --git a/docs/environment.md b/docs/environment.md index 13d8fb5..1d0a876 100644 --- a/docs/environment.md +++ b/docs/environment.md @@ -56,6 +56,22 @@ Then those packages are usable directly: plt.show(); ``` +### Python 3.13 support + +If you specify the emscripten-forge mirror published on [prefix.dev](https://prefix.dev), you will be able to use Python 3.13 in your deployment. + +⚠ This is still a work-in-progress feature and some packages may be missing ⚠ + +```yaml +name: xeus-python-kernel +channels: + - https://repo.prefix.dev/emscripten-forge-dev + - conda-forge +dependencies: + - xeus-python + - numpy +``` + ### pip packages ⚠ This feature is experimental. You won't have the same user-experience as when using conda/mamba in a "normal" setup ⚠ diff --git a/jupyterlite_xeus/create_conda_env.py b/jupyterlite_xeus/create_conda_env.py index c8428a1..8617a4f 100644 --- a/jupyterlite_xeus/create_conda_env.py +++ b/jupyterlite_xeus/create_conda_env.py @@ -49,8 +49,6 @@ def create_conda_env_from_env_file(root_prefix, env_file_content, env_file_locat # get the specs specs, pip_dependencies = _extract_specs(env_file_location, env_file_content) - # Force emscripten version - specs.append("emscripten-abi=3.1.45") create_conda_env_from_specs( env_name=env_name, diff --git a/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-crossoriginisolated-linux.png b/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-crossoriginisolated-linux.png index 3bc6404..62ea338 100644 Binary files a/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-crossoriginisolated-linux.png and b/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-crossoriginisolated-linux.png differ diff --git a/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-default-linux.png b/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-default-linux.png index 3bc6404..76a5264 100644 Binary files a/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-default-linux.png and b/ui-tests/tests/jupyterlite_xeus.spec.ts-snapshots/jupyter-xeus-launcher-default-linux.png differ