Skip to content

Commit fb150f8

Browse files
authored
Fix dependency resolution in numpy and ndarray (#94)
1 parent 192bc54 commit fb150f8

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.12.1] - 2025-12-04
10+
### Fixed
11+
- Updated `ndarray` dependency to 0.17 to fix incorrect dependency resolution. [#94](https://github.com/itt-ustutt/quantity/pull/94)
12+
913
## [0.12.0] - 2025-11-08
1014
### Packaging
1115
- Updated `pyo3` and `numpy` dependencies to 0.27. [#93](https://github.com/itt-ustutt/quantity/pull/93)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "quantity"
3-
version = "0.12.0"
3+
version = "0.12.1"
44
authors = [
55
"Philipp Rehner <prehner@ethz.ch>",
66
"Gernot Bauer <bauer@itt.uni-stuttgart.de>",
@@ -28,7 +28,7 @@ typenum = "1.17"
2828
num-traits = "0.2"
2929
document-features = "0.2"
3030
## Use N-dimensional arrays from the [ndarray] crate as value of a quantity.
31-
ndarray = { version = "0.16", optional = true }
31+
ndarray = { version = "0.17", optional = true }
3232
## Use dynamic or static arrays from the [nalgebra] crate as value of a quantity.
3333
nalgebra = { version = "0.34", optional = true }
3434
approx = { version = "0.5", optional = true }

example/extend_quantity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ crate-type = ["cdylib"]
1010
[dependencies]
1111
pyo3 = { version = "0.27", features = ["extension-module", "abi3-py310"] }
1212
quantity = { version = "*", path = "../../", features = ["python_numpy"] }
13-
ndarray = "0.16"
13+
ndarray = "0.17"
1414
nalgebra = "0.34"

si-units/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name = "_core"
2121
crate-type = ["cdylib"]
2222

2323
[dependencies]
24-
ndarray = "0.16"
24+
ndarray = "0.17"
2525
numpy = "0.27"
2626
pyo3 = { version = "0.27", features = ["extension-module", "abi3-py310"] }
2727
regex = "1.12"

0 commit comments

Comments
 (0)