Conversation
This commit add support for Python 3.13 which is a default Python version installed on Ubuntu 25.10. In order to satisfy dependency resolver, some packages were also bumped: - h5py was bumped to 3.12.1 - TensorFlow was bumped to 2.20.0 - NumPy was to 2.2.4 ONE-DCO-1.0-Signed-off-by: Arkadiusz Bokowy <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR updates the compiler’s build/packaging scripts to recognize and support Python 3.13 alongside existing supported Python 3.10 and 3.12 flows.
Changes:
- Extend Python version detection/allow-lists in CMake (one-cmds, dalgona, common-artifacts) to include Python 3.13.
- Update
one-prepare-venvto preferpython3.13when available and set Python 3.13-specific TensorFlow/Numpy versions. - Fix several spelling issues in comments across CMake and scripts.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| compiler/one-cmds/one-prepare-venv | Prefer Python 3.13 and apply 3.13-specific TF/Numpy pins when venv Python is 3.13. |
| compiler/one-cmds/CMakeLists.txt | Allow Python 3.13 in the supported Python version gating logic. |
| compiler/dalgona/CMakeLists.txt | Allow Python 3.13 in the supported Python version gating logic. |
| compiler/common-artifacts/CMakeLists.txt | Add Python 3.13 package pin set (including TF 2.20.0 and numpy 2.2.4) and fix comment typos. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I don't know does we really need to support ubuntu 25.10. We've never support non-LTS ubuntu version as compiler host OS. |
|
Ubuntu 26.04 is going to be LTS and it's shipped with Python 3.13 as well: https://documentation.ubuntu.com/release-notes/26.04/summary-for-lts-users/#development |
|
As I know, default python version of ubuntu 26.04 is 3.14, not 3.13. https://packages.ubuntu.com/resolute/python3 We can add supporting 3.14 when stable ubuntu 26.04 (26.04.1) is released. |
This commit add support for Python 3.13 which is a default Python version installed on Ubuntu 25.10. In order to satisfy dependency resolver, some packages were also bumped: