1
0

Accepting request 980179 from home:bnavigator:branches:devel:languages:python:numeric

- 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/980179
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=72
This commit is contained in:
Benjamin Greiner 2022-05-31 20:49:55 +00:00 committed by Git OBS Bridge
parent 1db81b18e2
commit 3c86ae9c75
5 changed files with 30 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,23 @@
-------------------------------------------------------------------
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
@ -99,7 +99,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 +117,7 @@ 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 beautifulsoup4}
BuildRequires: %{python_module bleach}
BuildRequires: %{python_module h5py}
@ -137,7 +137,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 +159,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}