Skip to content

Commit 534bf7b

Browse files
authored
Merge pull request #653 from zware/dependency_cleanup
Update Python versions, clean up dependencies
2 parents c01e6dd + 49017f0 commit 534bf7b

File tree

5 files changed

+49
-40
lines changed

5 files changed

+49
-40
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- '3.10'
6161
- '3.11'
6262
- '3.12'
63+
- '3.13'
6364
steps:
6465
- uses: actions/checkout@v2
6566
- name: Setup python${{ matrix.python }}

aio_pika/queue.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88

99
import aiormq
1010
from aiormq.abc import DeliveredMessage
11-
from exceptiongroup import ExceptionGroup
11+
try:
12+
ExceptionGroup
13+
except NameError:
14+
from exceptiongroup import ExceptionGroup
1215
from pamqp.common import Arguments
1316

1417
from .abc import (

poetry.lock

Lines changed: 41 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

poetry.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ cache-dir = ".cache"
33
[virtualenvs]
44
path = ".venv"
55
in-project = true
6-
7-
[installer]
8-
modern-installation = false

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2223
"Programming Language :: Python :: Implementation :: CPython",
2324
"Programming Language :: Python :: Implementation :: PyPy",
2425
"Programming Language :: Python",
@@ -38,7 +39,7 @@ packages = [{ include = "aio_pika" }]
3839
python = "^3.9"
3940
aiormq = "~6.8"
4041
yarl = [{ version = '*'}]
41-
exceptiongroup = "^1"
42+
exceptiongroup = [{ version = "^1", python = "< 3.11" }]
4243
typing-extensions = [{ version = '*', python = "< 3.10" }]
4344

4445
[tool.poetry.group.dev.dependencies]
@@ -69,7 +70,7 @@ sphinxcontrib-googleanalytics = "*"
6970
optional = true
7071

7172
[tool.poetry.group.uvloop.dependencies]
72-
uvloop = "^0.19"
73+
uvloop = "^0.21"
7374

7475
[build-system]
7576
requires = ["poetry-core"]

0 commit comments

Comments
 (0)