Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for using Python 3.13 #161

Merged
merged 3 commits into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ⚠
Expand Down
2 changes: 0 additions & 2 deletions jupyterlite_xeus/create_conda_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.