diff --git a/Cargo.lock b/Cargo.lock index 0cf47febc3..06d7942b59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,18 +297,24 @@ dependencies = [ [[package]] name = "numpy" -version = "0.12.2" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9fd9e8e652becf4ba6c11803945f8bf463c23f482f704bb33f70ae9d22482d10" +checksum = "e590538dba8432d54d3587b06df73d7c044e83cfa4b200cbc7d0567f924ac0a7" dependencies = [ "cfg-if 0.1.10", "libc", "ndarray", "num-complex", "num-traits", - "pyo3", + "pyo3 0.15.0", ] +[[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.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "64664505ce285a59b8b7e940fbe54ad65b1758a0810eddc5bc26df6f6ec8c557" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "parking_lot", + "pyo3-build-config", +] + +[[package]] +name = "pyo3-build-config" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f1e4a72de84cdcd69f62211b62f62753d0c11b7b5715f3467f3754dab22a7ca" +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..c22d170b1b 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.15.0" rand = "0.8" rand_pcg = "0.3" rayon = "1.5"