From 328a101027377f1507550e9447d5015ab4ebab05 Mon Sep 17 00:00:00 2001 From: Qubitium Date: Mon, 5 May 2025 03:24:37 +0000 Subject: [PATCH] update pyo3 and rust-numpy depends for no-gil/free-threading compat Signed-off-by: root --- bindings/python/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 6e8b0c34c..2f928c3de 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -14,8 +14,8 @@ serde = { version = "1.0", features = ["rc", "derive"] } serde_json = "1.0" libc = "0.2" env_logger = "0.11" -pyo3 = { version = "0.23", features = ["abi3", "abi3-py39", "py-clone"] } -numpy = "0.23" +pyo3 = { version = "0.24.2", features = ["abi3", "abi3-py39", "py-clone"] } +numpy = "0.24" ndarray = "0.16" itertools = "0.12" @@ -24,7 +24,7 @@ path = "../../tokenizers" [dev-dependencies] tempfile = "3.10" -pyo3 = { version = "0.23", features = ["auto-initialize"] } +pyo3 = { version = "0.24.2", features = ["auto-initialize"] } [features] defaut = ["pyo3/extension-module"]