From b0d54de40019a573cb4eb439517eafcddd562140 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Mon, 28 Feb 2022 08:55:28 +0100 Subject: [PATCH] Prepare release of version 0.16.0 --- CHANGELOG.md | 2 ++ Cargo.toml | 4 ++-- README.md | 10 +++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a3e3c7d2..6694812a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog - Unreleased + +- v0.16.0 - Bump PyO3 version to 0.16 ([#259](https://github.com/PyO3/rust-numpy/pull/212)) - Support object arrays ([#216](https://github.com/PyO3/rust-numpy/pull/216)) - Support borrowing arrays that are part of other Python objects via `PyArray::borrow_from_array` ([#230](https://github.com/PyO3/rust-numpy/pull/216)) diff --git a/Cargo.toml b/Cargo.toml index f7f42e1c5..5ac1a8a45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] name = "numpy" -version = "0.15.1" +version = "0.16.0" authors = [ "The rust-numpy Project Developers", "PyO3 Project and Contributors " ] -description = "Rust bindings of NumPy C-API" +description = "PyO3-based Rust bindings of the NumPy C-API" documentation = "https://docs.rs/numpy" edition = "2018" rust-version = "1.48" diff --git a/README.md b/README.md index bea001328..76258d2b8 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ name = "rust_ext" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.15", features = ["extension-module"] } -numpy = "0.15" +pyo3 = { version = "0.16", features = ["extension-module"] } +numpy = "0.16" ``` ```rust @@ -93,8 +93,8 @@ fn rust_ext(_py: Python<'_>, m: &PyModule) -> PyResult<()> { name = "numpy-test" [dependencies] -pyo3 = { version = "0.15", features = ["auto-initialize"] } -numpy = "0.15" +pyo3 = { version = "0.16", features = ["auto-initialize"] } +numpy = "0.16" ``` ```rust @@ -132,7 +132,7 @@ on anything but that exact range. It can therefore be necessary to manually unif For example, if you specify the following dependencies ```toml -numpy = "0.15" +numpy = "0.16" ndarray = "0.13" ```