[3.11] gh-123418: Update CI to use fresh OpenSSL releases (GH-123675) (#123699)

* [3.11] gh-123418: Update CI to use fresh OpenSSL releases (GH-123675)

Also adds openssl/openssl GitHub URL template for newer OpenSSL downloads
(cherry picked from commit 56b00f4705)

Co-authored-by: Zachary Ware <zach@python.org>

* Adjust build_ubuntu_ssltests job to use cache for the correct OS version
This commit is contained in:
Zachary Ware 2024-10-22 10:48:51 -05:00 committed by GitHub
parent affa2a9503
commit e84015f846
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 6 deletions

View File

@ -235,7 +235,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
openssl_ver: [1.1.1w, 3.0.13, 3.1.5, 3.2.1]
openssl_ver: [1.1.1w, 3.0.15, 3.1.7, 3.2.3]
env:
OPENSSL_VER: ${{ matrix.openssl_ver }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
@ -291,7 +291,7 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 3.0.13
OPENSSL_VER: 3.0.15
PYTHONSTRICTEXTENSIONBUILD: 1
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
steps:

View File

@ -18,7 +18,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
env:
OPENSSL_VER: 3.0.13
OPENSSL_VER: 3.0.15
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@v4

View File

@ -0,0 +1,2 @@
Update GitHub CI workflows to use OpenSSL 3.0.15 and multissltests to use
3.0.15, 3.1.7, and 3.2.3.

View File

@ -48,9 +48,9 @@
OPENSSL_RECENT_VERSIONS = [
"1.1.1w",
"3.0.13",
"3.1.5",
"3.2.1",
"3.0.15",
"3.1.7",
"3.2.3",
]
LIBRESSL_OLD_VERSIONS = [
@ -395,6 +395,7 @@ def run_python_tests(self, tests, network=True):
class BuildOpenSSL(AbstractBuilder):
library = "OpenSSL"
url_templates = (
"https://github.com/openssl/openssl/releases/download/openssl-{v}/openssl-{v}.tar.gz",
"https://www.openssl.org/source/openssl-{v}.tar.gz",
"https://www.openssl.org/source/old/{s}/openssl-{v}.tar.gz"
)
@ -437,6 +438,7 @@ def short_version(self):
parsed = parsed[:2]
return ".".join(str(i) for i in parsed)
class BuildLibreSSL(AbstractBuilder):
library = "LibreSSL"
url_templates = (