Skip to content

Commit 94348d1

Browse files
committed
Merge branch 'main' into free-threading
2 parents 28d1edd + 2a579ad commit 94348d1

File tree

5 files changed

+27
-24
lines changed

5 files changed

+27
-24
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Changelog
2+
- v0.24.0
3+
- Support Python 3.13t "free-threaded" Python. ([#471](https://github.com/PyO3/rust-numpy/pull/471)
4+
25
- v0.23.0
36
- Drop support for PyPy 3.7 and 3.8. ([#470](https://github.com/PyO3/rust-numpy/pull/470))
47
- Require `Element: Sync` as part of the free-threading support in PyO3 0.23 ([#469](https://github.com/PyO3/rust-numpy/pull/469))
58
- Bump PyO3 dependency to v0.23.0 ([[#457](https://github.com/PyO3/rust-numpy/pull/457)])
69
- removed the `gil-refs` feature
710
- reintroduced function names without `_bound` suffix + deprecating the old names
811
- switched to `IntoPyObject` as trait bound
9-
- Support Python 3.13t "free-threaded" Python. ([#471](https://github.com/PyO3/rust-numpy/pull/471)
12+
- Bump `rustc-hash` dependency to 2.0. ([[#472](https://github.com/PyO3/rust-numpy/pull/472)])
1013

1114
- v0.22.1
1215
- Fix building on 32-bit Windows. ([#463](https://github.com/PyO3/rust-numpy/pull/463))

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "numpy"
3-
version = "0.23.0-dev"
3+
version = "0.23.0"
44
authors = [
55
"The rust-numpy Project Developers",
66
"PyO3 Project and Contributors <https://github.com/PyO3>"
@@ -22,12 +22,12 @@ num-complex = ">= 0.2, < 0.5"
2222
num-integer = "0.1"
2323
num-traits = "0.2"
2424
ndarray = ">= 0.15, < 0.17"
25-
pyo3 = { version = "0.23.0", default-features = false, features = ["macros"] }
26-
rustc-hash = "1.1"
25+
pyo3 = { version = "0.23.4", default-features = false, features = ["macros"] }
26+
rustc-hash = "2.0"
2727
parking_lot = "0.12.3"
2828

2929
[dev-dependencies]
30-
pyo3 = { version = "0.23.0", default-features = false, features = ["auto-initialize"] }
30+
pyo3 = { version = "0.23.3", default-features = false, features = ["auto-initialize"] }
3131
nalgebra = { version = ">=0.30, <0.34", default-features = false, features = ["std"] }
3232

3333
[build-dependencies]

examples/linalg/Cargo.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/linalg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "rust_linalg"
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = { version = "0.23.0", features = ["extension-module"] }
12+
pyo3 = { version = "0.23.3", features = ["extension-module"] }
1313
numpy = { path = "../.." }
1414
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }
1515

src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ pub type PyArray6<T> = PyArray<T, Ix6>;
117117
pub type PyArrayDyn<T> = PyArray<T, IxDyn>;
118118

119119
/// Returns a handle to NumPy's multiarray module.
120-
pub fn get_array_module<'py>(py: Python<'py>) -> PyResult<Bound<'_, PyModule>> {
120+
pub fn get_array_module<'py>(py: Python<'py>) -> PyResult<Bound<'py, PyModule>> {
121121
PyModule::import(py, npyffi::array::mod_name(py)?)
122122
}
123123

0 commit comments

Comments
 (0)