Skip to content

Commit 9ecb988

Browse files
maresbclaude
authored andcommitted
deps: upgrade PyO3 to 0.29 and align ecosystem crates
Bump PyO3 from 0.28 to 0.29.0 to pick up the security fix, moving the whole binding family in lockstep (they must share one PyO3 minor): pyo3 0.28 -> 0.29.0 numpy 0.28 -> 0.29.0 pythonize 0.28 -> 0.29.0 pyo3-arrow 0.17 -> 0.19.0 pyo3-object_store 0.9 -> 0.11.0 (pulls pyo3-async-runtimes 0.29) pyo3-arrow 0.19 and nuts-rs 0.18.3 both require arrow 59, so bump arrow 58 -> 59 and nuts-rs 0.18.0 -> 0.18.3 to keep them aligned. nuts-rs 0.18.3 removed ArrowConfig::new(); use ArrowConfig::default() (store_warmup: true), which preserves the previous behavior. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 896ea9a commit 9ecb988

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ name = "_lib"
2121
crate-type = ["cdylib"]
2222

2323
[dependencies]
24-
nuts-rs = { version = "0.18.0", features = ["zarr", "arrow"] }
25-
numpy = "0.28.0"
24+
nuts-rs = { version = "0.18.3", features = ["zarr", "arrow"] }
25+
numpy = "0.29.0"
2626
rand = "0.10.0"
2727
thiserror = "2.0.3"
2828
rand_chacha = "0.10.0"
@@ -36,19 +36,19 @@ upon = { version = "0.10.0", default-features = false, features = [] }
3636
time-humanize = { version = "0.1.3", default-features = false }
3737
indicatif = "0.18.0"
3838
tch = { version = "0.24.0", optional = true }
39-
pyo3-object_store = "0.9.0"
39+
pyo3-object_store = "0.11.0"
4040
# Keep zarrs crates in sync with nuts-rs requirements
4141
zarrs = { version = "0.23.2", features = ["async"] }
4242
zarrs_object_store = "0.6.0"
43-
pyo3-arrow = "0.17.0"
44-
arrow = { version = "58.1.0", features = ["json"] }
43+
pyo3-arrow = "0.19.0"
44+
arrow = { version = "59.0.0", features = ["json"] }
4545
tokio = { version = "1.47.1", features = ["rt", "rt-multi-thread"] }
4646
serde = { version = "1.0", features = ["derive"] }
4747
serde_json = "1.0"
48-
pythonize = "0.28.0"
48+
pythonize = "0.29.0"
4949

5050
[dependencies.pyo3]
51-
version = "0.28.0"
51+
version = "0.29.0"
5252
features = ["extension-module", "anyhow"]
5353

5454
[dev-dependencies]

src/wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ impl PySampler {
969969
let tokio_rt = Runtime::new().context("Failed to create Tokio runtime")?;
970970
match &mut store.0 {
971971
InnerPyStorage::Arrow => {
972-
let storage_config = ArrowConfig::new();
972+
let storage_config = ArrowConfig::default();
973973
match settings {
974974
PySamplerSettings::Nuts(settings) => match settings.inner {
975975
NutsSettingsKind::LowRank(settings) => {

0 commit comments

Comments
 (0)