Repository navigation
Drop support for Python 3.10 - #3173
Merged
Merged
Conversation
Raise the minimum required Python version to 3.11 in `pyproject.toml`, `CMakeLists.txt` and `cmake/dpnp-config.cmake`, and remove the `tomli` dependency that was only needed below Python 3.11 from the conda recipes and the `coverage` extra.
antonwolfy
requested review from
ndgrigorian and
vlad-perevezentsev
as code owners
November 8, 2026 13:31
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the change raising the minimum supported Python version to 3.11.
No open issues 🎉
What changed in this PR
This PR makes Python 3.11 the minimum supported version for dpnp, aligning package metadata, CMake requirements, and documentation following the earlier CI changes.
Changes:
- Removes Python 3.10 support from package metadata and build requirements.
- Removes
tomlidependencies no longer needed with Python 3.11+. - Updates installation guidance, release notes, and an FFT test comment.
| File | Description |
|---|---|
pyproject.toml |
Raises the Python minimum, updates classifiers and formatter targets, and removes tomli from coverage dependencies. |
dpnp/tests/test_fft.py |
Removes Python 3.10 from a comment; test behavior is unchanged. |
doc/quick_start_guide.rst |
Lists Python 3.11–3.15 as supported interpreters. |
conda-recipe/rattler_recipe.yaml |
Removes the conditional tomli build dependency. |
conda-recipe/meta.yaml |
Removes the Python <3.11 tomli dependency. |
conda-recipe-cf/meta.yaml |
Removes the Python <3.11 tomli dependency. |
CMakeLists.txt |
Raises the build-time Python minimum to 3.11. |
cmake/dpnp-config.cmake |
Requires Python 3.11 for downstream CMake consumers. |
CHANGELOG.md |
Announces the removal of Python 3.10 support. |
Review effort: Balanced
Use `traceback.format_exception(exc)` as CuPy did in cupy/cupy#10383 when dropping Python 3.10.
Contributor
|
Array API standard conformance tests for dpnp=0.22.0dev1=np2py314h8d9cdd5_5 ran successfully. |
Contributor
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
Collaborator
ndgrigorian
approved these changes
Nov 8, 2026
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.
The PR drops support for Python 3.10 and makes Python 3.11 the minimum required version.
Python 3.10 reached end of life in October 2026, NumPy no longer supports it since 2.3, and dpnp CI stopped testing it in #3046.