Skip to content

3.10 openssl rebuild#221

Merged
ELundby45 merged 11 commits into
main-3.10from
3.10/debug-openssl
Jun 11, 2026
Merged

3.10 openssl rebuild#221
ELundby45 merged 11 commits into
main-3.10from
3.10/debug-openssl

Conversation

@ELundby45

@ELundby45 ELundby45 commented Jun 10, 2026

Copy link
Copy Markdown

Summary

Backport two upstream fixes so Python 3.10.20 builds and runs on win-64 with OpenSSL 3.5.7 and external libffi:

0028 — SSL DER EOF handling (cpython#100373): fixes ssl.create_default_context() / load_verify_locations(cadata=...) failing with [ASN1: NOT_ENOUGH_DATA] on Windows.
0029 — ctypes fielddesc init (cpython#29791): fixes _ctypes compile/link failures with external libffi DLL.
0015 — set USING_MALLOC_CLOSURE_DOT_C=1 (replace FFI_BUILDING) on _ctypes.vcxproj.

@ELundby45 ELundby45 force-pushed the 3.10/debug-openssl branch from e664e56 to 0bc96a6 Compare June 11, 2026 02:24
@ELundby45 ELundby45 changed the title 3.10/debug openssl 3.10 openssl rebuild Jun 11, 2026

@JamesRobertsonGames JamesRobertsonGames left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Good work getting this into the test script like you did, we'll hopefully see a breaking change coming 👍

(minor point about this is that it's not ideal to rely on an external network call on CI, but I think we'd rather deal with that in the future rather than an SSL breakage)

@ifitchet ifitchet left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find with the ctypes patch, too!

Talking to pypi.org during the test phase is a minor thing, right now.
Arguably, we could save the pypi.org cert in $RECIPE_DIR and use it directly.

@ELundby45 ELundby45 merged commit cebb2de into main-3.10 Jun 11, 2026
10 of 15 checks passed
@ELundby45 ELundby45 deleted the 3.10/debug-openssl branch June 11, 2026 15:08
This was referenced Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants