Skip to content

Commit 964de66

Browse files
authored
chore(deps): pin rtoml==0.9.0 on Windows (#432)
* chore(deps): pin `rtoml==0.9.0` on Windows See #398 and samuelcolvin/rtoml#74. * chore(ci): trying to fix on Python 3.12
1 parent 89377e3 commit 964de66

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,13 @@ jobs:
5151
5252
- name: Install manim dependencies on MacOS
5353
if: matrix.os == 'macos-latest'
54-
run: brew install ffmpeg py3cairo
54+
run: brew install ffmpeg py3cairo pango pkg-config scipy
5555

5656
- name: Install manim dependencies on Ubuntu
5757
if: matrix.os == 'ubuntu-latest'
5858
run: |
5959
sudo apt-get update
60-
sudo apt-get install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev
61-
sudo apt-get install xvfb
60+
sudo apt-get install build-essential python3-dev libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev xvfb
6261
nohup Xvfb $DISPLAY &
6362
6463
- name: Install Windows dependencies

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
(unreleased)=
1111
## [Unreleased](https://github.com/jeertmans/manim-slides/compare/5.1.7...HEAD)
1212

13+
(unreleased-chore)=
14+
### Chore
15+
16+
- Pin `rtoml==0.9.0` on Windows platforms,
17+
see [#398](https://github.com/jeertmans/manim-slides/pull/398),
18+
until
19+
[samuelcolvin/rtoml#74](https://github.com/samuelcolvin/rtoml/issues/74)
20+
is solved.
21+
[#432](https://github.com/jeertmans/manim-slides/pull/432)
22+
1323
(unreleased-fixed)=
1424
### Fixed
1525

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ dependencies = [
3030
"qtpy>=2.4.1",
3131
"requests>=2.28.1",
3232
"rich>=13.3.2",
33-
"rtoml>=0.9.0",
33+
"rtoml==0.9.0;sys_platform=='win32' and python_version<'3.13'",
34+
"rtoml>=0.9.0;sys_platform!='win32' or python_version>='3.13'",
3435
"tqdm>=4.64.1",
3536
]
3637
description = "Tool for live presentations using manim"

0 commit comments

Comments
 (0)