Skip to content

Commit c0e3624

Browse files
Merge branch 'main' into TypingTransformMatchingParts
2 parents afb012d + de090c1 commit c0e3624

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2223
-2238
lines changed

.github/workflows/cffconvert.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out a copy of the repository
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: Check whether the citation metadata from CITATION.cff is valid
1717
uses: citation-file-format/cffconvert-github-action@2.0.0

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
os: [ubuntu-22.04, macos-13, windows-latest]
26-
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
25+
os: [ubuntu-22.04, macos-15-intel, windows-latest]
26+
python: ["3.10", "3.11", "3.12", "3.13"]
2727

2828
steps:
2929
- name: Checkout the repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v5
3131

3232
- name: Setup Python ${{ matrix.python }}
33-
uses: actions/setup-python@v5
33+
uses: actions/setup-python@v6
3434
with:
3535
python-version: ${{ matrix.python }}
3636

3737
- name: Install uv
38-
uses: astral-sh/setup-uv@v6
38+
uses: astral-sh/setup-uv@v7
3939
with:
4040
enable-cache: true
4141

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ jobs:
2424

2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@v3
30+
uses: github/codeql-action/init@v4
3131
with:
3232
languages: ${{ matrix.language }}
3333
config-file: ./.github/codeql.yml
3434
queries: +security-and-quality
3535

3636
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v3
37+
uses: github/codeql-action/autobuild@v4
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@v3
40+
uses: github/codeql-action/analyze@v4
4141
with:
4242
category: "/language:${{ matrix.language }}"

.github/workflows/python-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
id-token: write
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717

1818
- name: Set up Python 3.13
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: 3.13
2222

2323
- name: Install uv
24-
uses: astral-sh/setup-uv@v6
24+
uses: astral-sh/setup-uv@v7
2525

