From 1b9ead7ca231da95b95f93381f00452f3fd1a15f Mon Sep 17 00:00:00 2001 From: Anthony MOI Date: Wed, 8 Apr 2020 16:06:24 -0400 Subject: [PATCH] Python - Try PyO3 master to fix build --- bindings/python/Cargo.lock | 24 ++++++++++++------------ bindings/python/Cargo.toml | 3 ++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/bindings/python/Cargo.lock b/bindings/python/Cargo.lock index 247d9102..8c9863f9 100644 --- a/bindings/python/Cargo.lock +++ b/bindings/python/Cargo.lock @@ -361,8 +361,8 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" +version = "0.9.1" +source = "git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1#a9357ef8a11048b349b777f83aeae1a856fb4cb1" dependencies = [ "indoc 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)", "inventory 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", @@ -370,7 +370,7 @@ dependencies = [ "num-traits 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", - "pyo3cls 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3cls 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)", "regex 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.104 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.44 (registry+https://github.com/rust-lang/crates.io-index)", @@ -380,8 +380,8 @@ dependencies = [ [[package]] name = "pyo3-derive-backend" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" +version = "0.9.1" +source = "git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1#a9357ef8a11048b349b777f83aeae1a856fb4cb1" dependencies = [ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -390,10 +390,10 @@ dependencies = [ [[package]] name = "pyo3cls" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" +version = "0.9.1" +source = "git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1#a9357ef8a11048b349b777f83aeae1a856fb4cb1" dependencies = [ - "pyo3-derive-backend 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3-derive-backend 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)", "quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", "syn 1.0.11 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -610,7 +610,7 @@ dependencies = [ name = "tokenizers-python" version = "0.7.0-rc4" dependencies = [ - "pyo3 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)", "rayon 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokenizers 0.10.0", ] @@ -720,9 +720,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" "checksum ppv-lite86 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b" "checksum proc-macro-hack 0.5.11 (registry+https://github.com/rust-lang/crates.io-index)" = "ecd45702f76d6d3c75a80564378ae228a85f0b59d2f3ed43c91b4a69eb2ebfc5" "checksum proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27" -"checksum pyo3 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ce08a871f249e96da102a41b6c47ff25def6ef1c73f64631875c7f5dad65dc42" -"checksum pyo3-derive-backend 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fd74cdc4b789b2e1f02b814bedf721f7bdb75304312515bcc595ca0210e34a1c" -"checksum pyo3cls 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d22bc97c25af00f6b6ee4ff7a0cc1ea7476a375fb3556d19ca97a071099739f1" +"checksum pyo3 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)" = "" +"checksum pyo3-derive-backend 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)" = "" +"checksum pyo3cls 0.9.1 (git+https://github.com/PyO3/pyo3?rev=a9357ef8a11048b349b777f83aeae1a856fb4cb1)" = "" "checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe" "checksum rand 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3ae1b169243eaf61759b8475a998f0a385e42042370f3a7dbaf35246eacc8412" "checksum rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853" diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 69298572..f874a939 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -12,7 +12,8 @@ crate-type = ["cdylib"] rayon = "1.2.0" [dependencies.pyo3] -version = "=0.9.0" +git = "https://github.com/PyO3/pyo3" +rev = "a9357ef8a11048b349b777f83aeae1a856fb4cb1" features = ["extension-module"] [dependencies.tokenizers]