Accepting request 980183 from devel:languages:python:numeric

- Skip two test categories segfaulting: gh#astropy/astropy#13286
- Update to 5.1
  * Astropy 5.1 is a major release that adds significant new
    functionality since the 5.0 LTS release.
  * In particular, this release includes:
    - Updates to cosmology
    - doppler_redshift() equivalency
    - Specifying data types when reading ASCII tables
    - Structured Columns
    - New model fitters have been added
    - Allow time conversions without predictive Earth rotation data
      (IERS-A)
    - Uncertainty classes can be transformed into each other
    - Schechter1D Model
  * In addition to these major changes, Astropy v5.1 includes a
    large number of smaller improvements and bug fixes, which are
    described in the Full Changelog.

OBS-URL: https://build.opensuse.org/request/show/980183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astropy?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2022-06-01 15:34:48 +00:00 committed by Git OBS Bridge
commit b200c486ab
5 changed files with 39 additions and 10 deletions

View File

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

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

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

View File

@ -1,6 +1,3 @@
addFilter('devel-file-in-non-devel-package .*/wcs/.*')
addFilter('hidden-file-or-dir .*/tests/data/.*')
addFilter('zero-length .*/tests/data/.*')
# https://bugzilla.opensuse.org/show_bug.cgi?id=1191584
addFilter('unstripped-binary-or-object .*python.*\.so')
addFilter('shared-library-without-dependency-information .*python.*\.so')

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue May 31 20:51:59 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Skip two test categories segfaulting: gh#astropy/astropy#13286
-------------------------------------------------------------------
Thu May 26 15:46:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 5.1
* Astropy 5.1 is a major release that adds significant new
functionality since the 5.0 LTS release.
* In particular, this release includes:
- Updates to cosmology
- doppler_redshift() equivalency
- Specifying data types when reading ASCII tables
- Structured Columns
- New model fitters have been added
- Allow time conversions without predictive Earth rotation data
(IERS-A)
- Uncertainty classes can be transformed into each other
- Schechter1D Model
* In addition to these major changes, Astropy v5.1 includes a
large number of smaller improvements and bug fixes, which are
described in the Full Changelog.
-------------------------------------------------------------------
Sat Apr 23 19:27:14 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -56,7 +56,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-astropy%{psuffix}
Version: 5.0.4
Version: 5.1
Release: 0
Summary: Community-developed python astronomy tools
License: BSD-3-Clause
@ -90,6 +90,7 @@ Requires(postun):update-alternatives
Recommends: libxml2-tools
Recommends: python-Bottleneck
Recommends: python-asdf >= 2.9.2
Recommends: python-asdf-astropy
Recommends: python-beautifulsoup4
Recommends: python-bleach
Recommends: python-h5py
@ -99,7 +100,7 @@ Recommends: python-matplotlib >= 3.1
Recommends: python-mpmath
Recommends: python-pandas
Recommends: python-pyarrow >= 5
Recommends: python-scipy >= 1.1
Recommends: python-scipy >= 1.3
Recommends: python-setuptools
Recommends: python-sortedcontainers
Recommends: python-typing_extensions >= 3.10.0.1
@ -117,7 +118,8 @@ BuildRequires: pkgconfig(wcslib) >= 7
%if %{with test}
# SECTION Optional requirements
BuildRequires: %{python_module Bottleneck}
BuildRequires: %{python_module asdf >= 2.9.2}
BuildRequires: %{python_module asdf >= 2.10.0}
BuildRequires: %{python_module asdf-astropy}
BuildRequires: %{python_module beautifulsoup4}
BuildRequires: %{python_module bleach}
BuildRequires: %{python_module h5py}
@ -137,7 +139,8 @@ BuildRequires: %{python_module astropy = %{version}}
BuildRequires: %{python_module ipython >= 4.2}
BuildRequires: %{python_module objgraph}
BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module pytest-astropy >= 0.9}
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}
@ -158,6 +161,8 @@ managing them.
%autosetup -p1 -n astropy-%{version}
# avoid rpmlint zero-length error for empty module
echo '# empty module' > astropy/samp/setup_package.py
# Reverse gh#astropy/astropy#13205, patch MPL instead
sed -i '/matplotlib/ s/,!=3.5.2//' setup.cfg
# Make sure bundled libs are not used
%if %{with system_cfitsio}
@ -203,6 +208,8 @@ donttest="test_color_print3"
donttest+=" or test_ignore_sigint"
donttest+=" or (test_wcs and test_spectra)"
donttest+=" or (test_standard_profile and test_main)"
# segfaults on obs, but are okay when run on live system -- gh#astropy/astropy/13286
donttest+=" or test_celprm or test_prjprm"
%ifarch aarch64
# doctest failure because of precision errors
donttest+=" or bayesian_info_criterion_lsq"