Skip to content

Commit e1f624d

Browse files
committed
leave pypy-3.10 for a different PR, re-fix tuple->Tuple mypy fail on 3.8
1 parent 678c3c3 commit e1f624d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
strategy:
9393
fail-fast: false
9494
matrix:
95-
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']
95+
python: ['pypy-3.9', '3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy-3.9-nightly']
9696
check_formatting: ['0']
9797
extra_name: ['']
9898
include:

trio/_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _open_memory_channel(
9999
if TYPE_CHECKING:
100100
# written as a class so you can say open_memory_channel[int](5)
101101
# Need to use Tuple instead of tuple due to CI check running on 3.8
102-
class open_memory_channel(tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]):
102+
class open_memory_channel(Tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]):
103103
def __new__( # type: ignore[misc] # "must return a subtype"
104104
cls, max_buffer_size: int
105105
) -> tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]:

0 commit comments

Comments
 (0)