Skip to content

Commit

Permalink
3.12 Updates (#197)
Browse files Browse the repository at this point in the history
Various updates for 3.12 compatibility.
  • Loading branch information
Eric-Vin authored Nov 14, 2023
1 parent 6c66160 commit 29649c6
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 55 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest]
extras: ["test", "test-full"]
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/statements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ If there are multiple ``interrupt`` clauses, successive clauses take precedence
Likewise, if ``try-interrupt`` statements are nested, the outermost statement takes precedence and can interrupt the inner statement at any time.
When one handler interrupts another and then completes, the original handler is resumed (and it may even be interrupted again before control finally returns to the ``try`` block).

The ``try-interrupt`` statement may conclude with any number of ``except`` blocks, which function identically to their :ref:`Python counterparts <except>`.
The ``try-interrupt`` statement may conclude with any number of ``except`` blocks, which function identically to their :ref:`Python counterparts <except>` (though Scenic does not allow ``except*`` blocks).

Simple Statements
=================
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
"networkx >= 2.6",
"numpy ~= 1.24",
"opencv-python ~= 4.5",
"pegen >= 0.2",
"pegen >= 0.3.0",
"pillow ~= 9.1",
'pygame >= 2.1.3.dev8, <3; python_version >= "3.11"',
'pygame ~= 2.0; python_version < "3.11"',
Expand Down
Loading

0 comments on commit 29649c6

Please sign in to comment.