ManimCommunity / ManimCommunity/manim
Change Supported Python Versions
@JasonGrace2282 is already working on this.
Since Jan 20, 2025.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
Repost from Discord, but as an issue so we don't forget
### The Problem
I was just thinking that we should probably set up a system for what pythons to support.
AFAIK, we've been supporting all non-EOL python versions. However, this means there's an ~4 year gap before we can use new python features (e.g. `type` statements). This is a bit frustrating. We've worked around it in some cases - for example, I know on experimental, we've already dropped 3.9 support (the minimum on experimental is 3.10)
### Proposed Solution
I want to propose that **we only support the three latest python versions** released at any moment in time. That is, in Manim v0.19.1, we should only support 3.11, 3.12, and 3.13.
#### Possible Problems
The only "problem" I can see with this is that users with older pythons will have to upgrade pythons. With our newer recommendation of using `uv`, this shouldn't be painful for new users. Users with an existing installation might have to go through some extra trouble.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.