Skip to content

[compiler] Add support for Python 3.13#16445

Open
arkq wants to merge 1 commit intoSamsung:masterfrom
arkq:compiler-python3.13
Open

[compiler] Add support for Python 3.13#16445
arkq wants to merge 1 commit intoSamsung:masterfrom
arkq:compiler-python3.13

Conversation

@arkq
Copy link
Copy Markdown
Contributor

@arkq arkq commented Mar 18, 2026

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

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]>
Copilot AI review requested due to automatic review settings March 18, 2026 14:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-venv to prefer python3.13 when 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.

Copy link
Copy Markdown
Collaborator

@mhs4670go mhs4670go left a comment

Choose a reason for hiding this comment

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

LGTM

@mhs4670go mhs4670go requested a review from shs-park March 18, 2026 15:19
@hseok-oh
Copy link
Copy Markdown
Contributor

hseok-oh commented Mar 30, 2026

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.

@arkq
Copy link
Copy Markdown
Contributor Author

arkq commented Mar 30, 2026

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
This PR is not about Ubuntu 25.10 but mostly about Python 3.13.

@hseok-oh
Copy link
Copy Markdown
Contributor

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.

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.

4 participants