From b185b6e696aecd4048f945eda0f8a5d6780e04b5 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Thu, 18 May 2023 18:21:44 +0200 Subject: [PATCH] Bump version to 0.19 following PyO3's current release. --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- README.md | 10 +++++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e4dc950a3..1e5f65c1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog - Unreleased + +- v0.19.0 - Add `PyUntypedArray` as an untyped base type for `PyArray` which can be used to inspect arguments before more targeted downcasts. This is accompanied by some methods like `dtype` and `shape` moving from `PyArray` to `PyUntypedArray`. They are still accessible though, as `PyArray` dereferences to `PyUntypedArray` via the `Deref` trait. ([#369](https://github.com/PyO3/rust-numpy/pull/369)) - Drop deprecated `PyArray::from_exact_iter` as it does not provide any benefits over `PyArray::from_iter`. ([#370](https://github.com/PyO3/rust-numpy/pull/370)) diff --git a/Cargo.toml b/Cargo.toml index 9609e736b..44ff6f75b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "numpy" -version = "0.18.0" +version = "0.19.0" authors = [ "The rust-numpy Project Developers", "PyO3 Project and Contributors " diff --git a/README.md b/README.md index c8f820379..1a4fefb4b 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ name = "rust_ext" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.18", features = ["extension-module"] } -numpy = "0.18" +pyo3 = { version = "0.19", features = ["extension-module"] } +numpy = "0.19" ``` ```rust @@ -93,8 +93,8 @@ fn rust_ext(_py: Python<'_>, m: &PyModule) -> PyResult<()> { name = "numpy-test" [dependencies] -pyo3 = { version = "0.18", features = ["auto-initialize"] } -numpy = "0.18" +pyo3 = { version = "0.19", features = ["auto-initialize"] } +numpy = "0.19" ``` ```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.18" +numpy = "0.19" ndarray = "0.13" ```