]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-149254: Update CI to use latest OpenSSL versions (GH-149333)
authorZachary Ware <zach@python.org>
Sun, 3 May 2026 21:11:42 +0000 (16:11 -0500)
committerGitHub <noreply@github.com>
Sun, 3 May 2026 21:11:42 +0000 (21:11 +0000)
Also update Modules/_ssl_data_35.h to include an added symbol from 3.5.6.

(adapted from commit 68fe899feb8515113d09a4161f34ae45809b807a)

.github/workflows/build.yml
.github/workflows/reusable-ubuntu.yml
Modules/_ssl_data_35.h
Tools/ssl/multissltests.py

index 8f71d8ed99ad4b82654e32320c8453813bae502d..34060b2cd1d2647f0d4c808536018e87d8301219 100644 (file)
@@ -305,11 +305,11 @@ jobs:
           # unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
           # supported by important vendors such as AWS-LC.
           - { name: openssl, version: 1.1.1w }
-          - { name: openssl, version: 3.0.19 }
-          - { name: openssl, version: 3.3.6 }
-          - { name: openssl, version: 3.4.4 }
-          - { name: openssl, version: 3.5.5 }
-          - { name: openssl, version: 3.6.1 }
+          - { name: openssl, version: 3.0.20 }
+          - { name: openssl, version: 3.3.7 }
+          - { name: openssl, version: 3.4.5 }
+          - { name: openssl, version: 3.5.6 }
+          - { name: openssl, version: 3.6.2 }
     env:
       SSLLIB_VER: ${{ matrix.ssllib.version }}
       MULTISSL_DIR: ${{ github.workspace }}/multissl
@@ -423,7 +423,7 @@ jobs:
     needs: build-context
     if: needs.build-context.outputs.run-ubuntu == 'true'
     env:
-      OPENSSL_VER: 3.0.18
+      OPENSSL_VER: 3.0.20
       PYTHONSTRICTEXTENSIONBUILD: 1
     steps:
     - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -531,7 +531,7 @@ jobs:
       matrix:
         os: [ubuntu-24.04]
     env:
-      OPENSSL_VER: 3.0.18
+      OPENSSL_VER: 3.0.20
       PYTHONSTRICTEXTENSIONBUILD: 1
       ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
     steps:
index 40529cc86886f75d4b46876dc17cc42b21b8c203..91f4ad4a40126b1fd4bdeaef3468a3dfe4290a59 100644 (file)
@@ -30,7 +30,7 @@ jobs:
     runs-on: ${{ inputs.os }}
     timeout-minutes: 60
     env:
-      OPENSSL_VER: 3.0.18
+      OPENSSL_VER: 3.0.20
       PYTHONSTRICTEXTENSIONBUILD: 1
       TERM: linux
     steps:
index 8a9fef87b2aec59a2a72795d2a744d2401635d1f..89c97f3be51a7fda44e4ef09e608b7e8af1a62f2 100644 (file)
@@ -1,6 +1,6 @@
 /* File generated by Tools/ssl/make_ssl_data.py */
-/* Generated on 2026-02-13T19:18:20.130102+00:00 */
-/* Generated from Git commit openssl-3.5.5-0-g67b5686b4 */
+/* Generated on 2026-05-03T20:36:01.807725+00:00 */
+/* Generated from Git commit openssl-3.5.6-0-g286ddeaac */
 
 /* generated from args.lib2errnum */
 static struct py_ssl_library_code library_codes[] = {
@@ -4248,6 +4248,11 @@ static struct py_ssl_error_code error_codes[] = {
   #else
     {"CONNECT_FAILURE", 61, 100},
   #endif
+  #ifdef HTTP_R_CONTENT_TYPE_MISMATCH
+    {"CONTENT_TYPE_MISMATCH", ERR_LIB_HTTP, HTTP_R_CONTENT_TYPE_MISMATCH},
+  #else
+    {"CONTENT_TYPE_MISMATCH", 61, 131},
+  #endif
   #ifdef HTTP_R_ERROR_PARSING_ASN1_LENGTH
     {"ERROR_PARSING_ASN1_LENGTH", ERR_LIB_HTTP, HTTP_R_ERROR_PARSING_ASN1_LENGTH},
   #else
index 86baf8a3a74bd4bd84ed0e5932602343b1e524b5..85a8cd38f41bfa961ecc02b383d4bd0778687969 100755 (executable)
@@ -49,11 +49,11 @@ OPENSSL_OLD_VERSIONS = [
 ]
 
 OPENSSL_RECENT_VERSIONS = [
-    "3.0.19",
-    "3.3.6",
-    "3.4.4",
-    "3.5.5",
-    "3.6.1",
+    "3.0.20",
+    "3.3.7",
+    "3.4.5",
+    "3.5.6",
+    "3.6.2",
     # See make_ssl_data.py for notes on adding a new version.
 ]