Compare commits

..

No commits in common. "factory" and "devel" have entirely different histories.

5 changed files with 12 additions and 129 deletions

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

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

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

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

View File

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

View File

@ -1,125 +1,3 @@
-------------------------------------------------------------------
Wed Nov 27 15:43:23 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 6.1.7
* Fix an issue in sigma-clipping where the use of np.copy() was
causing the input data mask to be discarded in cases where grow
was set. [#17402]
-------------------------------------------------------------------
Tue Nov 19 12:48:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 6.1.6:
* Fixed instantiating Angle from a pandas Series object.
* Fixed calling np.nanvar and np.nanstd with Quantity out
argument.
-------------------------------------------------------------------
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> Fri Aug 30 15:11:17 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

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