From 56616c2e31c6f59dc842bba2dfb4cc762c55f16e Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Tue, 26 Nov 2024 18:22:23 -0500 Subject: [PATCH] wip: update to pyo3 0.23 --- python/Cargo.lock | 10 +++++----- python/Cargo.toml | 2 +- python/geoarrow-io/Cargo.toml | 4 ++-- python/proj/Cargo.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/python/Cargo.lock b/python/Cargo.lock index 8b761993f..9fba19a89 100644 --- a/python/Cargo.lock +++ b/python/Cargo.lock @@ -1042,9 +1042,9 @@ dependencies = [ [[package]] name = "geo-traits" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdc9562dd7e476214a5eea3caf12763dcc2c886a64cc4c3b8ec41554e8c6c5fc" +checksum = "b018fc19fa58202b03f1c809aebe654f7d70fd3887dace34c3d05c11aeb474b5" dependencies = [ "geo-types", ] @@ -1101,7 +1101,7 @@ dependencies = [ "thiserror 1.0.69", "tokio", "wkb", - "wkt 0.11.1 (git+https://github.com/georust/wkt?branch=kyle/geo-traits-writer)", + "wkt 0.11.1 (git+https://github.com/georust/wkt?rev=447be533e0a76188ca499eb8a0c74fc4e8a0f823)", ] [[package]] @@ -4335,7 +4335,7 @@ dependencies = [ [[package]] name = "wkb" version = "0.1.0" -source = "git+https://github.com/kylebarron/wkb?rev=7d58a2327fe21cf250dab5ac6860b6cf0fddb838#7d58a2327fe21cf250dab5ac6860b6cf0fddb838" +source = "git+https://github.com/kylebarron/wkb?rev=e0f29b4a24104356464cc123925b459d81c40e52#e0f29b4a24104356464cc123925b459d81c40e52" dependencies = [ "byteorder", "geo-traits", @@ -4358,7 +4358,7 @@ dependencies = [ [[package]] name = "wkt" version = "0.11.1" -source = "git+https://github.com/georust/wkt?branch=kyle/geo-traits-writer#f3434f5283d070f1accd64cd1bd09303f0f0547c" +source = "git+https://github.com/georust/wkt?rev=447be533e0a76188ca499eb8a0c74fc4e8a0f823#447be533e0a76188ca499eb8a0c74fc4e8a0f823" dependencies = [ "geo-traits", "geo-types", diff --git a/python/Cargo.toml b/python/Cargo.toml index 6c4efa42e..ebcb5c8dd 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -27,7 +27,7 @@ indexmap = "2.5.0" numpy = "0.22" object_store = "0.11" parquet = "53" -pyo3 = { version = "0.22.0", features = ["hashbrown", "serde", "anyhow"] } +pyo3 = { version = "0.23.0", features = ["hashbrown", "serde", "anyhow"] } pyo3-arrow = "0.5.1" serde_json = "1" thiserror = "1" diff --git a/python/geoarrow-io/Cargo.toml b/python/geoarrow-io/Cargo.toml index 687169ca6..5916ea046 100644 --- a/python/geoarrow-io/Cargo.toml +++ b/python/geoarrow-io/Cargo.toml @@ -46,11 +46,11 @@ object_store = { workspace = true, features = [ parquet = { workspace = true } pyo3 = { workspace = true } pyo3-arrow = { workspace = true } -pyo3-async-runtimes = { version = "0.22", features = [ +pyo3-async-runtimes = { version = "0.23", features = [ "tokio-runtime", ], optional = true } pyo3-object_store = { version = "0.1.0-beta.1", optional = true } -pythonize = "0.22" +pythonize = "0.23" geo = "0.28" geo-traits = { workspace = true } geoarrow = { workspace = true, features = [ diff --git a/python/proj/Cargo.toml b/python/proj/Cargo.toml index c419192b2..8cfead8b5 100644 --- a/python/proj/Cargo.toml +++ b/python/proj/Cargo.toml @@ -20,7 +20,7 @@ crate-type = ["cdylib"] arrow-array = "50" arrow-buffer = "50" arrow = { version = "50", features = ["ffi"] } -pyo3 = { version = "0.20.0", features = [ +pyo3 = { version = "0.23.0", features = [ "abi3-py38", "multiple-pymethods", "hashbrown",