diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..3f02304489 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,18 +297,24 @@ dependencies = [ [[package]] name = "numpy" -version = "0.12.2" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fd9e8e652becf4ba6c11803945f8bf463c23f482f704bb33f70ae9d22482d10" +checksum = "09c15af63aa0c74e0f7230d4e95d9a3d71a23449905f30f50b055df9a6a6a3e6" dependencies = [ "cfg-if 0.1.10", "libc", "ndarray", "num-complex", "num-traits", - "pyo3", + "pyo3 0.14.1", ] +[[package]] +name = "once_cell" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" + [[package]] name = "parking_lot" version = "0.11.1" @@ -401,6 +407,27 @@ dependencies = [ "unindent", ] +[[package]] +name = "pyo3" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "338f7f3701e11fd7f76508c91fbcaabc982564bcaf4d1ca7e1574ff2b4778aec" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "parking_lot", + "pyo3-build-config", +] + +[[package]] +name = "pyo3-build-config" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dcb2e98cc9ccc83d4f7115c8f925e0057e88c8d324b1bc4c2db4a7270c06ac9d" +dependencies = [ + "once_cell", +] + [[package]] name = "pyo3-derive-backend" version = "0.12.4" @@ -527,7 +554,7 @@ dependencies = [ "ndarray", "numpy", "petgraph", - "pyo3", + "pyo3 0.12.4", "rand", "rand_pcg", "rayon", diff --git a/Cargo.toml b/Cargo.toml index 6fa1831bc2..8d9f585de3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ crate-type = ["cdylib"] [dependencies] petgraph = "0.5.1" fixedbitset = "0.2.0" -numpy = "0.12.1" +numpy = "0.14.1" rand = "0.8" rand_pcg = "0.3" rayon = "1.5"