Update Python 3.13 support and bump dependencies#192
Merged
mishushakov merged 18 commits intomainfrom Mar 12, 2026
Merged
Conversation
Update template to Python 3.13 base image and bump key packages for compatibility: - numpy 1.26.4 → 2.3.5 (Python 3.13 requires numpy 2.x) - scipy 1.13.1 → 1.17.0, gensim 4.3.3 → 4.4.0, numba 0.61.2 → 0.63.1, spacy 3.8.2 → 3.8.11 - e2b_charts: relax numpy constraint from ^1.26.4 to >=1.26.4 for numpy 2 compatibility Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The published e2b_charts 0.0.4 on PyPI still has numpy<2.0.0. Until a new version is published, install it separately with --no-deps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Keep these files as-is on main; e2b_charts updates will be in a separate PR. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
Author
|
This PR depends on #193 |
jakubno
reviewed
Feb 9, 2026
jakubno
approved these changes
Feb 18, 2026
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
Build verified with:
python template/build_docker.py | docker build ./template -f -🤖 Generated with Claude Code
Note
Medium Risk
Upgrades the runtime to Python 3.13 and bumps core scientific dependencies (notably
numpy/scipy), which can introduce binary/ABI and transitive compatibility issues in the template image.Overview
Updates the code interpreter template to build from
python:3.13and records a minor release via changeset.Bumps key Python dependencies in
requirements.txtto versions compatible with Python 3.13, including moving tonumpy2.x (2.3.5),scipy1.17.0,gensim4.4.0, andnumba0.63.1.Simplifies the R kernel setup in
template.pyby removing the explicit CRAN apt-repo/GPG key bootstrap and relying on installingr-basedirectly before installingIRkernel.Written by Cursor Bugbot for commit 5bf02a6. This will update automatically on new commits. Configure here.