Skip to content

Add python 3.14#285

Merged
dwoz merged 5 commits intomainfrom
py314
May 5, 2026
Merged

Add python 3.14#285
dwoz merged 5 commits intomainfrom
py314

Conversation

@dwoz
Copy link
Copy Markdown
Contributor

@dwoz dwoz commented May 5, 2026

No description provided.

dwoz added 5 commits May 5, 2026 00:21
Python 3.14 replaced the bundled zlib with zlib-ng on Windows and added
a new _zstd extension. PCbuild expects sources at
externals/zlib-ng-2.2.4 and externals/zstd-1.5.7; without them MSBuild
fails on zlib-ng.vcxproj when reading zlib.h.in.

Add a zlib-ng entry to python-versions.json and wire two new
update_zlib_ng / update_zstd helpers into the Windows build_python step
so both archives are downloaded, extracted, flattened, and recorded in
externals.spdx.json before MSBuild runs.
Linux: build_zstd was installing only libzstd.a, but curl's configure
detects libzstd via -lzstd and links libcurl.so against it. Without
libzstd.so the curl tool link fails on undefined ZSTD_* symbols. Build
both the static and shared libraries and install both, alongside the .pc
and headers. Use the lib/Makefile's `lib` target and avoid setting
LDFLAGS on the make command line so it doesn't clobber the target-local
`LDFLAGS += -shared` rule.

3.14 verify: pygit2 1.16.0 has no cp314 wheels and pygit2's source build
needs libgit2 (which we don't ship), so test_install_with_target_* fail
on every platform for 3.14. Bump the 3.14 branch to pygit2==1.19.2 and
cffi==2.0.0 (pygit2 1.19.2 requires cffi>=2.0); both have cp314 wheels
for Linux, macOS, and Windows.
@dwoz dwoz merged commit a522e65 into main May 5, 2026
143 of 145 checks passed
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.

2 participants