Releases: yt-project/unyt
Releases · yt-project/unyt
v3.0.4
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #513
- BUG: fix incompatibilities with NumPy 2.1 by @neutrinoceros in #512
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #516
- add foe and Bethe units by @zingale in #521
- Fix Stephan-Boltzmann constant accuracy and add radiation constant by @zingale in #520
- TST: switch bleeding-edge CI to CPython 3.13 by @neutrinoceros in #507
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #523
- Typo fixes and documentation fix by @BioGeek in #529
- BUG: fix return units from numpy.ftt functions by @JBorrow in #531
- MNT: switch Python 3.9 + mac testing from macos-12 to macos-13 by @neutrinoceros in #528
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #533
- TST: reduce bleeding edge testing frequency from daily to weekly by @neutrinoceros in #488
- STY: migrate formatting from black to ruff by @neutrinoceros in #508
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #535
- BUG: fix incorrect output unit for
np.prod
with anaxis
argument by @kyleaoman in #537 - BUG:
np.histogram*
functions give correct units whenweights
and/ordensity
are set by @kyleaoman in #539 - BUG: fix an issue where
np.histogramdd
could create infinite recursion on some inputs by @neutrinoceros in #541 - BUG:
linspace
andlogspace
give incorrect results or crash with some inputs by @kyleaoman in #544 - BUG:
apply_over_axes
no longer assumes user-supplied function preserves units by @kyleaoman in #548 - BUG: allow subclassing in
unyt_array.__array_func__
by @kyleaoman in #550 - BUG: fix unit handling for
np.take
andunyt_array.take
by @kyleaoman in #551 - BUG: fix a regression where
np.linspace
's num argument would be ignored forunyt_array
s by @neutrinoceros in #553 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #555
- RFC: handle
np.vecdot
as a ufunc rather than an arrayfunc by @kyleaoman in #557 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #558
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #562
- BUG: fix raising a unyt array to an array power in sensible cases by @neutrinoceros in #524
- TST: add CPython 3.13 to regular test matrix by @neutrinoceros in #525
- Fix typo in array function implementations (ftt -> fft) by @neutrinoceros in #547
- BUG: fix an issue where hdf5 io wouldn't roundtrip properly for a unyt_quantity object by @neutrinoceros in #560
- REL: automate release upload to PyPI by @neutrinoceros in #527
- TST: make
test_unique_values
order-agnostic and fix testing against numpy 2.3 dev by @neutrinoceros in #565 - REL: prepare release 3.0.4 by @neutrinoceros in #566
- Add new authors for 3.0.4 by @jzuhone in #569
New Contributors
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #499
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #502
- TST: fix defects when running test suite in isolation from the project's pytest configuration by @neutrinoceros in #495
- DOC: cleanup orphan reference to now removed setup.py by @neutrinoceros in #496
- TST: drop test case for unpickling old pickle files as too sensitive to upstream changes by @neutrinoceros in #498
- BUG: fix signature incompatibilities in NEP 18 wrapped functions by @neutrinoceros in #500
- MNT: use macOS x86 for Python 3.9 in CI by @neutrinoceros in #501
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #503
- BUG: fix an incompatibility with sympy 1.13.0rc1 by @neutrinoceros in #504
- DOC: adjust doctests to changes in array repr from numpy 2.0 by @neutrinoceros in #506
- REL: prepare release 3.0.3 by @neutrinoceros in #505
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #510
- TST: declare
np.unstack
as subclass-safe (fix incompatibility with Numpy 2.1) by @neutrinoceros in #509 - Update changelog date by @jzuhone in #511
Full Changelog: v3.0.2...v3.0.3
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
v3.0.1
What's Changed
- Update readthedocs python and ubuntuversion used by @jzuhone in #461
- BUG: fix backward compatibility for calling np.histogram with implicit range units by @neutrinoceros in #466
- BUG: fix an issue where array functions would raise UnitConsistencyError on unyt arrays using non-default unit registries by @neutrinoceros in #463
- TST: minimize build time in tox runs by @neutrinoceros in #426
- BUG: fix an issue where array functions would crash (AttributeError) when passed non-ndarray array like objects (e.g. Python lists) by @neutrinoceros in #464
- DOC: update pyenv commands in docs by @neutrinoceros in #467
- Update history for v3.0.1 by @jzuhone in #468
Full Changelog: v3.0.0...v3.0.1
v3.0.0
New Contributors
- @chrishavlin made their first contribution in #185
- @samgdotson made their first contribution in #294
- @haymanpf made their first contribution in #379
- @db434 made their first contribution in #435
Full Changelog: v2.9.5...v3.0.0
v2.9.5
v2.9.4
v2.9.3
What's Changed
- REL: manual backports for release 2.9.3 by @neutrinoceros in #335
Full Changelog: v2.9.2...v2.9.3