1
0

- Update to 5.3.4

## 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]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=104
This commit is contained in:
Benjamin Greiner 2023-10-06 08:23:25 +00:00 committed by Git OBS Bridge
parent 8565c44d44
commit 739f562d36
4 changed files with 37 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0330df9f5d7a2254367e9b8cf44255ba1070b06123188c6a72edc180493f93bb
size 7806734

3
astropy-5.3.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d490f7e2faac2ccc01c9244202d629154259af8a979104ced89dc4ace4e6f1d8
size 7811582

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Fri Oct 6 08:19:42 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 5.3.4
## 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]
-------------------------------------------------------------------
Thu Sep 14 08:30:11 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -48,7 +48,7 @@
%{?unbundle_wcs}
Name: python-astropy%{psuffix}
Version: 5.3.3
Version: 5.3.4
Release: 0
Summary: Community-developed python astronomy tools
License: BSD-3-Clause
@ -59,7 +59,7 @@ Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy
# These are used by the python files so they must be available.
Source100: python-astropy-rpmlintrc
# https://docs.astropy.org/en/v5.3/install.html#requirements
BuildRequires: %{python_module Cython >= 0.29.34 with %python-Cython < 3}
BuildRequires: %{python_module Cython >= 0.29.36 with %python-Cython < 3}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module PyYAML >= 3.13}
BuildRequires: %{python_module devel >= 3.9}