Skip to content

Conversation

@behackl
Copy link
Member

@behackl behackl commented Aug 9, 2025

In accordance with https://scientific-python.org/specs/spec-0000/ (which we have at some point loosely discussed to follow), our minimum supported Python version could be bumped to 3.11.

This also bumps the minimum required version of av to at least 14.0.1, while our metadata tests only appear to be fixed and working with 15.0.0, their latest release as of right now.

The PR is a draft for now as some additional cleanup is required; e.g., importlib-metadata can be removed, the dependecies can remove the distinctions for Python 3.10.

TODOs

  • remove importlib-metadata
  • handle typing_extensions?
  • remove CI pipeline for 3.9, 3.10

@behackl behackl added the refactor Refactor or redesign of existing code label Aug 9, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in Dev Board Aug 9, 2025
"Natural Language :: English",
]
requires-python = ">=3.9"
requires-python = ">=3.11"
Copy link
Member

Choose a reason for hiding this comment

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

Note: we should probably also remember to do this for mypy and ruff

@behackl behackl added this to the v0.20.0 milestone Aug 11, 2025
@chopan050
Copy link
Contributor

Regarding the TODOs:

  • remove importlib-metadata - this one was removed in PR Prepare new release v0.19.1 and remove support for Python 3.9 #4490 👍🏼
  • handle typing_extensions? - I believe that this one should be done in a separate PR - I can take care of that later
  • remove CI pipeline for 3.9, 3.10 - aren't those automatically removed after the ci.yml edit?

As Python 3.14 was just released and Python 3.11 is now 3+ years old, if we want to be in accordance with SPEC 0, we'll also have to remove support for 3.11 and bump the minimum version to 3.12...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactor or redesign of existing code

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

3 participants