From a699d7c1108e0e2743391393449be076b743af2b Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 2 Nov 2025 22:43:12 +0100 Subject: [PATCH] Run github workflow tests on Python 3.11 --- .github/workflows/build.yml | 2 +- tests/channel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8f0df4..56268f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.x + python-version: 3.11 - run: | python -m pip install -q cryptography make test diff --git a/tests/channel.py b/tests/channel.py index 33016e0..ab6a594 100644 --- a/tests/channel.py +++ b/tests/channel.py @@ -415,7 +415,7 @@ class TestChannel(unittest.TestCase): nonlocal count, write_finished count = writer.write(data.encode("utf-8")) writer.flush() - # writer.close() # TODO: Temporary workaround for https://github.com/python/cpython/issues/138720 + writer.close() # TODO: Workaround for https://github.com/python/cpython/issues/138720 write_finished = True threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()