diff --git a/astropy-5.0.4.tar.gz b/astropy-5.0.4.tar.gz deleted file mode 100644 index 2f315d2..0000000 --- a/astropy-5.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:001184f1a9c3f526a363883ce28efb9cbf076df3d151ca3e131509a248f0dfb9 -size 7851964 diff --git a/astropy-5.1.tar.gz b/astropy-5.1.tar.gz new file mode 100644 index 0000000..0bbb68d --- /dev/null +++ b/astropy-5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1db1b2c7eddfc773ca66fa33bd07b25d5b9c3b5eee2b934e0ca277fa5b1b7b7e +size 7924234 diff --git a/python-astropy-rpmlintrc b/python-astropy-rpmlintrc index 39b9ae4..2daecec 100644 --- a/python-astropy-rpmlintrc +++ b/python-astropy-rpmlintrc @@ -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') diff --git a/python-astropy.changes b/python-astropy.changes index 74ae3be..a6ec9bf 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu May 26 15:46:09 UTC 2022 - Ben Greiner + +- 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 diff --git a/python-astropy.spec b/python-astropy.spec index 4031926..b8f8e3f 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -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}