Accepting request 1222846 from devel:languages:python:numeric

- Update to 6.1.5
  ## Bug Fixes
  ### astropy.coordinates
  * Ensure that coordinates can be transformed to other coordinate
    frames also if they have size zero (i.e., hold empty data
    arrays). [#17013]
  * Longitude and Latitude can no longer be initialized with
    strings ending in “N” or “S”, and “E” or “W”, respectively,
    since those suggest the other type. [#17132]
  * np.nanvar(angle) now produces a Quantity with the correct unit,
    rather than raising an exception. [#17239]
  * Fix a crash when instantiating Angle (or Latitude, or
    Longitude) from a non-numpy array (for instance pyarrow
    arrays). [#17263]
  ### astropy.io.fits
  *  Fix access to VLA columns after slicing .data. [#16996]
  ### astropy.io.votable
  * Updated xml writer for VOTable Resource elements to include
    groups. [#17344]
  ### astropy.nddata
  * Add support for positional only and keyword only arguments when
    using the support_nddata decorator. [#17281]
  ### astropy.stats
  * Fixed a bug where float32 inputs to sigma_clip and SigmaClip
    were changed to float. [#17086]
  ### astropy.table
  * Fix a crash when calling Column.pprint on a scalar column.
    [#15749]
  * Ensure that setting an existing column to a scalar always
    properly fills it (rather than breaking the table if there was

OBS-URL: https://build.opensuse.org/request/show/1222846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2024-11-09 19:57:58 +00:00 committed by Git OBS Bridge
commit cdedbbd299
4 changed files with 113 additions and 9 deletions

View File

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

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

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

View File

@ -1,3 +1,109 @@
-------------------------------------------------------------------
Fri Nov 8 14:50:37 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.1.5
## Bug Fixes
### astropy.coordinates
* Ensure that coordinates can be transformed to other coordinate
frames also if they have size zero (i.e., hold empty data
arrays). [#17013]
* Longitude and Latitude can no longer be initialized with
strings ending in “N” or “S”, and “E” or “W”, respectively,
since those suggest the other type. [#17132]
* np.nanvar(angle) now produces a Quantity with the correct unit,
rather than raising an exception. [#17239]
* Fix a crash when instantiating Angle (or Latitude, or
Longitude) from a non-numpy array (for instance pyarrow
arrays). [#17263]
### astropy.io.fits
* Fix access to VLA columns after slicing .data. [#16996]
### astropy.io.votable
* Updated xml writer for VOTable Resource elements to include
groups. [#17344]
### astropy.nddata
* Add support for positional only and keyword only arguments when
using the support_nddata decorator. [#17281]
### astropy.stats
* Fixed a bug where float32 inputs to sigma_clip and SigmaClip
were changed to float. [#17086]
### astropy.table
* Fix a crash when calling Column.pprint on a scalar column.
[#15749]
* Ensure that setting an existing column to a scalar always
properly fills it (rather than breaking the table if there was
only one column in it). [#17105]
### astropy.units
* The unit parsers are now better at recognizing unusual
composite units:
- units involving special unicode symbols, like “L☉/pc²”;
- units that include CDS units ending in a 0, like “eps0/s”;
- units including the degree symbol, “°”. For example, “°C/s”
is no longer incorrectly interpreted as “°C/s^2”. [#17011]
* Converting the ohm to a string with the OGIP unit formatter
(e.g. f"{u.ohm:ogip}") previously produced the string 'V / A',
but now produces 'ohm' as expected. [#17200]
* The OGIP unit formatter now handles the unit day and the
corresponding string "d" in full compliance with the standard.
[#17216]
* The "ogip" unit format now represents the unit angstrom as
"angstrom" instead of "0.1 nm". [#17241]
### astropy.utils
* Ensure that queries of .ut1_utc() and .pm_xy() return the
correct results also when passing in an empty array of times.
[#17013]
* Fixed a bug where astropys logger wouldnt perform lazy string
interpolation. [#17196]
### astropy.visualization
* Fixed a bug that caused CoordinateHelper.get_axislabel() to
return an empty string instead of the default label if no label
has been explicitly provided. [#17175]
### astropy.wcs
* Fixed a bug that caused WCS.slice to ignore numpy_order and
always interpret the slices as if numpy_order was True, in the
specific case where the slices were such that dimensions in the
WCS would be dropped. [#17147]
- Release 6.1.4
## Bug Fixes
### astropy.coordinates
* Keep Latitude from printing long input arrays in their entirety
when failing limits check in _validate_angles, indicating their
range instead. [#13997]
* Avoid some components not being included in table output of
coordinates if the representation type was "unitspherical".
* In the process, also ensured that one can pass in the
radial_velocity keyword argument if one uses
differential_type="radial". [#16999]
### astropy.io.votable
* Ensure proper handling of null values during BINARY2
serialization. Previously, masks were handled in two different
ways for BINARY2 serialization, resulting in incorrect handling
of null values and errors. [#16091]
### astropy.stats
* Fixed a bug in biweight_location, biweight_scale, and
biweight_midvariance where the returned array shape would be
wrong if the input array had an axis length of 1 along any axis
that was not included in the axis keyword. Also fixed a bug in
these same functions where for constant data and axis set to a
tuple containing all axes, the returned value would be NaN
instead of the constant value. [#16964]
### astropy.table
* Ensure that initializing a QTable with explicit units` also
succeeds if one of the units is u.one. [#17048]
### astropy.units
* An exception is now raised if it is attempted to create a unit
with a scale of zero, avoiding bugs further downstream
(including surprising ones, such as a comparison of
np.ma.masked == u.one leading to a ZeroDivisionError). [#17048]
### astropy.wcs
* Fix a bug that caused the results from
local_partial_pixel_derivative to be incorrect when using
normalize_by_world=True (the matrix was previously normalized
along the wrong axis) [#17003]
## Other Changes and Additions
* Minimal requirement for (optional dependency) matplotlib was
bumped to 3.5.0, which is the oldest version with support for
Python 3.10 [#16993]
-------------------------------------------------------------------
Fri Aug 30 15:11:17 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -49,7 +49,7 @@
%{?sle15_python_module_pythons}
Name: python-astropy%{psuffix}
Version: 6.1.3
Version: 6.1.5
Release: 0
Summary: Community-developed python astronomy tools
License: BSD-3-Clause
@ -73,7 +73,7 @@ BuildRequires: hdf5-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 3.13
Requires: python-astropy-iers-data >= 0.2024.7.29.0.32.7
Requires: python-astropy-iers-data >= 0.2024.10.28.0.34.7
Requires: python-numpy >= 1.23
Requires: python-packaging >= 19.0
Requires: python-pyerfa >= 2.0.1.1
@ -83,9 +83,7 @@ Requires(postun): update-alternatives
Conflicts: perl-Data-ShowTable
# [recommended]
Recommends: python-scipy >= 1.8
Recommends: python-matplotlib >= 3.3
Conflicts: python-matplotlib = 3.4.0
Conflicts: python-matplotlib = 3.5.2
Recommends: python-matplotlib >= 3.5
# [all]
Suggests: python-h5py
Suggests: python-beautifulsoup4
@ -120,7 +118,7 @@ BuildRequires: %{python_module fsspec >= 2023.4.0}
BuildRequires: %{python_module h5py}
BuildRequires: %{python_module html5lib}
BuildRequires: %{python_module jplephem}
BuildRequires: %{python_module matplotlib >= 3.3}
BuildRequires: %{python_module matplotlib >= 3.5}
BuildRequires: %{python_module mpmath}
BuildRequires: %{python_module pandas}
%ifnarch %arm