Skip to content

yt-4.2.2

Compare
Choose a tag to compare
@neutrinoceros neutrinoceros released this 25 Aug 12:06
9e2bf0e

Summary

This is the last planned bugfix release in the yt 4.2.x series. It contains fixes to bugs discovered since the 4.2.1 release.

There are no new features or deprecations in this version, all users are encouraged to upgrade.

Python 3.8 to 3.11 is supported.
The next planned release, yt 4.3.0, will support Python 3.12

How to upgrade

To upgrade from PyPI, run

python -m pip install --upgrade yt

or, with conda

conda update --channel conda-forge yt

🐛 Bug fixes

#4544 Fix docstring for load octree, by @matthewturk (issue #4542)
#4549 Fix marker plot annotation, by @neutrinoceros (issue #4548)
#4566 Update annotate_contours docs to avoid deprecated API, by @zingale
#4570 Fix fake_dataset periodicity attribute in FieldDetector, by @jzuhone
#4577 Fix fortran IO test for big-endian architectures, by @cphyc and @neutrinoceros (issue #4569 by @olebole)
#4585 Avoid deprecated numpy API in flash frontend (implicit conversion of 1-sized arrays to scalar types is deprecated in numpy 1.25), by @neutrinoceros
#4586 Avoid divide-by-zero runtime warning from np.log10 in AMRKDTree.get_brick_data, by @neutrinoceros
#4547 Fix initialization of max level in load_octree, by @matthewturk (issue #4545)
#4601 Fix string interpolation (units double-printing) in GridIndex, by @neutrinoceros
#4604 Skip out-of-bounds particles in ngp deposition, by @neutrinoceros (issue #4603)
#4631 Fix an UnboundLocalError in PhasePlot._setup_plots, by @neutrinoceros (issue #4617 by @chummels)
#4638 Fix a crash with certain combinations of kwargs for adding dimensionless derived fields to datasets, by @neutrinoceros (issue #4636 by @vdbma)
#4644 Fix error message when trying to use a feature that requires cartopy while it's missing, by @neutrinoceros (issue #4633)
#4640 Only call find_spec sometimes, by @matthewturk

🤖 Frontend-specific fixes

#4414 gadget hdf: reduce size 1 header arrays to scalar, by @chrishavlin (issue originally reported by Ben Oppenheimer)
#4533 Fix a regression preventing loading of fits datasets, by @neutrinoceros (issue #4532 by @yzhenggit)
#4536 Fix a regression preventing loading of pyne/moab datasets, by @neutrinoceros (issue #4535 by @ahnaf-tahmid-chowdhury)

📚Documentation

#4582 Fix string interpolation (units double-printing) in particle_filter cookbook recipe, by @neutrinoceros
#4592 Docs fixes, by @Xarthisius
#4599 Update documentation on off-axis projections for non-SPH particle data, by @neutrinoceros (issue #4528)

🧩 Build and testing

#4573 Set upper limit to runtime numpy, by @neutrinoceros
#4609 Sort input file list, by @bmwiedemann

Full Changelog: yt-4.2.1...yt-4.2.2