Skip to content

Commit 1a8d5b6

Browse files
authored
Merge pull request #657 from mosquito/python3.8-eol
Remove python 3.8 and fix dependencies
2 parents 221982e + 36cdae8 commit 1a8d5b6

File tree

4 files changed

+362
-397
lines changed

4 files changed

+362
-397
lines changed

.github/workflows/tests.yml

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ jobs:
5656

5757
matrix:
5858
python:
59-
- '3.8'
6059
- '3.9'
6160
- '3.10'
6261
- '3.11'

aio_pika/tools.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,17 @@
1212
MutableSet, Optional, TypeVar, Union, Generic,
1313
)
1414

15-
from typing_extensions import ParamSpec, Protocol
1615
from weakref import ReferenceType, WeakSet, ref
1716

1817
from aio_pika.log import get_logger
1918

2019

20+
try:
21+
from typing import ParamSpec, Protocol
22+
except ImportError:
23+
from typing_extensions import ParamSpec, Protocol # type: ignore
24+
25+
2126
log = get_logger(__name__)
2227
T = TypeVar("T")
2328

0 commit comments

Comments
 (0)