Skip to content

open_memory_channel(): return a named tuple #5871

open_memory_channel(): return a named tuple

open_memory_channel(): return a named tuple #5871

Triggered via pull request August 1, 2024 05:24
Status Failure
Total duration 6h 0m 57s
Artifacts

ci.yml

on: pull_request
Matrix: Cython
Matrix: macOS
Matrix: Ubuntu
Matrix: Windows
Fit to window
Zoom out
Zoom in

Annotations

66 errors, 1 warning, and 1 notice
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L158
src/trio/_channel.py:(158:12 - 158:23): Cannot determine type of "_closed" [has-type]
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L226
src/trio/_channel.py:(226:12 - 226:23): Cannot determine type of "_closed" [has-type]
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L254
src/trio/_channel.py:(254:12 - 254:23): Cannot determine type of "_closed" [has-type]
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L461
src/trio/_channel.py:461: Unused "type: ignore" comment [unused-ignore]
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L472
src/trio/_channel.py:472: Unused "type: ignore" comment [unused-ignore]
Mypy-Linux+Mac+Windows: src/trio/_channel.py#L488
src/trio/_channel.py:488: Unused "type: ignore" comment [unused-ignore]
Mypy-Linux+Mac+Windows: src/trio/_tests/test_highlevel_serve_listeners.py#L45
src/trio/_tests/test_highlevel_serve_listeners.py:(45:15 - 45:46): "Tuple[MemorySendChannel[StapledStream[MemorySendStream, MemoryReceiveStream]], MemoryReceiveChannel[StapledStream[MemorySendStream, MemoryReceiveStream]]]" has no attribute "send_channel" [attr-defined]
Mypy-Linux+Mac+Windows: src/trio/_tests/test_highlevel_serve_listeners.py#L53
src/trio/_tests/test_highlevel_serve_listeners.py:(53:24 - 53:58): "Tuple[MemorySendChannel[StapledStream[MemorySendStream, MemoryReceiveStream]], MemoryReceiveChannel[StapledStream[MemorySendStream, MemoryReceiveStream]]]" has no attribute "receive_channel" [attr-defined]
Mypy-Linux+Mac+Windows: src/trio/_tests/test_highlevel_serve_listeners.py#L55
src/trio/_tests/test_highlevel_serve_listeners.py:(55:9 - 55:21): Returning Any from function declared to return "StapledStream[MemorySendStream, MemoryReceiveStream]" [no-any-return]
Mypy-Linux+Mac+Windows: src/trio/_tests/test_channel.py#L414
src/trio/_tests/test_channel.py:(414:1 - 416:58): Function is missing a return type annotation [no-untyped-def]
Ubuntu (3.12)
The job running on runner GitHub Actions 13 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.12)
The operation was canceled.
Ubuntu (3.8, no test-requirements)
The job running on runner GitHub Actions 15 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.8, no test-requirements)
The operation was canceled.
Ubuntu (3.11)
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.11)
The operation was canceled.
Ubuntu (pypy-3.9)
The job running on runner GitHub Actions 2 has exceeded the maximum execution time of 10 minutes.
Ubuntu (pypy-3.9)
The operation was canceled.
Ubuntu (3.13)
The job running on runner GitHub Actions 17 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.13)
The operation was canceled.
Ubuntu (3.9)
The job running on runner GitHub Actions 20 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.9)
The operation was canceled.
Ubuntu (pypy-3.10)
The job running on runner GitHub Actions 9 has exceeded the maximum execution time of 10 minutes.
Ubuntu (pypy-3.10)
The operation was canceled.
Ubuntu (3.8)
The job running on runner GitHub Actions 19 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.8)
The operation was canceled.
Ubuntu (3.10)
The job running on runner GitHub Actions 8 has exceeded the maximum execution time of 10 minutes.
Ubuntu (3.10)
The operation was canceled.
macOS (3.8)
The job running on runner GitHub Actions 3 has exceeded the maximum execution time of 15 minutes.
macOS (3.8)
[notice] A new release of pip is available: 21.1.1 -> 24.2 [notice] To update, run: python3.8 -m pip install --upgrade pip
macOS (3.8)
The operation was canceled.
macOS (3.11)
The job running on runner GitHub Actions 7 has exceeded the maximum execution time of 15 minutes.
macOS (3.11)
The operation was canceled.
macOS (3.9)
The job running on runner GitHub Actions 10 has exceeded the maximum execution time of 15 minutes.
macOS (3.9)
The operation was canceled.
macOS (3.10)
The job running on runner GitHub Actions 5 has exceeded the maximum execution time of 15 minutes.
macOS (3.10)
The operation was canceled.
macOS (3.12)
The job running on runner GitHub Actions 18 has exceeded the maximum execution time of 15 minutes.
macOS (3.12)
The operation was canceled.
Windows (3.10, x86)
The job running on runner GitHub Actions 16 has exceeded the maximum execution time of 20 minutes.
Windows (3.10, x86)
The operation was canceled.
Windows (3.10, x64)
The job running on runner GitHub Actions 1 has exceeded the maximum execution time of 20 minutes.
Windows (3.10, x64)
The operation was canceled.
Windows (3.11, x64)
The job running on runner GitHub Actions 14 has exceeded the maximum execution time of 20 minutes.
Windows (3.11, x64)
The operation was canceled.
Windows (3.11, x86)
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 20 minutes.
Windows (3.11, x86)
The operation was canceled.
Windows (3.12, x64)
The job running on runner GitHub Actions 6 has exceeded the maximum execution time of 20 minutes.
Windows (3.12, x64)
The operation was canceled.
Windows (3.8, x64, with IFS LSP)
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 20 minutes.
Windows (3.8, x64, with IFS LSP)
The operation was canceled.
Windows (3.12, x86)
The job running on runner GitHub Actions 15 has exceeded the maximum execution time of 20 minutes.
Windows (3.12, x86)
The operation was canceled.
Windows (3.8, x64)
The job running on runner GitHub Actions 13 has exceeded the maximum execution time of 20 minutes.
Windows (3.8, x64)
The operation was canceled.
Windows (3.8, x86)
The job running on runner GitHub Actions 17 has exceeded the maximum execution time of 20 minutes.
Windows (3.8, x86)
The operation was canceled.
Windows (3.9, x64)
The job running on runner GitHub Actions 20 has exceeded the maximum execution time of 20 minutes.
Windows (3.9, x64)
The operation was canceled.
Windows (3.8, x64, with Komodia LSP)
The job running on runner GitHub Actions 2 has exceeded the maximum execution time of 20 minutes.
Windows (3.8, x64, with Komodia LSP)
The operation was canceled.
Windows (3.9, x86)
The job running on runner GitHub Actions 9 has exceeded the maximum execution time of 20 minutes.
Windows (3.9, x86)
The operation was canceled.
Alpine
The job running on runner GitHub Actions 12 has exceeded the maximum execution time of 360 minutes.
Alpine
The operation was canceled.
check
Process completed with exit code 1.
Ubuntu (3.8, check formatting)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Mypy-Linux+Mac+Windows: src/trio/_tests/test_channel.py#L414
src/trio/_tests/test_channel.py:(414:1 - 416:58): Use "-> None" if function does not return a value