diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 446ab079b..f9ad0f0e8 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -14,7 +14,7 @@ serde = { version = "1.0", features = [ "rc", "derive" ]} serde_json = "1.0" libc = "0.2" env_logger = "0.10.0" -pyo3 = { version = "0.20" } +pyo3 = { version = "0.21" } numpy = "0.20.0" ndarray = "0.15" onig = { version = "6.4", default-features = false } @@ -26,7 +26,7 @@ path = "../../tokenizers" [dev-dependencies] tempfile = "3.8" -pyo3 = { version = "0.20", features = ["auto-initialize"] } +pyo3 = { version = "0.21", features = ["auto-initialize"] } [features] defaut = ["pyo3/extension-module"]