Skip to content

Commit 08e590e

Browse files
zwareencukou
andauthored
[3.13] gh-158010: Update OpenSSL in binaries and CI from 3.0 to 3.5 (#158015)
Includes addition of `Modules/_ssl_data*.h` definitions backported from 3.14's `Modules/_ssl_data_35.h`. (adapted from commit cf52673) Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent ca0cdf4 commit 08e590e

18 files changed

Lines changed: 895 additions & 27 deletions

‎.github/workflows/build.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ jobs:
378378
needs: build-context
379379
if: needs.build-context.outputs.run-ubuntu == 'true'
380380
env:
381-
OPENSSL_VER: 3.0.22
381+
OPENSSL_VER: 3.5.8
382382
PYTHONSTRICTEXTENSIONBUILD: 1
383383
steps:
384384
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -485,7 +485,7 @@ jobs:
485485
matrix:
486486
os: [ubuntu-24.04]
487487
env:
488-
OPENSSL_VER: 3.0.22
488+
OPENSSL_VER: 3.5.8
489489
PYTHONSTRICTEXTENSIONBUILD: 1
490490
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
491491
steps:

‎.github/workflows/reusable-macos.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
--with-pydebug \
5151
${{ inputs.free-threading && '--disable-gil' || '' }} \
5252
--prefix=/opt/python-dev \
53-
--with-openssl="$(brew --prefix openssl@3.0)"
53+
--with-openssl="$(brew --prefix openssl@3.5)"
5454
- name: Build CPython
5555
run: make -j8
5656
- name: Display build info

‎.github/workflows/reusable-ubuntu.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
matrix:
2626
os: [ubuntu-24.04, ubuntu-24.04-arm]
2727
env:
28-
OPENSSL_VER: 3.0.22
28+
OPENSSL_VER: 3.5.8
2929
PYTHONSTRICTEXTENSIONBUILD: 1
3030
TERM: linux
3131
steps:

‎Android/android.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def unpack_deps(host, prefix_dir, cache_dir):
221221
for name_ver in [
222222
"bzip2-1.0.8-3",
223223
"libffi-3.4.4-3",
224-
"openssl-3.0.22-0",
224+
"openssl-3.5.8-0",
225225
"sqlite-3.53.4-0",
226226
"xz-5.4.6-1"
227227
]:

‎Mac/BuildScript/README.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ download them.
7373

7474
- builds the following third-party libraries
7575

76-
* OpenSSL 3.0.x
76+
* OpenSSL 3.5.x
7777
* Tcl/Tk 8.6.x
7878
* NCurses
7979
* SQLite

‎Mac/BuildScript/build-installer.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ def library_recipes():
246246

247247
result.extend([
248248
dict(
249-
name="OpenSSL 3.0.22",
250-
url="https://github.com/openssl/openssl/releases/download/openssl-3.0.22/openssl-3.0.22.tar.gz",
251-
checksum="67ebca7e50d17383028045486653492195b83db95f8558709701bb47b5c1ef81",
249+
name="OpenSSL 3.5.8",
250+
url="https://github.com/openssl/openssl/releases/download/openssl-3.5.8/openssl-3.5.8.tar.gz",
251+
checksum="a8f84a39918ec6415ce765d9b429d313ba97b8143169c172e734b9514464f5b2",
252252
buildrecipe=build_universal_openssl,
253253
configure=None,
254254
install=None,

‎Misc/Brewfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
brew "gdbm"
22
brew "mpdecimal"
3-
brew "openssl@3.0"
3+
brew "openssl@3.5"
44
brew "pkg-config"
55
brew "tcl-tk@8"
66
brew "xz"

‎Misc/NEWS.d/next/Build/2026-08-26-16-10-15.gh-issue-156369.55jGEj.rst‎

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Updated Android builds to use OpenSSL 3.5.8, jumping from the 3.0 series
2+
to 3.5 after 3.0's end of public support in September 2026.

‎Misc/NEWS.d/next/Windows/2026-08-28-10-55-22.gh-issue-156369.ETuGDj.rst‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)