Skip to content

Drop Python 3.10 - #2424

Open
ndgrigorian wants to merge 2 commits into
masterfrom
drop-python-3.10
Open

ndgrigorian wants to merge 2 commits into
masterfrom
drop-python-3.10

Conversation

@ndgrigorian

Copy link
Copy Markdown
Collaborator

This PR drops support for Python 3.10, which was already long overdue

  • 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?
  • If this PR is a work in progress, are you opening the PR as a draft?

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 75.137%. remained the same — drop-python-3.10 into master

antonwolfy
antonwolfy previously approved these changes Dec 2, 2026

@antonwolfy antonwolfy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM with only nit:

No CHANGELOG entry (nit). Dropping a Python version breaks things for users on 3.10, so it should be listed under ### Removed in the [dev] section

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM
Just one nit below:

Comment thread pyproject.toml
name = "dpctl"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10"
requires-python = ">=3.11"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nit: With 3.11 as the minimum, tomllib is always there, so the tomli backport is not needed anymore. It is still listed in three places:

  • pyproject.toml:65, the coverage extra
  • conda-recipe/meta.yaml:46, tomli # [py<311], which now never matches
  • .pre-commit-config.yaml:54, codespell's additional_dependencies

Could they be removed here too?

@vlad-perevezentsev
vlad-perevezentsev self-requested a review December 3, 2026 15:53

This branch has not been deployed

No deployments
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