Skip to content

Commit 4ec5dc2

Browse files
authored
update pyo3 to 0.23 (#62)
1 parent a9a93c5 commit 4ec5dc2

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ name = "zarrs_python"
99
crate-type = ["cdylib", "rlib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.22.6", features = ["abi3-py311"] }
12+
pyo3 = { version = "0.23.2", features = ["abi3-py311"] }
1313
zarrs = "0.18.0"
1414
rayon_iter_concurrent_limit = "0.2.0"
1515
rayon = "1.10.0"
1616
# fix for https://stackoverflow.com/questions/76593417/package-openssl-was-not-found-in-the-pkg-config-search-path
1717
openssl = { version = "0.10", features = ["vendored"] }
18-
numpy = "0.22.1"
18+
numpy = "0.23.0"
1919
unsafe_cell_slice = "0.2.0"
2020
serde_json = "1.0.128"
2121
pyo3-stub-gen = { version = "0.6.1", git = "https://github.com/flying-sheep/pyo3-stub-gen.git", branch = "py-untyped-array" }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ impl CodecPipelineImpl {
440440
})?;
441441
Ok(chunk_bytes
442442
.into_iter()
443-
.map(|x| x.into_pyarray_bound(py))
443+
.map(|x| x.into_pyarray(py))
444444
.collect())
445445
}
446446

0 commit comments

Comments
 (0)