From 3c86ae9c752a8a57ea13a141d3260c6c6aaec63005f976dbd438e98cbfdd2f25 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 31 May 2022 20:49:55 +0000 Subject: [PATCH 1/3] 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 --- astropy-5.0.4.tar.gz | 3 --- astropy-5.1.tar.gz | 3 +++ python-astropy-rpmlintrc | 3 --- python-astropy.changes | 20 ++++++++++++++++++++ python-astropy.spec | 11 +++++++---- 5 files changed, 30 insertions(+), 10 deletions(-) delete mode 100644 astropy-5.0.4.tar.gz create mode 100644 astropy-5.1.tar.gz 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} From aabd62a561e9a3fb36e8291e7138b1151403b64f85bfca11a1f2f5e2fa895b5b Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 31 May 2022 20:53:10 +0000 Subject: [PATCH 2/3] Accepting request 980181 from home:bnavigator:branches:devel:languages:python:numeric - Skip two test categories segfaulting: gh#astropy/astropy/13286 OBS-URL: https://build.opensuse.org/request/show/980181 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=73 --- python-astropy.changes | 5 +++++ python-astropy.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-astropy.changes b/python-astropy.changes index a6ec9bf..bdb2831 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 31 20:51:59 UTC 2022 - Ben Greiner + +- Skip two test categories segfaulting: gh#astropy/astropy/13286 + ------------------------------------------------------------------- Thu May 26 15:46:09 UTC 2022 - Ben Greiner diff --git a/python-astropy.spec b/python-astropy.spec index b8f8e3f..00e92d0 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -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 @@ -118,6 +119,7 @@ BuildRequires: pkgconfig(wcslib) >= 7 # SECTION Optional requirements BuildRequires: %{python_module Bottleneck} BuildRequires: %{python_module asdf >= 2.10.0} +BuildRequires: %{python_module asdf-astropy} BuildRequires: %{python_module beautifulsoup4} BuildRequires: %{python_module bleach} BuildRequires: %{python_module h5py} @@ -206,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" From dc82112c18bfa3d8e0f75464924f64411693145f21e3b005d80408f5b00d6626 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 31 May 2022 20:54:22 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=74 --- python-astropy.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-astropy.changes b/python-astropy.changes index bdb2831..c50fe22 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Tue May 31 20:51:59 UTC 2022 - Ben Greiner -- Skip two test categories segfaulting: gh#astropy/astropy/13286 +- Skip two test categories segfaulting: gh#astropy/astropy#13286 ------------------------------------------------------------------- Thu May 26 15:46:09 UTC 2022 - Ben Greiner