Skip to content

Commit f375d8f

Browse files
authored
Update PyO3 to 0.25.1; add PyPy 3.11 support (#63)
1 parent 5b18a35 commit f375d8f

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- os: windows
2727
target: x86_64
28-
interpreter: pypy3.9 pypy3.10
28+
interpreter: pypy3.9 pypy3.10 pypy3.11
2929
- os: windows
3030
target: i686
3131
python-architecture: x86
@@ -36,15 +36,15 @@ jobs:
3636

3737
- os: macos
3838
target: x86_64
39-
interpreter: pypy3.9 pypy3.10
39+
interpreter: pypy3.9 pypy3.10 pypy3.11
4040
- os: macos
4141
target: aarch64
4242
# actions/setup-python@v5 does not support 3.8 and 3.9 on arm64
43-
interpreter: 3.8 3.9 pypy3.9 pypy3.10
43+
interpreter: 3.8 3.9 pypy3.9 pypy3.10 pypy3.11
4444

4545
- os: ubuntu
4646
target: x86_64
47-
interpreter: pypy3.9 pypy3.10
47+
interpreter: pypy3.9 pypy3.10 pypy3.11
4848
- os: ubuntu
4949
target: i686
5050
- os: ubuntu
@@ -90,7 +90,7 @@ jobs:
9090
target: ${{ matrix.target }}
9191
manylinux: ${{ matrix.manylinux || 'auto' }}
9292
container: ${{ matrix.container }}
93-
args: --release --out dist --interpreter ${{ matrix.maturin-interpreter || matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10' }} ${{ matrix.extra-build-args }}
93+
args: --release --out dist --interpreter ${{ matrix.maturin-interpreter || matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11' }} ${{ matrix.extra-build-args }}
9494
rust-toolchain: 1.76.0
9595
docker-options: -e CI
9696

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ edition = "2021"
55
license = "MIT"
66
description = "Python binding to the Rust IPLD library"
77
authors = ["Ilya (Marshal) <ilya@marshal.dev>"]
8-
keywords = ["python", "binding", "library", "lib", "ipld", "cid", "multibase", "multihash", "dag", "cbor", "json", "pb", "dag-cbor", "dag-json"]
8+
keywords = ["ipld", "cid", "multibase", "multihash", "dag-cbor"]
99

1010
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1111
[lib]
1212
name = "libipld"
1313
crate-type = ["rlib", "cdylib"]
1414

1515
[dependencies]
16-
pyo3 = { version = "0.23.4", features = ["generate-import-lib", "anyhow"] }
17-
python3-dll-a = "0.2.13"
16+
pyo3 = { version = "0.25.1", features = ["generate-import-lib", "anyhow"] }
17+
python3-dll-a = "0.2.14"
1818
anyhow = "1.0.95"
1919
libipld = { version = "0.16.0", features = ["dag-cbor"] }
2020
multibase = "0.9.1"

profiling/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ structopt = "0.3.26"
1111
clap = "4.5.29"
1212

1313
[dependencies.pyo3]
14-
version = "0.23.4"
14+
version = "0.25.1"

profiling/src/profiles/encode_dag_cbor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub fn exec(iterations: u64) {
1414

1515
for _ in 0..iterations {
1616
Python::with_gil(|gil| {
17-
println!("{}", libipld::encode_dag_cbor(gil, &PyString::new_bound(gil, json_str)).is_ok());
17+
println!("{}", libipld::encode_dag_cbor(gil, &PyString::new(gil, json_str)).is_ok());
1818
});
1919
}
2020
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ authors = [
88
license = "MIT"
99
repository = "https://github.com/MarshalX/python-libipld"
1010
readme = "README.md"
11-
keywords = ["library", "lib", "ipld", "cid", "multibase", "multihash", "dag", "cbor", "json", "pb", "dag-cbor", "dag-json"]
11+
keywords = ["library", "lib", "ipld", "cid", "multibase", "multihash", "dag", "cbor", "dag-cbor"]
1212
requires-python = ">=3.8"
1313
classifiers = [
1414
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)