From d0b855479fc66a772ccad1b93f2d4223d7eee848 Mon Sep 17 00:00:00 2001 From: Heyuan Zeng Date: Mon, 8 Jul 2024 20:55:56 +0100 Subject: [PATCH 1/3] fix: gradescope setup.py resource --- src/aga/gradescope/resources/setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aga/gradescope/resources/setup.py b/src/aga/gradescope/resources/setup.py index 8666306..86fb3bf 100644 --- a/src/aga/gradescope/resources/setup.py +++ b/src/aga/gradescope/resources/setup.py @@ -21,8 +21,8 @@ "dill >= 0.3.4", "gradescope-utils >= 0.4.0", "typer >= 0.4.0", - "dacite >= ^1.6.0", - "toml >= ^0.10.2", - "types-toml >= ^0.10.8", + "dacite >= 1.6.0, < 2.0.0", + "toml >= 0.10.2, < 0.11.0", + "types-toml >= 0.10.8, < 0.11.0", ], ) From 07a38b1217182dc376d825b1cdd58aee6c64e67b Mon Sep 17 00:00:00 2001 From: Heyuan Zeng Date: Mon, 8 Jul 2024 21:00:56 +0100 Subject: [PATCH 2/3] fix: linter errors --- tests/conftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8b4b177..e0a9153 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -645,8 +645,7 @@ def fixture_pos_and_kwd_generator_function() -> Problem[[int, int], int]: """ def generator() -> Iterator[int]: - for i in range(-1, 2): - yield i + yield from range(-1, 2) @test_cases(generator(), y=generator(), aga_product=True) @problem() From 02bf608604ef5138d1efc5ebf06661f06561be53 Mon Sep 17 00:00:00 2001 From: Heyuan Zeng Date: Mon, 8 Jul 2024 21:06:38 +0100 Subject: [PATCH 3/3] fix: doc building dep --- docs/requirements.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index b8b7344..eaee857 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,5 @@ +myst-parser==1.0.0 +sphinx==6.2.1 sphinx-autodoc-typehints==1.12.0 -myst-parser==0.15.2 -sphinx==4.2.0 -sphinx-autodoc-typehints==1.12.0 -sphinx-rtd-theme==1.0.0 -sphinx-click==3.0.1 +sphinx-rtd-theme==1.3.0 +sphinx-click==4.4.0