Skip to content

Bump minimum Python to 3.11 and av to 14.0.1 #4385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

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
@@ -119,7 +117,7 @@ exclude = [

[tool.pytest.ini_options]
markers = "slow: Mark the test as slow. Can be skipped with --skip_slow"
addopts = "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term -n auto --dist=loadfile --durations=0"
addopts = "--no-cov-on-fail --cov=manim --cov-report xml --cov-report term -n 10 --dist=loadfile --durations=0"
Copy link
Member

Choose a reason for hiding this comment

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

Unintended?

"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"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

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.

2 participants