Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/PyO3>",
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
```

Expand Down
2 changes: 1 addition & 1 deletion examples/linalg/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/parallel/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/simple/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading