From 147bf78007e5abe90611a025d46f0defce548bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Tue, 12 Mar 2024 16:12:01 +0100 Subject: [PATCH] REL: prepare release 3.0.2 --- HISTORY.rst | 34 ++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 0eab6b70..56b4934d 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,40 @@ History ======= +3.0.2 (2024-03-13) +------------------ + +This new bugfix release of ``unyt`` fixes bugs discovered since the v3.0.1 release, +and is intended to be compatible with the upcoming NumPy 2.0 release. + +* Fix minimal requirement on setuptools_scm (`PR #471 `_). Thank you to Clément Robert (@neutrinoceros on GitHub) + for the contribution. + +* Explicitly forbid destructive edits to the default unit registry (`PR #475 + `_). Thank you to Clément Robert + (@neutrinoceros on GitHub) for the contribution. + +* Fix an issue where array functions would raise ``UnitInconsistencyError`` when + operands' units differ by some dimensionless factor (`PR #478 + `_). Thank you to Clément Robert + (@neutrinoceros on GitHub) for the contribution. + +* Implement and test array functions new in numpy 2.0 (`PR #483 + `_). Thank you to Clément Robert + (@neutrinoceros on GitHub) for the contribution. + +* Fix compat with numpy dev for ``np.trapezoid`` (previously named np.trapz) (`PR + #486 `_). Thank you to Clément Robert + (@neutrinoceros on GitHub) for the contribution. + +* Implement missing support for ``np.cbrt`` (`PR #491 `_). Thank you to @yuyttenhove for the contribution. + +* Fix compatibility with numpy 2.0 copy semantics (`PR #492 `_). Thank you to Clément Robert (@neutrinoceros on GitHub) + for the contribution. + 3.0.1 (2023-11-02) ------------------ diff --git a/pyproject.toml b/pyproject.toml index cabba926..492fd5ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ keywords = [ ] requires-python = ">=3.9" dependencies = [ - "numpy>=1.19.3", + "numpy>=1.19.3, <3.0", "sympy>=1.7", "packaging>=20.9", ]