Published March 13, 2024 | Version v3.0.2

yt-project/unyt: v3.0.2

Description

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

New Contributors

  • @yuyttenhove made their first contribution in https://github.com/yt-project/unyt/pull/491

Full Changelog: https://github.com/yt-project/unyt/compare/v3.0.1...v3.0.2

Files

yt-project/unyt-v3.0.2.zip

Files (1.4 MB)

Name Size Download all
md5:c9ff0e556c235085222ed75bb910488c
1.4 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/yt-project/unyt/tree/v3.0.2 (URL)