From b8daeae24ae7d13f7dc2ac95bc0a2d36b53e3d6e Mon Sep 17 00:00:00 2001 From: Anthony MOI Date: Wed, 8 Apr 2020 15:45:15 -0400 Subject: [PATCH] Python - Force PyO3 to 0.9.0 for now cf https://github.com/PyO3/pyo3/issues/857 --- bindings/python/Cargo.lock | 18 +++++++++--------- bindings/python/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bindings/python/Cargo.lock b/bindings/python/Cargo.lock index 314607f0..247d9102 100644 --- a/bindings/python/Cargo.lock +++ b/bindings/python/Cargo.lock @@ -361,7 +361,7 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.9.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "indoc 0.3.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.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3cls 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "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,7 +380,7 @@ dependencies = [ [[package]] name = "pyo3-derive-backend" -version = "0.9.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -390,10 +390,10 @@ dependencies = [ [[package]] name = "pyo3cls" -version = "0.9.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "pyo3-derive-backend 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3-derive-backend 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "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.1 (registry+https://github.com/rust-lang/crates.io-index)", + "pyo3 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", "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.1 (registry+https://github.com/rust-lang/crates.io-index)" = "397fef05d982d84944edac8281972ed7108be996e5635fdfdae777d78632c8f0" -"checksum pyo3-derive-backend 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b8656b9d1a8c49838439b6e2c299ec927816c5c0c92b623f677d5579e9c04851" -"checksum pyo3cls 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab91823d2634de5fd56af40da20fd89cac144a15da0d9101f3c2b047af9ed9ca" +"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 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 5a0e6d17..69298572 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["cdylib"] rayon = "1.2.0" [dependencies.pyo3] -version = "0.9.0" +version = "=0.9.0" features = ["extension-module"] [dependencies.tokenizers]