From af362e23c59a9755aa14547f4ca0798cca25e159 Mon Sep 17 00:00:00 2001 From: messense Date: Thu, 4 Nov 2021 11:33:28 +0800 Subject: [PATCH] Upgrade pyo3 to 0.15 --- Cargo.toml | 4 ++-- examples/linalg/Cargo.toml | 2 +- examples/simple-extension/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 73618a061..a39b6b9fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,10 @@ libc = "0.2" num-complex = ">= 0.2, <= 0.4" num-traits = "0.2" ndarray = ">= 0.13, < 0.16" -pyo3 = { version = "0.14", default-features = false } +pyo3 = { version = "0.15", default-features = false } [dev-dependencies] -pyo3 = { version = "0.14", features = ["auto-initialize"] } +pyo3 = { version = "0.15", features = ["auto-initialize"] } [features] # In default setting, python version is automatically detected diff --git a/examples/linalg/Cargo.toml b/examples/linalg/Cargo.toml index e4b1cd2b9..9f58cdc39 100644 --- a/examples/linalg/Cargo.toml +++ b/examples/linalg/Cargo.toml @@ -15,5 +15,5 @@ ndarray = "0.15" ndarray-linalg = { git = "https://github.com/rust-ndarray/ndarray-linalg", features = ["openblas-static"] } [dependencies.pyo3] -version = "0.14" +version = "0.15" features = ["extension-module"] diff --git a/examples/simple-extension/Cargo.toml b/examples/simple-extension/Cargo.toml index 22f0a0e14..75a8aa8c8 100644 --- a/examples/simple-extension/Cargo.toml +++ b/examples/simple-extension/Cargo.toml @@ -14,5 +14,5 @@ ndarray = "0.15.2" num-complex = "0.4.0" [dependencies.pyo3] -version = "0.14" +version = "0.15" features = ["extension-module"]