Skip to content

Commit a64b035

Browse files
authored
release v0.30.0 (#573)
1 parent 36ab674 commit a64b035

6 files changed

Lines changed: 14 additions & 11 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# Changelog
22

33
- Unreleased
4+
5+
- v0.30.0
46
- `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))
57
- Add support for free-threaded stable abi (abi3t) from Python 3.15t+ ([#556](https://github.com/PyO3/rust-numpy/pull/556))
68
- fixed free-threaded builds for 32 bit platforms from Python 3.15+ ([#556](https://github.com/PyO3/rust-numpy/pull/556))
79
- Drop support for Python 3.8 ([#567](https://github.com/PyO3/rust-numpy/pull/567))
810
- fix accidental removal of singleton dimensions when extracting `PyArrayLikeDyn<'_, T, AllowTypeChange>` ([#496](https://github.com/PyO3/rust-numpy/pull/496))
11+
- add support for numpy BitGenerators ([#499](https://github.com/PyO3/rust-numpy/pull/499))
912
- raise MSRV to 1.85 (following PyO3) ([#570](https://github.com/PyO3/rust-numpy/pull/570))
1013
- upgrade to 2024 edition ([#570](https://github.com/PyO3/rust-numpy/pull/570))
1114
- bump PyO3 dependency to 0.30 ([#572](https://github.com/PyO3/rust-numpy/pull/572))

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "numpy"
3-
version = "0.29.0"
3+
version = "0.30.0"
44
authors = [
55
"The rust-numpy Project Developers",
66
"PyO3 Project and Contributors <https://github.com/PyO3>",

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ rust-numpy
22
===========
33
[![Actions Status](https://github.com/PyO3/rust-numpy/workflows/CI/badge.svg)](https://github.com/PyO3/rust-numpy/actions)
44
[![Crate](https://img.shields.io/crates/v/numpy.svg)](https://crates.io/crates/numpy)
5-
[![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)
5+
[![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)
66
[![Documentation](https://docs.rs/numpy/badge.svg)](https://docs.rs/numpy)
77
[![codecov](https://codecov.io/gh/PyO3/rust-numpy/branch/main/graph/badge.svg)](https://codecov.io/gh/PyO3/rust-numpy)
88

@@ -13,7 +13,7 @@ Rust bindings for the NumPy C-API.
1313
- [Current main](https://pyo3.github.io/rust-numpy)
1414

1515
## Requirements
16-
- Rust >= 1.83.0
16+
- Rust >= 1.85.0
1717
- Basically, our MSRV follows the one of [PyO3](https://github.com/PyO3/pyo3)
1818
- Python >= 3.9
1919
- Python 3.7 support was dropped from 0.29
@@ -39,8 +39,8 @@ name = "rust_ext"
3939
crate-type = ["cdylib"]
4040

4141
[dependencies]
42-
pyo3 = { version = "0.29" }
43-
numpy = "0.29"
42+
pyo3 = { version = "0.30" }
43+
numpy = "0.30"
4444
```
4545

4646
```rust
@@ -90,8 +90,8 @@ mod rust_ext {
9090
name = "numpy-test"
9191

9292
[dependencies]
93-
pyo3 = { version = "0.29", features = ["auto-initialize"] }
94-
numpy = "0.29"
93+
pyo3 = { version = "0.30", features = ["auto-initialize"] }
94+
numpy = "0.30"
9595
```
9696

9797
```rust
@@ -129,7 +129,7 @@ on anything but that exact range. It can therefore be necessary to manually unif
129129
For example, if you specify the following dependencies
130130

131131
```toml
132-
numpy = "0.29"
132+
numpy = "0.30"
133133
ndarray = "0.15"
134134
```
135135

‎examples/linalg/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/parallel/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/simple/Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)