Skip to content

Commit

Permalink
Remove python 3.8 and fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mosquito committed Dec 3, 2024
1 parent 221982e commit 36cdae8
Show file tree
Hide file tree
Showing 4 changed files with 362 additions and 397 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:

matrix:
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
Expand Down
7 changes: 6 additions & 1 deletion aio_pika/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
MutableSet, Optional, TypeVar, Union, Generic,
)

from typing_extensions import ParamSpec, Protocol
from weakref import ReferenceType, WeakSet, ref

from aio_pika.log import get_logger


try:
from typing import ParamSpec, Protocol
except ImportError:
from typing_extensions import ParamSpec, Protocol # type: ignore


log = get_logger(__name__)
T = TypeVar("T")

Expand Down
Loading

0 comments on commit 36cdae8

Please sign in to comment.