2626
- name: Build and push release to PyPI
2727
run: |
@@ -30,7 +30,7 @@ jobs:
3030
uv publish
3131
3232
- name: Store artifacts
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v5
3434
with:
3535
path: dist/*.tar.gz
3636
name: manim.tar.gz

.github/workflows/release-publish-documentation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ jobs:
99
build-and-publish-htmldocs:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v5
1313

1414
- name: Set up Python
15-
uses: actions/setup-python@v5
15+
uses: actions/setup-python@v6
1616
with:
1717
python-version: 3.13
1818

1919
- name: Install uv
20-
uses: astral-sh/setup-uv@v6
20+
uses: astral-sh/setup-uv@v7
2121

2222
- name: Install system dependencies
2323
run: |
@@ -43,7 +43,7 @@ jobs:
4343
tar -czvf ../html-docs.tar.gz *
4444
4545
- name: Store artifacts
46-
uses: actions/upload-artifact@v4
46+
uses: actions/upload-artifact@v5
4747
with:
4848
path: ${{ github.workspace }}/docs/build/html-docs.tar.gz
4949
name: html-docs.tar.gz

.pre-commit-config.yaml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,26 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: check-toml
1414
name: Validate pyproject.toml
15+
16+
- repo: https://github.com/codespell-project/codespell
17+
rev: v2.4.1
18+
hooks:
19+
- id: codespell
20+
files: ^.*\.(py|md|rst)$
21+
args: ["-L", "medias,nam"]
22+
1523
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.12.9
24+
rev: v0.14.7
1725
hooks:
1826
- id: ruff
1927
name: ruff lint
2028
types: [python]
2129
args: [--exit-non-zero-on-fix]
2230
- id: ruff-format
2331
types: [python]
32+
2433
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.17.1
34+
rev: v1.19.0
2635
hooks:
2736
- id: mypy
2837
additional_dependencies:
@@ -34,10 +43,3 @@ repos:
3443
types-setuptools,
3544
]
3645
files: ^manim/
37-
38-
- repo: https://github.com/codespell-project/codespell
39-
rev: v2.4.1
40-
hooks:
41-
- id: codespell
42-
files: ^.*\.(py|md|rst)$
43-
args: ["-L", "medias,nam"]

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ authors:
44
-
55
name: "The Manim Community Developers"
66
cff-version: "1.2.0"
7-
date-released: 2025-01-20
7+
date-released: 2025-11-30
88
license: MIT
99
message: "We acknowledge the importance of good software to support research, and we note that research becomes more valuable when it is communicated effectively. To demonstrate the value of Manim, we ask that you cite Manim in your work."
1010
title: Manim – Mathematical Animation Framework
1111
url: "https://www.manim.community/"
12-
version: "v0.19.0"
12+
version: "v0.19.1"
1313
...

docs/source/installation/uv.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,10 @@ The following commands will
153153
The name for the Python project is *manimations*, which you can change
154154
to anything you like.
155155

156+
Manim does not yet support Python 3.14 and the Python version is therefore set to 3.13.
157+
156158
```bash
157-
uv init manimations
159+
uv init --python 3.13 manimations
158160
cd manimations
159161
uv add manim
160162
```
@@ -200,8 +202,10 @@ Manim itself! The following commands will
200202
The name for the Python project is *manimations*, which you can change
201203
to anything you like.
202204

205+
Manim does not yet support Python 3.14 and the Python version is therefore set to 3.13.
206+
203207
```bash
204-
uv init manimations
208+
uv init --python 3.13 manimations
205209
cd manimations
206210
uv add manim
207211
```
@@ -253,11 +257,13 @@ As soon as the required dependencies are installed, you can create
253257
a Python project (feel free to change the name *manimations* used below
254258
to some other name) with a local environment containing Manim by running
255259
```bash
256-
uv init manimations
260+
uv init --python 3.13 manimations
257261
cd manimations
258262
uv add manim
259263
```
260264

265+
Manim does not yet support Python 3.14 and the Python version is therefore set to 3.13.
266+
261267
:::::
262268

263269
::::::

manim/cli/init/commands.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"background_color": "BLACK",
3030
"background_opacity": 1,
3131
"scene_names": "Default",
32-
"resolution": (854, 480),
32+
"resolution": (1920, 1080),
3333
}
3434

3535
__all__ = ["select_resolution", "update_cfg", "project", "scene"]
@@ -43,11 +43,10 @@ def select_resolution() -> tuple[int, int]:
4343
tuple[int, int]
4444
Tuple containing height and width.
4545
"""
46-
resolution_options: list[tuple[int, int]] = []
47-
for quality in QUALITIES.items():
48-
resolution_options.append(
49-
(quality[1]["pixel_height"], quality[1]["pixel_width"]),
50-
)
46+
resolution_options: list[tuple[int, int]] = [
47+
(quality[1]["pixel_height"], quality[1]["pixel_width"])
48+
for quality in QUALITIES.items()
49+
]
5150
resolution_options.pop()
5251
choice = click.prompt(
5352
"\nSelect resolution:\n",
@@ -76,8 +75,8 @@ def update_cfg(cfg_dict: dict[str, Any], project_cfg_path: Path) -> None:
7675
cli_config = config["CLI"]
7776
for key, value in cfg_dict.items():
7877
if key == "resolution":
79-
cli_config["pixel_width"] = str(value[0])
80-
cli_config["pixel_height"] = str(value[1])
78+
cli_config["pixel_height"] = str(value[0])
79+
cli_config["pixel_width"] = str(value[1])
8180
else:
8281
cli_config[key] = str(value)
8382

manim/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"""
8585
CHOOSE_NUMBER_MESSAGE = """
8686
Choose number corresponding to desired scene/arguments.
87-
(Use comma separated list for multiple entries)
87+
(Use comma separated list for multiple entries or use "*" to select all scenes.)
8888
Choice(s): """
8989
INVALID_NUMBER_MESSAGE = "Invalid scene numbers have been specified. Aborting."
9090
NO_SCENE_MESSAGE = """

0 commit comments

Comments
 (0)