File tree Expand file tree Collapse file tree 4 files changed +15
-31
lines changed Expand file tree Collapse file tree 4 files changed +15
-31
lines changed Original file line number Diff line number Diff line change @@ -239,14 +239,6 @@ if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_9}" && -n "${PYTHON_MEETS_MAXIMUM_VER
239
239
patch -p1 -i ${ROOT} /patch-posixmodule-remove-system.patch
240
240
fi
241
241
242
- # posixmodule.c unconditionally includes linux/limits.h on musl. This breaks
243
- # because we're building with old Linux headers not having this file. This is
244
- # effectively a revert of CPython commit 8be8101bca34b60481ec3d7ecaea4a3379fb7dbb.
245
- # Upstream bug report: https://github.com/python/cpython/issues/106881.
246
- if [ -n " ${PYTHON_MEETS_MINIMUM_VERSION_3_11} " ]; then
247
- patch -p1 -i ${ROOT} /patch-posixmodule-musl-limits.patch
248
- fi
249
-
250
242
# Python 3.11 has configure support for configuring extension modules. We really,
251
243
# really, really want to use this feature because it looks promising. But at the
252
244
# time we added this code the functionality didn't support all extension modules
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -859,17 +859,24 @@ def hack_props(
859
859
)
860
860
else :
861
861
if arch == "amd64" :
862
- suffix = b"x64"
862
+ suffix = b"- x64"
863
863
elif arch == "win32" :
864
- suffix = None
864
+ suffix = b""
865
865
else :
866
866
raise Exception ("unhandled architecture: %s" % arch )
867
867
868
- if suffix :
868
+ try :
869
+ # CPython 3.11+ builds with OpenSSL 3.0 by default.
870
+ static_replace_in_file (
871
+ openssl_props ,
872
+ b"<_DLLSuffix>-3</_DLLSuffix>" ,
873
+ b"<_DLLSuffix>-1_1%s</_DLLSuffix>" % suffix ,
874
+ )
875
+ except NoSearchStringError :
869
876
static_replace_in_file (
870
877
openssl_props ,
871
878
b"<_DLLSuffix>-1_1</_DLLSuffix>" ,
872
- b"<_DLLSuffix>-1_1- %s</_DLLSuffix>" % suffix ,
879
+ b"<_DLLSuffix>-1_1%s</_DLLSuffix>" % suffix ,
873
880
)
874
881
875
882
libffi_props = pcbuild_path / "libffi.props"
Original file line number Diff line number Diff line change 62
62
"python_tag" : "cp310" ,
63
63
},
64
64
"cpython-3.11" : {
65
- "url" : "https://www.python.org/ftp/python/3.11.4 /Python-3.11.4 .tar.xz" ,
66
- "size" : 19954828 ,
67
- "sha256" : "2f0e409df2ab57aa9fc4cbddfb976af44e4e55bf6f619eee6bc5c2297264a7f6 " ,
68
- "version" : "3.11.4 " ,
65
+ "url" : "https://www.python.org/ftp/python/3.11.5 /Python-3.11.5 .tar.xz" ,
66
+ "size" : 20053580 ,
67
+ "sha256" : "85cd12e9cf1d6d5a45f17f7afe1cebe7ee628d3282281c492e86adf636defa3f " ,
68
+ "version" : "3.11.5 " ,
69
69
"licenses" : ["Python-2.0" , "CNRI-Python" ],
70
70
"license_file" : "LICENSE.cpython.txt" ,
71
71
"python_tag" : "cp311" ,
You can’t perform that action at this time.
0 commit comments