Skip to content

Commit adc8a71

Browse files
committed
Update OpenSSL to the latest stable version (3.4.0)
We now build aarch64 wheels using a native runner.
1 parent 49269a5 commit adc8a71

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/build.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
arch: arm64
1414
- os: macos-13
1515
arch: x86_64
16-
- os: ubuntu-latest
16+
- os: ubuntu-24.04-arm
1717
arch: aarch64
1818
- os: ubuntu-latest
1919
arch: i686
@@ -27,10 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
- uses: actions/setup-python@v5
2929
with:
30-
python-version: 3.8
31-
- name: Install qemu
32-
if: matrix.os == 'ubuntu-latest'
33-
uses: docker/setup-qemu-action@v3
30+
python-version: 3.11
3431
- name: Install nasm
3532
if: matrix.os == 'windows-latest'
3633
run: choco install -y nasm
@@ -39,7 +36,7 @@ jobs:
3936
CIBW_ARCHS: ${{ matrix.arch }}
4037
CIBW_BEFORE_BUILD: python scripts/build-openssl.py /tmp/vendor
4138
CIBW_BEFORE_BUILD_WINDOWS: scripts\build-openssl.bat C:\cibw\vendor
42-
CIBW_BUILD: cp38-*
39+
CIBW_BUILD: cp39-*
4340
CIBW_SKIP: '*-musllinux*'
4441
CIBW_TEST_COMMAND: python -c "import dummy"
4542
run: |

scripts/build-openssl.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Buil
2121
SET PATH=%PATH%;C:\Program Files\NASM
2222

2323
mkdir openssl
24-
curl -L https://www.openssl.org/source/openssl-3.3.0.tar.gz -o openssl.tar.gz
24+
curl -L https://www.openssl.org/source/openssl-3.4.0.tar.gz -o openssl.tar.gz
2525
tar xzf openssl.tar.gz -C openssl --strip-components 1
2626
cd openssl
2727

scripts/build-openssl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def run(cmd, *, env=None):
7474
os.chdir(build_dir)
7575

7676
# build openssl
77-
extract("openssl", "https://www.openssl.org/source/openssl-3.3.0.tar.gz")
77+
extract("openssl", "https://www.openssl.org/source/openssl-3.4.0.tar.gz")
7878
os.chdir("openssl")
7979
run(["./config"] + configure_args + ["no-apps", "no-comp", "no-dso", "no-shared", "no-tests"])
8080
run(["make"])

0 commit comments

Comments
 (0)