Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sherpa for openSUSE:Factory checked in at 2022-06-15 00:31:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sherpa (Old) and /work/SRC/openSUSE:Factory/.python-sherpa.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sherpa" Wed Jun 15 00:31:55 2022 rev:13 rq:982377 version:4.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sherpa/python-sherpa.changes 2022-02-07 23:39:40.453794217 +0100 +++ /work/SRC/openSUSE:Factory/.python-sherpa.new.1548/python-sherpa.changes 2022-06-15 00:31:56.794495375 +0200 @@ -1,0 +2,28 @@ +Thu Jun 9 20:00:36 UTC 2022 - Ben Greiner <[email protected]> + +- Update to 4.14.1 + * enhancements: + - various plotting backend improvements + - various i/o backend improvements + - data object class improvements + - basic support for Xspec 12.12.1 + - beta support for python 3.10 + * documentation changes: + - updated build with CIAO documentation + - Add a missing class (DataOgipResponse) to the documentation + - Improves the docstrings for DataPHA + - fixed typos in plot docs + - clean up readthedocs issues such as missing bullets + * Infrastructure changes: + - updates for compatibility with Clang 12.0 + - updates to the regression tests + * bug fixes: + - Improve the FITS headers created when writing out a PHA file (to better match OGIP standards) + - addresses delete_model_component call failing if a key does not exist + - fixed issue with writing a PHA dataset as a table rather than a PHA file + - ensure FITS column access is case insensitive + - image handling and image coordinates + - Drop sherpa-pr1318-py310tests.patch fixed upstream + - Drop sherpa-pr1319-distutils-hack.patch fixed upstream + +------------------------------------------------------------------- Old: ---- sherpa-4.14.0.tar.gz sherpa-pr1318-py310tests.patch sherpa-pr1319-distutils-hack.patch New: ---- sherpa-4.14.1.tar.gz sherpa-test-data-57cae742c7642494b51c26ba3f27935bbcc0116b.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sherpa.spec ++++++ --- /var/tmp/diff_new_pack.3bE1qo/_old 2022-06-15 00:32:00.690501100 +0200 +++ /var/tmp/diff_new_pack.3bE1qo/_new 2022-06-15 00:32:00.694501107 +0200 @@ -18,21 +18,20 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 +%define test_data_commit 57cae742c7642494b51c26ba3f27935bbcc0116b Name: python-sherpa -Version: 4.14.0 +Version: 4.14.1 Release: 0 Summary: Modeling and fitting package for scientific data analysis License: GPL-3.0-only URL: https://github.com/sherpa/sherpa/ -Source: https://github.com/sherpa/sherpa/archive/%{version}.tar.gz#/sherpa-%{version}.tar.gz +Source0: https://github.com/sherpa/sherpa/archive/%{version}.tar.gz#/sherpa-%{version}.tar.gz +Source1: https://github.com/sherpa/sherpa-test-data/archive/%{test_data_commit}.tar.gz#/sherpa-test-data-%{test_data_commit}.tar.gz Patch1: reproducible.patch -# PATCH-FIX-UPSTREAM sherpa-pr1318-py310tests.patch -- gh#sherpa/sherpa#1319 -Patch2: https://github.com/sherpa/sherpa/pull/1318.patch#/sherpa-pr1318-py310tests.patch -# PATCH-FIX-UPSTREAM sherpa-pr1319-distutils-hack.patch -- gh#sherpa/sherpa#1319 -Patch3: sherpa-pr1319-distutils-hack.patch BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module numpy-devel >= 1.19} -BuildRequires: %{python_module setuptools} +# https://sherpa.readthedocs.io/en/latest/install.html#building-from-source +BuildRequires: %{python_module setuptools < 60} BuildRequires: bison BuildRequires: fdupes BuildRequires: fftw3-devel @@ -47,7 +46,7 @@ # SECTION test requirements BuildRequires: %{python_module pytest >= 3.3} BuildRequires: %{python_module pytest-xvfb} -# Highly recommended by upstream when building from source https://sherpa.readthedocs.io/en/latest/install.html#building-from-source +# Highly recommended by upstream when building from source BuildRequires: %{python_module astropy} BuildRequires: %{python_module matplotlib} # /SECTION @@ -59,7 +58,7 @@ data, using a variety of statistics and optimization methods. %prep -%setup -q -n sherpa-%{version} +%setup -q -n sherpa-%{version} -a1 %autopatch -p1 # uncomment system libs sed -i "s|#fftw=local|fftw=local|" setup.cfg @@ -93,8 +92,9 @@ %check # avoid conftest import mismatch mv sherpa sherpa_temp -# astropy 4.2 fits header warning -donttest+="test_load_case_3" +export PYTHONPATH=$PWD/sherpa-test-data-%{test_data_commit} +# unclosed resource warnings by pytest although the tests use Path.to_text which should have closed it. +donttest="test_save" # precision issues %ifnarch x86_64 donttest+=" or (test_regproj and sherpa.plot.dummy_backend)" ++++++ sherpa-4.14.0.tar.gz -> sherpa-4.14.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-sherpa/sherpa-4.14.0.tar.gz /work/SRC/openSUSE:Factory/.python-sherpa.new.1548/sherpa-4.14.1.tar.gz differ: char 12, line 1
