Skip to content

Commit

Permalink
Bumped the MSRV and PyO3 version in README.md
Browse files Browse the repository at this point in the history
Note that the `numpy` version will still need to be bumped in the README (along with Cargo.toml) before released.
  • Loading branch information
JRRudy1 authored and davidhewitt committed Oct 6, 2024
1 parent 6caa75b commit 0fc3b98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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.48](https://img.shields.io/badge/rustc-1.48+-blue.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
[![Minimum rustc 1.63](https://img.shields.io/badge/rustc-1.63+-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.48.0
- Rust >= 1.63.0
- Basically, our MSRV follows the one of [PyO3](https://github.com/PyO3/pyo3)
- Python >= 3.7
- Python 3.6 support was dropped from 0.16
Expand All @@ -38,7 +38,7 @@ name = "rust_ext"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.21", features = ["extension-module"] }
pyo3 = { version = "0.22", features = ["extension-module"] }
numpy = "0.21"
```

Expand Down Expand Up @@ -93,7 +93,7 @@ fn rust_ext<'py>(_py: Python<'py>, m: &Bound<'py, PyModule>) -> PyResult<()> {
name = "numpy-test"

[dependencies]
pyo3 = { version = "0.21", features = ["auto-initialize"] }
pyo3 = { version = "0.22", features = ["auto-initialize"] }
numpy = "0.21"
```

Expand Down

0 comments on commit 0fc3b98

Please sign in to comment.