From b096ad2f2bad43ad6c9bf48f9174b06c979ec723 Mon Sep 17 00:00:00 2001 From: A5rocks Date: Tue, 29 Sep 2026 22:12:55 -0400 Subject: [PATCH 1/3] Add new constant to socket --- src/trio/_tests/test_exports.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/trio/_tests/test_exports.py b/src/trio/_tests/test_exports.py index 1c2b46ca4..ed00ced03 100644 --- a/src/trio/_tests/test_exports.py +++ b/src/trio/_tests/test_exports.py @@ -243,6 +243,10 @@ def no_underscores(symbols: Iterable[str]) -> set[str]: # ignore warnings about deprecated module tests missing_names -= {"tests"} + # ignore spurious incorrect name + # TODO: remove when PyPy 8.0.1 or 8.1.0 gets released! + missing_names -= {"ALG_SET_PUB_KEY"} + if missing_names: # pragma: no cover print(f"{tool} can't see the following names in {modname}:") print() From fa3d58bfe5dc1653e18865e3f94f4f11008f3f0a Mon Sep 17 00:00:00 2001 From: A5rocks Date: Wed, 30 Sep 2026 19:59:56 -0400 Subject: [PATCH 2/3] Bump cryptography again --- test-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-requirements.txt b/test-requirements.txt index 80c2bf538..3314ac866 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -39,7 +39,7 @@ colorama==0.4.6 ; sys_platform == 'win32' # sphinx coverage==7.16.0 # via -r test-requirements.in -cryptography==50.0.1 +cryptography==50.0.2 # via # -r test-requirements.in # pyopenssl From e12547f78849be25ec5c0c1a3df161986be1ae96 Mon Sep 17 00:00:00 2001 From: A5rocks Date: Wed, 30 Sep 2026 20:35:01 -0400 Subject: [PATCH 3/3] Add a new socket constant --- src/trio/socket.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trio/socket.py b/src/trio/socket.py index 424f0f92e..77c0c457b 100644 --- a/src/trio/socket.py +++ b/src/trio/socket.py @@ -693,6 +693,7 @@ VMADDR_CID_HOST as VMADDR_CID_HOST, VMADDR_CID_LOCAL as VMADDR_CID_LOCAL, VMADDR_PORT_ANY as VMADDR_PORT_ANY, + WSA_FLAG_NO_HANDLE_INHERIT as WSA_FLAG_NO_HANDLE_INHERIT, WSA_FLAG_OVERLAPPED as WSA_FLAG_OVERLAPPED, WSA_INVALID_HANDLE as WSA_INVALID_HANDLE, WSA_INVALID_PARAMETER as WSA_INVALID_PARAMETER,