Skip to content

Drop support for Python 3.10 - #3173

Merged
antonwolfy merged 2 commits into
masterfrom
drop-python-3-10
Nov 8, 2026
Merged

antonwolfy merged 2 commits into
masterfrom
drop-python-3-10

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 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 tomli dependencies 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.
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.22.0dev1=np2py314h8d9cdd5_5 ran successfully.
Passed: 1491
Failed: 0
Skipped: 6

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 84.397%. remained the same — drop-python-3-10 into master

@antonwolfy
antonwolfy merged commit 1803879 into master Nov 8, 2026
86 of 91 checks passed
@antonwolfy
antonwolfy deleted the drop-python-3-10 branch November 8, 2026 18:53
github-actions Bot added a commit that referenced this pull request Nov 8, 2026
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. 1803879
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