From f4ec3ff82530f5a3a3ea34a2ead81d88a775bf92 Mon Sep 17 00:00:00 2001 From: sandeepgupta12 Date: Wed, 2 Jul 2025 13:53:25 +0530 Subject: [PATCH 1/4] Add support for ppc64le architecture to CI and wheel-builder workflows --- .github/workflows/ci.yml | 2 ++ .github/workflows/wheel-builder.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c436b84f9bfa..01bda684016e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,6 +172,8 @@ jobs: - {IMAGE: "ubuntu-rolling:aarch64", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-arm"} - {IMAGE: "ubuntu-rolling:armv7l", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-arm"} + + - {IMAGE: "ubuntu-24.04:ppc64le", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-ppc64le"} timeout-minutes: 15 env: RUSTUP_HOME: /root/.rustup diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 31578a7cc384..27cffe384fc2 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -81,6 +81,10 @@ jobs: - { NAME: "musllinux_1_2_aarch64", CONTAINER: "cryptography-musllinux_1_2:aarch64", RUNNER: "ubuntu-24.04-arm" } - { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } + + - { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + - { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + exclude: # There are no readily available musllinux PyPy distributions - PYTHON: { VERSION: "pp310-pypy310_pp73" } @@ -107,6 +111,17 @@ jobs: MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } - PYTHON: { VERSION: "pp311-pypy311_pp73" } MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } + + # No PyPy on ppc64le + - PYTHON: { VERSION: "pp311-pypy311_pp73" } + MANYLINUX: { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + - PYTHON: { VERSION: "pp310-pypy310_pp73" } + MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + - PYTHON: { VERSION: "pp310-pypy310_pp73" } + MANYLINUX: { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + - PYTHON: { VERSION: "pp311-pypy311_pp73" } + MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}" steps: - name: Ridiculous-er workaround for static node20 From 57279688fd864d501912c4440f23e3a0e2db8d31 Mon Sep 17 00:00:00 2001 From: sandeepgupta12 Date: Wed, 16 Jul 2025 12:29:55 +0530 Subject: [PATCH 2/4] using manylinux_2_34 image and ubuntu-rolling image --- .github/workflows/ci.yml | 2 +- .github/workflows/wheel-builder.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01bda684016e..c1a53ccdbdd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -173,7 +173,7 @@ jobs: - {IMAGE: "ubuntu-rolling:armv7l", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-arm"} - - {IMAGE: "ubuntu-24.04:ppc64le", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-ppc64le"} + - {IMAGE: "ubuntu-rolling:ppc64le", NOXSESSION: "tests", RUNNER: "ubuntu-24.04-ppc64le"} timeout-minutes: 15 env: RUSTUP_HOME: /root/.rustup diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml index 27cffe384fc2..1605f8c871ca 100644 --- a/.github/workflows/wheel-builder.yml +++ b/.github/workflows/wheel-builder.yml @@ -83,7 +83,7 @@ jobs: - { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" } - { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } - - { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + - { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } exclude: # There are no readily available musllinux PyPy distributions @@ -114,11 +114,11 @@ jobs: # No PyPy on ppc64le - PYTHON: { VERSION: "pp311-pypy311_pp73" } - MANYLINUX: { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + MANYLINUX: { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } - PYTHON: { VERSION: "pp310-pypy310_pp73" } MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } - PYTHON: { VERSION: "pp310-pypy310_pp73" } - MANYLINUX: { NAME: "manylinux2014_ppc64le", CONTAINER: "cryptography-manylinux2014:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } + MANYLINUX: { NAME: "manylinux_2_34_ppc64le", CONTAINER: "cryptography-manylinux_2_34:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } - PYTHON: { VERSION: "pp311-pypy311_pp73" } MANYLINUX: { NAME: "manylinux_2_28_ppc64le", CONTAINER: "cryptography-manylinux_2_28:ppc64le", RUNNER: "ubuntu-24.04-ppc64le" } From 5fdc833c67fa5d14dba80c5334bd8f7522df8fa5 Mon Sep 17 00:00:00 2001 From: sandeepgupta12 Date: Wed, 16 Jul 2025 18:30:33 +0530 Subject: [PATCH 3/4] docs: add ppc64le to supported platforms list --- docs/installation.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/installation.rst b/docs/installation.rst index 04769f94f84f..1310d7bc7ffd 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -35,6 +35,7 @@ operating systems. Sid (unstable) * x86-64 and ARM64 Alpine (latest) * 32-bit and 64-bit Python on 64-bit Windows Server 2022 +* Power (ppc64le) Ubuntu rolling We test compiling with ``clang`` as well as ``gcc`` and use the following OpenSSL releases in addition to distribution provided releases from the From f779e70753f86fc65152cfb2fcb9c1b83023cf48 Mon Sep 17 00:00:00 2001 From: sandeepgupta12 Date: Wed, 16 Jul 2025 18:53:01 +0530 Subject: [PATCH 4/4] Update docs/installation.rst Co-authored-by: Paul Kehrer --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 1310d7bc7ffd..fbeb4b6b0fba 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -35,7 +35,7 @@ operating systems. Sid (unstable) * x86-64 and ARM64 Alpine (latest) * 32-bit and 64-bit Python on 64-bit Windows Server 2022 -* Power (ppc64le) Ubuntu rolling +* ``ppc64le`` Ubuntu rolling We test compiling with ``clang`` as well as ``gcc`` and use the following OpenSSL releases in addition to distribution provided releases from the