Skip to content

Commit 5d310ce

Browse files
committed
fix(ci): explicitly include manim extra in tests group
1 parent 3c6e2db commit 5d310ce

File tree

5 files changed

+1474
-1258
lines changed

5 files changed

+1474
-1258
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2424
when using one of those extras, but as they were not part of the public API,
2525
we do not consider this to be a **breaking change**.
2626
[#542](https://github.com/jeertmans/manim-slides/pull/542)
27+
- Fixed some tests that were failing.
28+
[#550](https://github.com/jeertmans/manim-slides/pull/550)
29+
- Pinned `setuptools<81` for `manimgl` extra, as `setuptools>=81`
30+
dropped support for its API.
31+
[#550](https://github.com/jeertmans/manim-slides/pull/550)
2732

2833
(v5.5.1)=
2934
## [v5.5.1](https://github.com/jeertmans/manim-slides/compare/v5.5.0...v5.5.1)

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ docs = [
2626
]
2727
tests = [
2828
"importlib-metadata>=8.6.1;python_version<'3.10'",
29-
"manim-slides[full,manimgl,pyqt6,pyside6,sphinx-directive]",
29+
"manim-slides[full,manim,manimgl,pyqt6,pyside6,sphinx-directive]",
3030
"pytest>=7.4.0",
3131
"pytest-cov>=4.1.0",
3232
"pytest-env>=0.8.2",
@@ -80,7 +80,7 @@ full = [
8080
]
8181
magic = ["manim-slides[manim]", "ipython>=8.12.2"]
8282
manim = ["manim>=0.19"]
83-
manimgl = ["manimgl>=1.7.2"]
83+
manimgl = ["manimgl>=1.7.2", "setuptools<81"]
8484
pyqt6 = ["pyqt6>=6.7.0"]
8585
pyqt6-full = ["manim-slides[full,pyqt6]"]
8686
pyside6 = ["pyside6>=6.6.1,!=6.8.1.1"]
@@ -211,7 +211,6 @@ filterwarnings = [
211211
extend-exclude = ["manim_slides/resources.py"]
212212
extend-include = ["*.ipynb"]
213213
line-length = 88
214-
target-version = "py39"
215214

216215
[tool.ruff.lint]
217216
extend-ignore = [

tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_convert(slides_folder: Path, extension: str) -> None:
6767

6868
@pytest.mark.parametrize(("extension",), [("html",)])
6969
def test_convert_data_uri_deprecated(slides_folder: Path, extension: str) -> None:
70-
runner = CliRunner(mix_stderr=False)
70+
runner = CliRunner()
7171

7272
with runner.isolated_filesystem():
7373
with warnings.catch_warnings(record=True) as w:

tests/test_present.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_present_unexisting_slide(args: tuple[str, ...]) -> None:
4141
results = runner.invoke(present, ["UnexistingSlide", *args])
4242

4343
assert results.exit_code != 0
44-
assert "UnexistingSlide.json does not exist" in results.stdout
44+
assert "UnexistingSlide.json does not exist" in results.stderr
4545

4646

4747
def test_present_full_screen(args: tuple[str, ...]) -> None:

0 commit comments

Comments
 (0)