Skip to content

Commit ddd03a0

Browse files
authored
Upgrade pyO3 to 0.29.0 (#8462)
This lets us get over the security advisory Signed-off-by: Robert Kruszewski <github@robertk.io>
1 parent 4b867a0 commit ddd03a0

4 files changed

Lines changed: 23 additions & 32 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ proc-macro2 = "1.0.95"
209209
prost = "0.14"
210210
prost-build = "0.14"
211211
prost-types = "0.14"
212-
pyo3 = { version = "0.28.0" }
213-
pyo3-bytes = "0.6"
212+
pyo3 = { version = "0.29.0" }
213+
pyo3-bytes = "0.7"
214214
pyo3-log = "0.13.0"
215-
pyo3-object_store = "0.9.0"
215+
pyo3-object_store = "0.11.0"
216216
quote = "1.0.44"
217217
rand = "0.10.1"
218218
rand_distr = "0.6"

deny.toml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ ignore = [
1616
# Paste is no longer maintained because its essentially "finished".
1717
"RUSTSEC-2024-0436",
1818
# proc-macro-error-2 is unmaintained, only used by the `test_with` test dependency
19-
"RUSTSEC-2026-0173",
20-
# Out-of-bounds read in `nth`/`nth_back` on pyo3 list/tuple iterators, fixed only in pyo3
21-
# 0.29.0. We cannot bump until pyo3-bytes, pyo3-log, and pyo3-object_store support 0.29 (all
22-
# pin pyo3 to <0.29, and pyo3-ffi `links = "python"` forbids two pyo3 versions in the graph).
23-
# Not exploitable here: `vortex-python` never calls `nth`/`nth_back` on these iterators.
24-
"RUSTSEC-2026-0176",
25-
# Another issue that will be fixed once we can bump pyo3 to 0.29.
26-
# PyCFunction::new_closure is missing a `Sync` bound.
27-
"RUSTSEC-2026-0177"
19+
"RUSTSEC-2026-0173"
2820
]
2921

3022
[licenses]

vortex-python/src/dtype/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl PyDType {
194194
#[classmethod]
195195
#[pyo3(signature = (arrow_dtype, *, non_nullable = false))]
196196
fn from_arrow<'py>(
197-
cls: &'py Bound<'py, PyType>,
197+
cls: &Bound<'py, PyType>,
198198
#[pyo3(from_py_with = import_arrow_dtype)] arrow_dtype: DataType,
199199
non_nullable: bool,
200200
) -> PyResult<Bound<'py, PyDType>> {

0 commit comments

Comments
 (0)