Skip to content

Commit 7b4cc26

Browse files
authored
Backport PyPy3.11 support (#12536)
1 parent adaaaed commit 7b4cc26

File tree

5 files changed

+30
-11
lines changed

5 files changed

+30
-11
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- {VERSION: "3.13", NOXSESSION: "tests"}
3434
- {VERSION: "3.14-dev", NOXSESSION: "tests"}
3535
- {VERSION: "pypy-3.10", NOXSESSION: "tests-nocoverage"}
36+
- {VERSION: "pypy-3.11", NOXSESSION: "tests-nocoverage"}
3637
- {VERSION: "3.12", NOXSESSION: "tests", OPENSSL: {TYPE: "openssl", VERSION: "3.0.15"}}
3738
- {VERSION: "3.12", NOXSESSION: "tests", OPENSSL: {TYPE: "openssl", VERSION: "3.1.7"}}
3839
- {VERSION: "3.12", NOXSESSION: "tests-ssh", OPENSSL: {TYPE: "openssl", VERSION: "3.2.3"}}

.github/workflows/wheel-builder.yml

+11
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
- { VERSION: "cp311-cp311", ABI_VERSION: 'py37' }
6969
- { VERSION: "cp311-cp311", ABI_VERSION: 'py39' }
7070
- { VERSION: "pp310-pypy310_pp73" }
71+
- { VERSION: "pp311-pypy311_pp73" }
7172
MANYLINUX:
7273
- { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest" }
7374
- { NAME: "manylinux_2_28_x86_64", CONTAINER: "cryptography-manylinux_2_28:x86_64", RUNNER: "ubuntu-latest"}
@@ -86,16 +87,26 @@ jobs:
8687
MANYLINUX: { NAME: "musllinux_1_2_x86_64", CONTAINER: "cryptography-musllinux_1_2:x86_64", RUNNER: "ubuntu-latest"}
8788
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
8889
MANYLINUX: { NAME: "musllinux_1_2_aarch64", CONTAINER: "cryptography-musllinux_1_2:aarch64", RUNNER: "ubuntu-24.04-arm"}
90+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
91+
MANYLINUX: { NAME: "musllinux_1_2_x86_64", CONTAINER: "cryptography-musllinux_1_2:x86_64", RUNNER: "ubuntu-latest"}
92+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
93+
MANYLINUX: { NAME: "musllinux_1_2_aarch64", CONTAINER: "cryptography-musllinux_1_2:aarch64", RUNNER: "ubuntu-24.04-arm" }
8994

9095
# We also don't build pypy wheels for anything except the latest manylinux
9196
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
9297
MANYLINUX: { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest"}
9398
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
9499
MANYLINUX: { NAME: "manylinux2014_aarch64", CONTAINER: "cryptography-manylinux2014_aarch64", RUNNER: "ubuntu-24.04-arm" }
100+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
101+
MANYLINUX: { NAME: "manylinux2014_x86_64", CONTAINER: "cryptography-manylinux2014:x86_64", RUNNER: "ubuntu-latest"}
102+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
103+
MANYLINUX: { NAME: "manylinux2014_aarch64", CONTAINER: "cryptography-manylinux2014_aarch64", RUNNER: "ubuntu-24.04-arm" }
95104

96105
# No PyPy on armv7l either
97106
- PYTHON: { VERSION: "pp310-pypy310_pp73" }
98107
MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" }
108+
- PYTHON: { VERSION: "pp311-pypy311_pp73" }
109+
MANYLINUX: { NAME: "manylinux_2_31_armv7l", CONTAINER: "cryptography-manylinux_2_31:armv7l", RUNNER: "ubuntu-24.04-arm" }
99110
name: "${{ matrix.PYTHON.VERSION }} for ${{ matrix.MANYLINUX.NAME }}"
100111
steps:
101112
- name: Ridiculous-er workaround for static node20

CHANGELOG.rst

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Changelog
22
=========
33

4+
.. _v44-0-2:
5+
6+
44.0.2 - 2025-03-01
7+
~~~~~~~~~~~~~~~~~~~
8+
9+
* We now build wheels for PyPy 3.11.
10+
411
.. _v44-0-1:
512

613
44.0.1 - 2025-02-11

Cargo.lock

+10-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ rust-version = "1.65.0"
2020

2121
[workspace.dependencies]
2222
asn1 = { version = "0.20.0", default-features = false }
23-
pyo3 = { version = "0.23.4", features = ["abi3"] }
23+
pyo3 = { version = "0.23.5", features = ["abi3"] }
2424

2525
[profile.release]
2626
overflow-checks = true

0 commit comments

Comments
 (0)