Skip to content

Commit

Permalink
leave pypy-3.10 for a different PR, re-fix tuple->Tuple mypy fail on 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkdl committed Jul 1, 2023
1 parent 678c3c3 commit e1f624d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
strategy:
fail-fast: false
matrix:
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']
python: ['pypy-3.9', '3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy-3.9-nightly']
check_formatting: ['0']
extra_name: ['']
include:
Expand Down
2 changes: 1 addition & 1 deletion trio/_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _open_memory_channel(
if TYPE_CHECKING:
# written as a class so you can say open_memory_channel[int](5)
# Need to use Tuple instead of tuple due to CI check running on 3.8
class open_memory_channel(tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]):
class open_memory_channel(Tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]):
def __new__( # type: ignore[misc] # "must return a subtype"
cls, max_buffer_size: int
) -> tuple[MemorySendChannel[T], MemoryReceiveChannel[T]]:
Expand Down

0 comments on commit e1f624d

Please sign in to comment.