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 2023-01-21 19:11:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sherpa (Old) and /work/SRC/openSUSE:Factory/.python-sherpa.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sherpa" Sat Jan 21 19:11:17 2023 rev:15 rq:1060053 version:4.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sherpa/python-sherpa.changes 2022-08-16 17:07:06.975765521 +0200 +++ /work/SRC/openSUSE:Factory/.python-sherpa.new.32243/python-sherpa.changes 2023-01-21 19:11:30.925282774 +0100 @@ -1,0 +2,44 @@ +Fri Jan 20 10:59:30 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 4.15.0 + * This release of Sherpa includes various enhancements, + documentation updates, bug fixes, and infrastructure changes. + ## Enhancements: + * Improved validation of arguments when creating Data objects: + - arrays sent to Data objects are now converted to ndarrays + - the independent axis is now made read-only + - the size of a data object is now fixed. + * Filter setting with notice/ignore are reported to the screen + for the users of the UI layer. + * Increased test coverage for plotting + ## Documentation changes: + * updated readthedocs to use pip and pytest instead of setup.py + * several updates to documentation, including updates to + fake_pha, calc_ftest, calc_mlr + ## Infrastructure changes: + * Drop support for Python 3.7 + * Updates to start creating Python 3.10 Conda packages. + * Use Numpy 1.20 for Python 3.8/3.9 and Numpy 1.21 for Python + 3.10. + * Moves toward PEP-517 with some distutils cleanup and more + configuration moved from setup.py to setup.cfg + * Various improvements to the GitHub Actions and GitLab workflows + ## Bug fixes: + * Ensure chi2xspecvar errors match XSPEC when 0 counts are + present during background subtraction + * Remove model instances from the global symbol table when clean + is called + * Addresses new warnings in the tests for Matplotlib 3.6.0 and + AstroPy 5.1 + * Minor copy and paste error in fake_pha docstring + * Test issues in test_fake_pha.py due to randomness + ## Caveats + * There are known issues (#1602, #1605, #1606) in the + histogram1d/histogram2d functions leading to failures which + were not fully addressed in this release (see the failed case + in the second histogram1d example). This is not the Sherpa core + functionality and numpy.histogram can be used if needed. +- Drop reproducible.patch: the patched fftw sources are not used in + this build. + +------------------------------------------------------------------- Old: ---- reproducible.patch sherpa-4.14.1.tar.gz sherpa-test-data-57cae742c7642494b51c26ba3f27935bbcc0116b.tar.gz New: ---- sherpa-4.15.0.tar.gz sherpa-test-data-4.15.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sherpa.spec ++++++ --- /var/tmp/diff_new_pack.dLHsus/_old 2023-01-21 19:11:34.161301247 +0100 +++ /var/tmp/diff_new_pack.dLHsus/_new 2023-01-21 19:11:34.165301270 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-sherpa # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,15 @@ # python311 does not bundle setuptools < 60 %define skip_python311 1 -%define test_data_commit 57cae742c7642494b51c26ba3f27935bbcc0116b Name: python-sherpa -Version: 4.14.1 +Version: 4.15.0 Release: 0 Summary: Modeling and fitting package for scientific data analysis License: GPL-3.0-only URL: https://github.com/sherpa/sherpa/ 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 -BuildRequires: %{python_module devel >= 3.7} +Source1: https://github.com/sherpa/sherpa-test-data/archive/refs/tags/%{version}.tar.gz#/sherpa-test-data-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module numpy-devel >= 1.19} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} @@ -37,14 +35,13 @@ BuildRequires: fftw3-devel BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: gcc-fortran BuildRequires: python-rpm-macros Requires: python-numpy >= 1.19 Requires(post): update-alternatives Requires(postun):update-alternatives ExcludeArch: %{ix86} %{arm} # SECTION test requirements -BuildRequires: %{python_module pytest >= 3.3} +BuildRequires: %{python_module pytest >= 5} BuildRequires: %{python_module pytest-xvfb} # Highly recommended by upstream when building from source BuildRequires: %{python_module astropy} @@ -59,14 +56,14 @@ %prep %setup -q -n sherpa-%{version} -a1 -%autopatch -p1 # uncomment system libs https://sherpa.readthedocs.io/en/latest/install.html#fftw sed -i "s|#fftw=local|fftw=local|" setup.cfg sed -i "s|#fftw-include[-_]dirs.*$|fftw-include-dirs=%{_includedir}|" setup.cfg sed -i "s|#fftw-lib-dirs.*$|fftw-lib-dirs=%{_libdir}|" setup.cfg sed -i "s|#fftw-libraries|fftw-libraries|" setup.cfg - -sed -i "s|/lib/|/%{_lib}/|" helpers/sherpa_config.py +rm -r extern/fftw-* +# adjust the "install path" for stk.so and group.so for the build phase +sed -i "/pydir =/ s/libdir,/self.install_dir, '%{_lib}',/" helpers/sherpa_config.py %build cp -r extern extern0 @@ -97,7 +94,7 @@ %check # avoid conftest import mismatch mv sherpa sherpa_temp -export PYTHONPATH=$PWD/sherpa-test-data-%{test_data_commit} +export PYTHONPATH=$PWD/sherpa-test-data-%{version} # unclosed resource warnings by pytest although the tests use Path.to_text which should have closed it. donttest="test_save" # precision issues ++++++ sherpa-4.14.1.tar.gz -> sherpa-4.15.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-sherpa/sherpa-4.14.1.tar.gz /work/SRC/openSUSE:Factory/.python-sherpa.new.32243/sherpa-4.15.0.tar.gz differ: char 16, line 1 ++++++ sherpa-test-data-57cae742c7642494b51c26ba3f27935bbcc0116b.tar.gz -> sherpa-test-data-4.15.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-sherpa/sherpa-test-data-57cae742c7642494b51c26ba3f27935bbcc0116b.tar.gz /work/SRC/openSUSE:Factory/.python-sherpa.new.32243/sherpa-test-data-4.15.0.tar.gz differ: char 66, line 1