Skip to content

Commit

Permalink
Support Python 3.13 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinche authored Jun 24, 2024
1 parent 4c1493b commit 7d7c974
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.9"]

steps:
- uses: "actions/checkout@v3"
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: "actions/setup-python@v4"
with:
cache: "pip"
python-version: "3.11"
python-version: "3.12"

- run: "python -Im pip install --upgrade coverage[toml]"

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:

- uses: "actions/setup-python@v4"
with:
python-version: "3.11"
python-version: "3.12"

- name: "Install tools"
run: "python -m pip install twine check-wheel-contents build"
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ The implementation has been borrowed from the EdgeDB project.

## Changelog

### 24.2.0 (UNRELEASED)

- Add support for Python 3.13.
([#9](https://github.com/Tinche/quattro/pull/9))

### 24.1.0 (2024-05-01)

- Add Trove classifiers.
Expand Down
2 changes: 1 addition & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions tests/test_taskgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,12 +686,7 @@ async def error():

# TaskGroups cannot be used before entered.
with pytest.raises(RuntimeError):
temp = error()
g.create_task(temp)

# Clean this up for the warning.
with pytest.raises(ZeroDivisionError):
await temp
g.create_task(error())

async with g:
with pytest.raises(RuntimeError):
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
python =
3.9: py39
3.10: py310
3.11: py311, lint
3.12: py312
3.11: py311
3.12: py312, lint
3.13: py313
pypy-3.9: pypy39

[tox]
envlist = py39, py310, py311, py312, pypy39, lint
envlist = py39, py310, py311, py312, py313, pypy39, lint
isolated_build = true
skipsdist = true

Expand Down

0 comments on commit 7d7c974

Please sign in to comment.