1
0

Compare commits

..

8 Commits

Author SHA256 Message Date
Dominique Leuenberger
925ed10f5d Accepting request 1244494 from devel:languages:python:numeric
- Update to 7.0.1
  ## API Changes
  ### astropy.table
  *  The use of the keyword use_local_files for the js viewer in
     astropy.table.Table.show_in_browser is now deprecated.
     Starting in Astropy 7.1 this keyword will be ignored and use
     of it will issue a warning. The default behavior will be to
     use the remote versions of jQuery and DataTables from a CDN.
     [#17480]
  ## Bugfixes for:
  * astropy.config
  * astropy.coordinates
  * astropy.io.ascii
  * astropy.io.fits
  * astropy.io.votable
  * astropy.modeling
  * astropy.table
  * astropy.units
  * astropy.visualization
- Major Release 7.0.0
  * See https://docs.astropy.org/en/stable/whatsnew/7.0.html
    for a detailed changelog. Headlines include:
  * Full MaskedQuantity Support in QTable
  * Coordinate frames can now be stored in tables
  * Table show_in_notebook is back with ipydatagrid
  * Ordering of table columns constructed from rows
  * Table.pformat is now independent of terminal dimensions
  * Quantity.to_string supports formatter for formatting
  * NumPy constructor functions with a like argument are now supported with Quantity
  * Change default type for meta attribute to dict and update ECSV writer

OBS-URL: https://build.opensuse.org/request/show/1244494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=61
2025-02-09 19:08:02 +00:00
8f49b0399e - Update to 7.0.1
## API Changes
  ### astropy.table
  *  The use of the keyword use_local_files for the js viewer in
     astropy.table.Table.show_in_browser is now deprecated.
     Starting in Astropy 7.1 this keyword will be ignored and use
     of it will issue a warning. The default behavior will be to
     use the remote versions of jQuery and DataTables from a CDN.
     [#17480]
  ## Bugfixes for:
  * astropy.config
  * astropy.coordinates
  * astropy.io.ascii
  * astropy.io.fits
  * astropy.io.votable
  * astropy.modeling
  * astropy.table
  * astropy.units
  * astropy.visualization
- Major Release 7.0.0
  * See https://docs.astropy.org/en/stable/whatsnew/7.0.html
    for a detailed changelog. Headlines include:
  * Full MaskedQuantity Support in QTable
  * Coordinate frames can now be stored in tables
  * Table show_in_notebook is back with ipydatagrid
  * Ordering of table columns constructed from rows
  * Table.pformat is now independent of terminal dimensions
  * Quantity.to_string supports formatter for formatting
  * NumPy constructor functions with a like argument are now supported with Quantity
  * Change default type for meta attribute to dict and update ECSV writer

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=145
2025-02-09 13:56:11 +00:00
Ana Guerrero
6532101c85 Accepting request 1228341 from devel:languages:python:numeric
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1228341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=60
2024-12-05 16:08:59 +00:00
dd1f482b1e - 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]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=143
2024-11-27 15:44:32 +00:00
Ana Guerrero
b3a96b79c9 Accepting request 1225103 from devel:languages:python:numeric
- update to 6.1.6:
  * Fixed instantiating Angle from a pandas Series object.
  * Fixed calling np.nanvar and np.nanstd with Quantity out
    argument.

OBS-URL: https://build.opensuse.org/request/show/1225103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=59
2024-11-19 21:23:48 +00:00
f483cb03d6 - update to 6.1.6:
* Fixed instantiating Angle from a pandas Series object.
  * Fixed calling np.nanvar and np.nanstd with Quantity out
    argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=141
2024-11-19 12:48:29 +00:00
Dominique Leuenberger
cdedbbd299 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
2024-11-09 19:57:58 +00:00
51c7b77f4a - Do not only delete but replace package-lock.json with our own
* Avoid non-reproducible local registry port
  * boo#1231254 gh#openSUSE/obs-service-node_modules#41

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=139
2024-11-08 14:55:52 +00:00
4 changed files with 190 additions and 23 deletions

View File

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

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

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

View File

@ -1,3 +1,172 @@
-------------------------------------------------------------------
Sun Feb 9 13:15:53 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 7.0.1
## API Changes
### astropy.table
* The use of the keyword use_local_files for the js viewer in
astropy.table.Table.show_in_browser is now deprecated.
Starting in Astropy 7.1 this keyword will be ignored and use
of it will issue a warning. The default behavior will be to
use the remote versions of jQuery and DataTables from a CDN.
[#17480]
## Bugfixes for:
* astropy.config
* astropy.coordinates
* astropy.io.ascii
* astropy.io.fits
* astropy.io.votable
* astropy.modeling
* astropy.table
* astropy.units
* astropy.visualization
- Major Release 7.0.0
* See https://docs.astropy.org/en/stable/whatsnew/7.0.html
for a detailed changelog. Headlines include:
* Full MaskedQuantity Support in QTable
* Coordinate frames can now be stored in tables
* Table show_in_notebook is back with ipydatagrid
* Ordering of table columns constructed from rows
* Table.pformat is now independent of terminal dimensions
* Quantity.to_string supports formatter for formatting
* NumPy constructor functions with a like argument are now supported with Quantity
* Change default type for meta attribute to dict and update ECSV writer
* Improve the Contributor Documentation
* Typing in astropy.stats
* Converting units on dask and other array-like objects
* Performance improvements in astropy.modeling
* Fitting models in parallel with N-dimensional data
* RGB image visualization enhancements
* New Lorentz2D model
* Faster guessing of formats in astropy.io.ascii
* Support VOTable version 1.5
* New SimpleNorm class
* New SigmaClippedStats class
* Automatic placement of axis and tick labels for WCSAxes
* Support for masks in coordinates
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-astropy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -49,7 +49,7 @@
%{?sle15_python_module_pythons}
Name: python-astropy%{psuffix}
Version: 6.1.3
Version: 7.0.1
Release: 0
Summary: Community-developed python astronomy tools
License: BSD-3-Clause
@ -59,10 +59,10 @@ Source: https://files.pythonhosted.org/packages/source/a/astropy/astropy
# Mark wcs headers as false positives for devel-file-in-non-devel-package
# These are used by the python files so they must be available.
Source100: python-astropy-rpmlintrc
# https://docs.astropy.org/en/v6.1/install.html#requirements
BuildRequires: %{python_module Cython >= 3 with %python-Cython < 3.1}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module extension-helpers >= 1.0}
# https://docs.astropy.org/en/stable/install.html#requirements
BuildRequires: %{python_module Cython >= 3 with %python-Cython < 4}
BuildRequires: %{python_module devel >= 3.11}
BuildRequires: %{python_module extension-helpers >= 1.0 with %python-extension-helpers < 2}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm >= 6.2}
@ -72,20 +72,18 @@ BuildRequires: fdupes
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-numpy >= 1.23
Requires: python-packaging >= 19.0
Requires: python-PyYAML >= 6
Requires: python-astropy-iers-data >= 0.2025.1.31.12.41.4
Requires: python-numpy >= 1.23.2
Requires: python-packaging >= 22
Requires: python-pyerfa >= 2.0.1.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
# %%{_bindir}/showtable namespace clash
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-scipy >= 1.9.2
Recommends: python-matplotlib >= 3.6
# [all]
Suggests: python-h5py
Suggests: python-beautifulsoup4
@ -115,12 +113,12 @@ BuildRequires: %{python_module Bottleneck}
BuildRequires: %{python_module asdf-astropy >= 0.3}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module bleach}
BuildRequires: %{python_module dask-array}
BuildRequires: %{python_module dask-array >= 2022.5.1}
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
@ -135,17 +133,17 @@ BuildRequires: libxml2-tools
# SECTION [test]
# We need the compiled package for testing
BuildRequires: %{python_module astropy = %{version}}
BuildRequires: %{python_module ipython >= 4.2 if %python-base >= 3.10}
BuildRequires: %{python_module ipython >= 8}
BuildRequires: %{python_module objgraph}
BuildRequires: %{python_module pytest >= 7.3}
BuildRequires: %{python_module pytest-astropy >= 0.10}
BuildRequires: %{python_module pytest-astropy-header >= 0.2.1}
BuildRequires: %{python_module pytest-doctestplus >= 0.12}
BuildRequires: %{python_module pytest-mpl}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-xdist >= 2.5}
BuildRequires: %{python_module sgp4 >= 2.3}
BuildRequires: %{python_module skyfield}
BuildRequires: %{python_module threadpoolctl}
BuildRequires: %{python_module threadpoolctl >= 3}
# /SECTION
%endif
%python_subpackages