------------------------------------------------------------------- Thu Sep 12 06:18:49 UTC 2024 - Markéta Machová - Add numpy2.patch to fix build with the new numpy ------------------------------------------------------------------- Wed May 29 12:53:04 UTC 2024 - John Paul Adrian Glaubitz - Update to 4.16.1: * enhancements: + minor plotting changes; add support for splitting model expression into + additive components and plot the results; support of log scale axes for + confidence plots; improved error messages for unavailable plot backends + improved RMF plot display to allow choice of energy units * documentation changes: + updates to fake_pha documentation + updates to install.rst to fix incorrect links and outdated version references + updated read the docs documentation to match current code * bug fixes: + fixed multi-panel plot issue with Bokeh backend ------------------------------------------------------------------- Wed May 8 19:28:20 UTC 2024 - Atri Bhattacharya - Do not run tests in parallel to avoid random failures (gh#sherpa/sherpa#2031). ------------------------------------------------------------------- Sun Feb 18 15:31:44 UTC 2024 - Ben Greiner - Skip python312: Requires setuptools < 60 and distutils ------------------------------------------------------------------- Fri Dec 15 03:54:30 UTC 2023 - Steve Kowalik - Update to 4.16.0: * enhancements: + the grouping commands like group_counts and group_snr now default to only grouping within the noticed range of channels, which is a change in behaviour + new plotting backend: Users can now choose between matplotlib and bokeh (experimental) support use of arbitrary python functions when linking model parameters + updates to fake_pha, save_all, allowing to write out RMF/ARF files + get_plot_prefs and get_contour_prefs call to simplify access to the plot and contour preferences + implementation of RMFPlot and DataIMGPlot classes and associated UI functions (plot_rmf, get_rmf_plot) + update support for XSPEC to include version 12.13.1, allow XSPEC table models which include the ESCALE parameter, and provide experimental support for writing out XSPEC table models. * changes to use the NumPy random generator API * bug fixes: + PHA source plot Y axis scaling (#1825) + fix model display for grouped data (#1779, #1784) + Change in the ordering of operations when grouping background PHA datasets. (#1881) - Drop patch numpy125.patch and numpy125-CI.patch: Included upstream. - Skip a misbehaving test. ------------------------------------------------------------------- Thu Sep 7 12:24:59 UTC 2023 - Markéta Machová - Add upstream patches numpy125.patch and numpy125-CI.patch ------------------------------------------------------------------- Mon May 29 13:52:34 UTC 2023 - Dirk Müller - update to 4.15.1: * further improvements to filtering/grouping including reporting a filter change in the UI * fake_pha can be called with a list of ARF/RMF names * added linewidth option for line and histogram plots * documentation changes: * fixed broken URLs * improved documentation for templates, plot_pvalue * added documentation testing with doctestplus * Infrastructure changes: * dropped support for Python 3.8 * experimental support of Python 3.11 * supported versions of Xspec are 12.12.0 - 12.13.0 * bug fixes: * various updates to notice/ignore and group/ungroup code * fixed issue with show_bkg * fixed issue when binning values into a 1D histogram * fixed cache errors with the TableModel class ------------------------------------------------------------------- Fri Jan 20 10:59:30 UTC 2023 - Ben Greiner - 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. ------------------------------------------------------------------- Mon Aug 8 15:24:05 UTC 2022 - Ben Greiner - Sherpa requires a build with setuptools < 60: * Use python3X bundled setuptools instead of distribution package * Enable early skip_python311 because that bundles setuptools 62 ------------------------------------------------------------------- Thu Jun 9 20:00:36 UTC 2022 - Ben Greiner - 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 ------------------------------------------------------------------- Fri Feb 4 17:05:32 UTC 2022 - Ben Greiner - Add sherpa-pr1318-py310tests.patch -- gh#sherpa/sherpa#1318 - Skip two tests failing on non x86_64 due to floating point precision - Disable 32-bit ARM build - Add sherpa-pr1319-distutils-hack.patch -- another attempt for python310 compatibility (gh#sherpa/sherpa#1319) ------------------------------------------------------------------- Fri Dec 3 13:21:21 UTC 2021 - Guillaume GARDET - Update to 4.14.0: * enhancements: - filtering and grouping area for binned (1D) spectral data has been improved with changes to the default behavior and many bug fixes resulting in changes to the statistics, degrees-of-freedom and energy flux in comparison to the previous version for the same data with the same filter. - updates to allow users to change the hard limits of XSPEC model parameters - the sample_flux routine now returns correct information for the clip column * documentation changes: - improved PHA simulation documentation - improved Filtering and grouping of PHA data documentation - added sherpa.image module documentation - added section on running tests to developer docs * Infrastructure Changes: - updates to support Apple ARM - update to support Xspec version 12.12 - update fftw from version 3.3.8 to 3.3.9 - clean up of compiler and sphinx warnings - changes to support gcc 9.3.0 in conda defaults - updates to support python 3.9 including readline 8.1 upgrade, numpy minimum 1.19 (numpy 1.18 minimum for python 3.7/8) - test infrastructure clean up and updates * bug fixes: - updates to fix several 'unable to parse region string: None' errors - fix issue where save_all() of a loaded image with no region filter would fail on reload - fixed issue with plot_model() being called before notice or ignore could lead to filters not getting applied - fix to error out instead of crash when grouping data using an unsupported method - Drop upstream patch: * sherpa-pr1227-astropy43.patch - Refresh patch: * reproducible.patch ------------------------------------------------------------------- Thu Aug 5 19:36:45 UTC 2021 - Ben Greiner - Add sherpa-pr1227-astropy43.patch in order to fix test failure gh#sherpa/sherpa#1227 ------------------------------------------------------------------- Fri Jun 11 09:52:54 UTC 2021 - Guillaume GARDET - Update to 4.13.1: * documentation changes: - updates to documentation for TableModel, Notice2D, cache support for evaluating models, and low level optimization code - jupyter notebook uopdates * Infrastructure Changes: - the master branch has been migrated from master to main - updates to support numpy 1.20 - updates to support astropy 4.2.1 - updates to support matplotlib 3.4 - test infrastructure clean up and updates * bug fixes: - fix an issue with cache evaluation on 1D models using integrated bins - fix for aarch64 build issue - fix to sherpa citation command - fix to honor clearwindow setting for plot_source - fix errors from save_data when the output file exists - fix build issues using gcc 7.3 with -Werror=format-security compilation flag - fix for reg_proj and reg_unc erroring out when the min or max arguments are tuples rather than lists - Drop upstreamed patches: * sherpa-fix-aarch64.patch * sherpa-numpy-1.20.patch * sherpa-mpl-3.4.patch ------------------------------------------------------------------- Sat Apr 24 18:40:06 UTC 2021 - Ben Greiner - Fix python3 flavor multibuild: * Compile bundled libs for every flavor * Fix bundled lib location configuration * Use system fftw3 - Enable tests with matplotlib and astropy - Add sherpa-mpl-3.4.patch for Matplotlib 3.4 gh#sherpa/sherpa#1125 ------------------------------------------------------------------- Wed Feb 17 00:07:40 UTC 2021 - Atri Bhattacharya - Update to version 4.13.0: * A few minor documentation updates. * Version number update to coincide with CIAO version 4.13.0. - Add sherpa-numpy-1.20.patch: Fix test errors with numpy 1.20 [gh#sherpa/sherpa#/1092]; patch committed upstream. - Disable python 3.6 flavour: dependency numpy not supported. ------------------------------------------------------------------- Wed Oct 14 13:39:10 UTC 2020 - Guillaume GARDET - Fix aarch64 build and test: * sherpa-fix-aarch64.patch ------------------------------------------------------------------- Mon Sep 14 09:33:07 UTC 2020 - Atri Bhattacharya - Update to version 4.12.1: - [gh#sherpa/sherpa#832] Support building with NumPy 1.19. - [gh#sherpa/sherpa#781] Docs: fix typo in docstring for calc_kcor. - [gh#sherpa/sherpa#759] Revert the ARF cache added in #444, as well as some of the related code changes, as they caused problems with Analysis in wavelength space (e.g. gh#sherpa/sherpa#746). - [gh#sherpa/sherpa#756] calculate_photon_flux/calculate_energy_flux fix and improvement. - [gh#sherpa/sherpa#747] reworked regrid to eval usr grid, but 0 every where else. - [gh#sherpa/sherpa#745] ensure that min/max limits are applied to linked parameters before use. - [gh#sherpa/sherpa#735] Remove ChIPS support. - [gh#sherpa/sherpa#734] Change datastack query_by_header_keyword to not error if keyword is missing. - [gh#sherpa/sherpa#733] fix a bug with fit(cache=False) passing the runtime option while fitting. - [gh#sherpa/sherpa#732] Remove unused Python 2.7 compatibility code. - [gh#sherpa/sherpa#696] Support python 3.8. - Drop already incorporated patches: * python-sherpa-python3.8.patch. * config_with_build.patch. ------------------------------------------------------------------- Tue May 19 09:28:01 UTC 2020 - Petr Gajdos - %python3_only -> %python_alternative ------------------------------------------------------------------- Thu Mar 12 12:56:22 UTC 2020 - Atri Bhattacharya - Add python-sherpa-python3.8.patch: Fix building with python3.8; taken from upstream commit [gh#sherpa/sherpa#696]. - Disbale bytecode generation when running tests. - Remove hashbangs from non executable files. ------------------------------------------------------------------- Sat Jan 4 20:12:21 UTC 2020 - Bernhard Wiedemann - Add reproducible.patch to disable optimizing for build CPU to make package build reproducible ------------------------------------------------------------------- Tue Jan 8 19:14:59 UTC 2019 - Todd R - initial version - Add config_with_build.patch to make build step work From: https://github.com/sherpa/sherpa/pull/714