v3.0.2
What's Changed
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.
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #474
- BUG: explicitly forbid destructive edits to the default unit registry by @neutrinoceros in #475
- BLD: fix minimal requirement on setuptools_scm by @neutrinoceros in #471
- TST: cleanup an unused skip condition by @neutrinoceros in #470
- TST: fix usage of legacy numpy.random API in tests by @neutrinoceros in #472
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #480
- BUG: fix an issue where array functions would raise UnitInconsistencyError when operands' units differ by some dimensionless factor by @neutrinoceros in #478
- Bump actions/setup-python from 4 to 5 in /.github/workflows by @dependabot in #484
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #485
- (NEP 18) Implement and test array functions new in numpy 2.0 by @neutrinoceros in #483
- BUG: fix caching error with UnitRegistry.modify by @neutrinoceros in #476
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #487
- BUG: fix compat with numpy dev for np.trapezoid (previously named np.trapz) by @neutrinoceros in #486
- TST: filter a deprecation warning from mpmath triggered by sympy by @neutrinoceros in #489
- BUG: implement missing support for
np.cbrt
by @yuyttenhove in #491 - TST: avoid installing mpmath pre-releases in bleeding edge CI by @neutrinoceros in #490
- BUG: fix compatibility with numpy 2.0 copy semantics by @neutrinoceros in #492
- REL: prepare release 3.0.2 by @neutrinoceros in #493
New Contributors
- @yuyttenhove made their first contribution in #491
Full Changelog: v3.0.1...v3.0.2