Path to this page:
Subject: CVS commit: pkgsrc/math/py-astropy
From: Adam Ciarcinski
Date: 2023-10-20 16:16:35
Message id: 20231020141635.4B36AFADC@cvs.NetBSD.org
Log Message:
py-astropy: updated to 5.3.4
Version 5.3.4 (2023-10-03)
==========================
Bug Fixes
---------
astropy.io.misc
- Updated ``astropy.io.misc.yaml`` so ``dump()` with a numpy object array or
``load()`` with YAML representing a Numpy object array both raise
``TypeError``. This prevents problems like a segmentation fault.
astropy.io.votable
- Fixed a bug in ``convert_to_writable_filelike`` where ``GzipFile`` was not
closed properly.
astropy.units
- In VOUnit, the spaces around the slash were removed in the formatting of
fractions, and fractional powers now also use the "**" operator.
- We now ensure that the unit ``u.cgs.cm`` is just an alias of ``u.si.cm``,
instead of a redefinition. This ensures that ``u.Unit("cm") / u.cm``
will reliably cancel to dimensionless (instead of some "cm / cm").
astropy.utils
- For ``Masked``, ``np.ptp`` and the ``.ptp()`` method now properly account for
the mask, ensuring the result is identical to subtracting the maximum and
minimum (with the same arguments).
Files: