Skip to content

Commit 68fe899

Browse files
authored
pythongh-149254: Update CI to use latest OpenSSL and AWS-LC versions (pythonGH-149330)
Also update Modules/_ssl_data_36.h to include an added symbol from OpenSSL 3.6.2.
1 parent d254d6e commit 68fe899

4 files changed

Lines changed: 21 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -278,13 +278,13 @@ jobs:
278278
# unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
279279
# supported by important vendors such as AWS-LC.
280280
- { name: openssl, version: 1.1.1w }
281-
- { name: openssl, version: 3.0.19 }
282-
- { name: openssl, version: 3.3.6 }
283-
- { name: openssl, version: 3.4.4 }
284-
- { name: openssl, version: 3.5.5 }
285-
- { name: openssl, version: 3.6.1 }
281+
- { name: openssl, version: 3.0.20 }
282+
- { name: openssl, version: 3.3.7 }
283+
- { name: openssl, version: 3.4.5 }
284+
- { name: openssl, version: 3.5.6 }
285+
- { name: openssl, version: 3.6.2 }
286286
## AWS-LC
287-
- { name: aws-lc, version: 1.68.0 }
287+
- { name: aws-lc, version: 1.72.1 }
288288
env:
289289
SSLLIB_VER: ${{ matrix.ssllib.version }}
290290
MULTISSL_DIR: ${{ github.workspace }}/multissl
@@ -398,7 +398,7 @@ jobs:
398398
needs: build-context
399399
if: needs.build-context.outputs.run-ubuntu == 'true'
400400
env:
401-
OPENSSL_VER: 3.5.5
401+
OPENSSL_VER: 3.5.6
402402
PYTHONSTRICTEXTENSIONBUILD: 1
403403
steps:
404404
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -506,7 +506,7 @@ jobs:
506506
matrix:
507507
os: [ubuntu-24.04]
508508
env:
509-
OPENSSL_VER: 3.5.5
509+
OPENSSL_VER: 3.5.6
510510
PYTHONSTRICTEXTENSIONBUILD: 1
511511
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
512512
steps:

.github/workflows/reusable-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ${{ inputs.os }}
3636
timeout-minutes: 60
3737
env:
38-
OPENSSL_VER: 3.5.5
38+
OPENSSL_VER: 3.5.6
3939
PYTHONSTRICTEXTENSIONBUILD: 1
4040
TERM: linux
4141
steps:

Modules/_ssl_data_36.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* File generated by Tools/ssl/make_ssl_data.py */
2-
/* Generated on 2026-02-13T18:19:19.227109+00:00 */
3-
/* Generated from Git commit openssl-3.6.1-0-gc9a9e5b10 */
2+
/* Generated on 2026-05-03T19:50:43.034653+00:00 */
3+
/* Generated from Git commit openssl-3.6.2-0-gfe686e15d */
44

55
/* generated from args.lib2errnum */
66
static struct py_ssl_library_code library_codes[] = {
@@ -4263,6 +4263,11 @@ static struct py_ssl_error_code error_codes[] = {
42634263
#else
42644264
{"CONNECT_FAILURE", 61, 100},
42654265
#endif
4266+
#ifdef HTTP_R_CONTENT_TYPE_MISMATCH
4267+
{"CONTENT_TYPE_MISMATCH", ERR_LIB_HTTP, HTTP_R_CONTENT_TYPE_MISMATCH},
4268+
#else
4269+
{"CONTENT_TYPE_MISMATCH", 61, 131},
4270+
#endif
42664271
#ifdef HTTP_R_ERROR_PARSING_ASN1_LENGTH
42674272
{"ERROR_PARSING_ASN1_LENGTH", ERR_LIB_HTTP, HTTP_R_ERROR_PARSING_ASN1_LENGTH},
42684273
#else

Tools/ssl/multissltests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949
]
5050

5151
OPENSSL_RECENT_VERSIONS = [
52-
"3.0.19",
53-
"3.3.6",
54-
"3.4.4",
55-
"3.5.5",
56-
"3.6.1",
52+
"3.0.20",
53+
"3.3.7",
54+
"3.4.5",
55+
"3.5.6",
56+
"3.6.2",
5757
# See make_ssl_data.py for notes on adding a new version.
5858
]
5959

0 commit comments

Comments
 (0)