From 764f6ff9ab1456d62e58d130a2206041fa299f5b Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Tue, 3 Oct 2023 21:54:10 +0200 Subject: [PATCH] Finalizing changelog for v5.3.4 --- CHANGES.rst | 45 ++++++++++++++++++++++++ docs/changes/14784.other.rst | 1 - docs/changes/io.misc/15373.bugfix.rst | 1 - docs/changes/io.votable/15359.bugfix.rst | 1 - docs/changes/units/15282.bugfix.rst | 1 - docs/changes/units/15368.bugfix.rst | 3 -- docs/changes/utils/15380.bugfix.rst | 3 -- docs/changes/utils/15421.api.rst | 2 -- 8 files changed, 45 insertions(+), 12 deletions(-) delete mode 100644 docs/changes/14784.other.rst delete mode 100644 docs/changes/io.misc/15373.bugfix.rst delete mode 100644 docs/changes/io.votable/15359.bugfix.rst delete mode 100644 docs/changes/units/15282.bugfix.rst delete mode 100644 docs/changes/units/15368.bugfix.rst delete mode 100644 docs/changes/utils/15380.bugfix.rst delete mode 100644 docs/changes/utils/15421.api.rst diff --git a/CHANGES.rst b/CHANGES.rst index d887af50205..51220df3afe 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,48 @@ +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. [#15373] + +astropy.io.votable +^^^^^^^^^^^^^^^^^^ + +- Fixed a bug in ``convert_to_writable_filelike`` where ``GzipFile`` was not + closed properly. [#15359] + +astropy.units +^^^^^^^^^^^^^ + +- In VOUnit, the spaces around the slash were removed in the formatting of + fractions, and fractional powers now also use the "**" operator. [#15282] + +- 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"). [#15368] + +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). [#15380] + +Other Changes and Additions +--------------------------- + +- Compatibility with Python 3.12. [#14784] + +- Replaced the URL of ``IETF_LEAP_SECOND_URL`` because the original is now + defunct and IETF now defers to IANA for such look-up. [#15421] + + Version v5.3.3 (2023-09-07) =========================== diff --git a/docs/changes/14784.other.rst b/docs/changes/14784.other.rst deleted file mode 100644 index 56c7c2e19c5..00000000000 --- a/docs/changes/14784.other.rst +++ /dev/null @@ -1 +0,0 @@ -Compatibility with Python 3.12. diff --git a/docs/changes/io.misc/15373.bugfix.rst b/docs/changes/io.misc/15373.bugfix.rst deleted file mode 100644 index c8c48a855d4..00000000000 --- a/docs/changes/io.misc/15373.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -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. diff --git a/docs/changes/io.votable/15359.bugfix.rst b/docs/changes/io.votable/15359.bugfix.rst deleted file mode 100644 index 518440f8cce..00000000000 --- a/docs/changes/io.votable/15359.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed a bug in ``convert_to_writable_filelike`` where ``GzipFile`` was not closed properly. diff --git a/docs/changes/units/15282.bugfix.rst b/docs/changes/units/15282.bugfix.rst deleted file mode 100644 index 51f1fe3fc07..00000000000 --- a/docs/changes/units/15282.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -In VOUnit, the spaces around the slash were removed in the formatting of fractions, and fractional powers now also use the "**" operator. diff --git a/docs/changes/units/15368.bugfix.rst b/docs/changes/units/15368.bugfix.rst deleted file mode 100644 index 9b09ffcc3a9..00000000000 --- a/docs/changes/units/15368.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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"). diff --git a/docs/changes/utils/15380.bugfix.rst b/docs/changes/utils/15380.bugfix.rst deleted file mode 100644 index 1720325c12c..00000000000 --- a/docs/changes/utils/15380.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -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). diff --git a/docs/changes/utils/15421.api.rst b/docs/changes/utils/15421.api.rst deleted file mode 100644 index 65153fd2c4f..00000000000 --- a/docs/changes/utils/15421.api.rst +++ /dev/null @@ -1,2 +0,0 @@ -Replaced the URL of ``IETF_LEAP_SECOND_URL`` because the original is now defunct -and IETF now defers to IANA for such look-up.