diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a4d9132a..858e4a238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,14 @@ # Changelog - Unreleased + +- v0.30.0 - `PyReadonlyArray`/`PyReadwriteArray` extraction now returns a `PyErr` which reports the actual dtype/dimensionality mismatch instead of nonsensical `CastError` messages like “'ndarray' is not an instance of 'ndarray'” ([#562](https://github.com/PyO3/rust-numpy/pull/562)) - Add support for free-threaded stable abi (abi3t) from Python 3.15t+ ([#556](https://github.com/PyO3/rust-numpy/pull/556)) - fixed free-threaded builds for 32 bit platforms from Python 3.15+ ([#556](https://github.com/PyO3/rust-numpy/pull/556)) - Drop support for Python 3.8 ([#567](https://github.com/PyO3/rust-numpy/pull/567)) - fix accidental removal of singleton dimensions when extracting `PyArrayLikeDyn<'_, T, AllowTypeChange>` ([#496](https://github.com/PyO3/rust-numpy/pull/496)) + - add support for numpy BitGenerators ([#499](https://github.com/PyO3/rust-numpy/pull/499)) - raise MSRV to 1.85 (following PyO3) ([#570](https://github.com/PyO3/rust-numpy/pull/570)) - upgrade to 2024 edition ([#570](https://github.com/PyO3/rust-numpy/pull/570)) - bump PyO3 dependency to 0.30 ([#572](https://github.com/PyO3/rust-numpy/pull/572)) diff --git a/Cargo.toml b/Cargo.toml index bee6f87ef..e9f1d7b7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "numpy" -version = "0.29.0" +version = "0.30.0" authors = [ "The rust-numpy Project Developers", "PyO3 Project and Contributors ", diff --git a/README.md b/README.md index 62a86f893..cfdea587e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ rust-numpy =========== [![Actions Status](https://github.com/PyO3/rust-numpy/workflows/CI/badge.svg)](https://github.com/PyO3/rust-numpy/actions) [![Crate](https://img.shields.io/crates/v/numpy.svg)](https://crates.io/crates/numpy) -[![Minimum rustc 1.83](https://img.shields.io/badge/rustc-1.83+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) +[![Minimum rustc 1.85](https://img.shields.io/badge/rustc-1.85+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html) [![Documentation](https://docs.rs/numpy/badge.svg)](https://docs.rs/numpy) [![codecov](https://codecov.io/gh/PyO3/rust-numpy/branch/main/graph/badge.svg)](https://codecov.io/gh/PyO3/rust-numpy) @@ -13,7 +13,7 @@ Rust bindings for the NumPy C-API. - [Current main](https://pyo3.github.io/rust-numpy) ## Requirements -- Rust >= 1.83.0 +- Rust >= 1.85.0 - Basically, our MSRV follows the one of [PyO3](https://github.com/PyO3/pyo3) - Python >= 3.9 - Python 3.7 support was dropped from 0.29 @@ -39,8 +39,8 @@ name = "rust_ext" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.29" } -numpy = "0.29" +pyo3 = { version = "0.30" } +numpy = "0.30" ``` ```rust @@ -90,8 +90,8 @@ mod rust_ext { name = "numpy-test" [dependencies] -pyo3 = { version = "0.29", features = ["auto-initialize"] } -numpy = "0.29" +pyo3 = { version = "0.30", features = ["auto-initialize"] } +numpy = "0.30" ``` ```rust @@ -129,7 +129,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.29" +numpy = "0.30" ndarray = "0.15" ``` diff --git a/examples/linalg/Cargo.lock b/examples/linalg/Cargo.lock index a0bd50360..c9fdb7449 100644 --- a/examples/linalg/Cargo.lock +++ b/examples/linalg/Cargo.lock @@ -342,7 +342,7 @@ dependencies = [ [[package]] name = "numpy" -version = "0.29.0" +version = "0.30.0" dependencies = [ "libc", "ndarray", diff --git a/examples/parallel/Cargo.lock b/examples/parallel/Cargo.lock index c46718aee..cc9747e53 100644 --- a/examples/parallel/Cargo.lock +++ b/examples/parallel/Cargo.lock @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "numpy" -version = "0.29.0" +version = "0.30.0" dependencies = [ "libc", "ndarray", diff --git a/examples/simple/Cargo.lock b/examples/simple/Cargo.lock index 02f770a22..7da2f90a3 100644 --- a/examples/simple/Cargo.lock +++ b/examples/simple/Cargo.lock @@ -74,7 +74,7 @@ dependencies = [ [[package]] name = "numpy" -version = "0.29.0" +version = "0.30.0" dependencies = [ "libc", "ndarray",