diff --git a/LabGym/tests/test_triage_guards.py b/LabGym/tests/test_triage_guards.py index eb71c14f..fdf3563d 100644 --- a/LabGym/tests/test_triage_guards.py +++ b/LabGym/tests/test_triage_guards.py @@ -778,7 +778,7 @@ def test_pyproject_declares_reportlab_min_5(): from pathlib import Path text = (Path(__file__).resolve().parents[2] / 'pyproject.toml').read_text(encoding='utf-8') - assert "'reportlab>=5.0.0'" in text + assert "'reportlab>=5.0.0,<5.1'" in text assert text.count('reportlab') == 1 diff --git a/pyproject.toml b/pyproject.toml index b70da498..7b222b0b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ dependencies=[ 'torchaudio', 'PyYAML', 'tomli', - 'reportlab>=5.0.0', + 'reportlab>=5.0.0,<5.1', 'Pillow>=7.1', 'matplotlib', 'pycocotools>=2.0.2',