Skip to content

Commit

Permalink
Make trio run on Python 3.13 (probably) (#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks authored Jan 19, 2024
1 parent 6547313 commit e4c8eb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: ['pypy-3.9', 'pypy-3.10', '3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy-3.9-nightly', 'pypy-3.10-nightly']
python: ['pypy-3.9', 'pypy-3.10', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9-nightly', 'pypy-3.10-nightly']
check_formatting: ['0']
no_test_requirements: ['0']
extra_name: ['']
Expand Down
2 changes: 1 addition & 1 deletion src/trio/_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def generate_forwards(cls, attrs: dict[str, object]) -> None:
if attr_name.startswith("_") or attr_name in attrs:
continue

if isinstance(attr, property):
if isinstance(attr, (property, types.ModuleType)):
cls._forward.append(attr_name)
elif isinstance(attr, types.FunctionType):
wrapper = _forward_factory(cls, attr_name, attr)
Expand Down

0 comments on commit e4c8eb2

Please sign in to comment.