From bb42bba7cabec3dbfa38c6bd8055a991779b3eff Mon Sep 17 00:00:00 2001 From: Vinayak Dev Date: Mon, 17 Mar 2025 11:34:16 -0500 Subject: [PATCH] Update dependency versions to fix NoGIL Python package install --- 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..3dfdf2ca3 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", 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", features = ["auto-initialize"] } [features] defaut = ["pyo3/extension-module"]