Skip to content

Commit

Permalink
Merge pull request #73 from FlickerSoul/main
Browse files Browse the repository at this point in the history
Fix deprecated gradescope resource setup #72
  • Loading branch information
FlickerSoul authored Jul 8, 2024
2 parents 3c3456b + 02bf608 commit 57b687e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions src/aga/gradescope/resources/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 57b687e

Please sign in to comment.