1
0
forked from pool/python-sherpa
Commit Graph

42 Commits

Author SHA256 Message Date
Ana Guerrero
603ff0adc1 Accepting request 1147599 from devel:languages:python:numeric
Forwarded request #1147463 from bnavigator

- Skip python312: Requires setuptools < 60 and distutils

OBS-URL: https://build.opensuse.org/request/show/1147599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=19
2024-02-20 20:13:57 +00:00
0cf622083d Accepting request 1147463 from home:bnavigator:branches:devel:languages:python:numeric
- Skip python312: Requires setuptools < 60 and distutils

OBS-URL: https://build.opensuse.org/request/show/1147463
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=38
2024-02-19 14:15:29 +00:00
1019696aa2 We don't need _constraints after all.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=37
2024-01-03 21:40:09 +00:00
c21dedd431 Perhaps not.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=36
2024-01-03 21:26:31 +00:00
898d30b293 - Add _constraints to add memory and disk available for testing.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=35
2024-01-03 19:46:16 +00:00
Ana Guerrero
7fcc21ca5f Accepting request 1133227 from devel:languages:python:numeric
- 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.

OBS-URL: https://build.opensuse.org/request/show/1133227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=18
2023-12-15 20:48:44 +00:00
Steve Kowalik
f50f69dd2d - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=33
2023-12-15 03:58:15 +00:00
Ana Guerrero
66ebaa0d74 Accepting request 1109765 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1109765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=17
2023-09-10 11:10:01 +00:00
d49bf1d729 Accepting request 1109557 from home:mcalabkova:branches:devel:languages:python:numeric
- Add upstream patches numpy125.patch and numpy125-CI.patch

OBS-URL: https://build.opensuse.org/request/show/1109557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=31
2023-09-08 17:10:57 +00:00
Dominique Leuenberger
8a95e0eb93 Accepting request 1089585 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1089585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=16
2023-05-30 20:02:12 +00:00
79996de9c9 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=29
2023-05-29 14:13:39 +00:00
Dominique Leuenberger
e5206e31b5 Accepting request 1060053 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1060053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=15
2023-01-21 18:11:17 +00:00
f06ed7f1b8 Accepting request 1059941 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1059941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=27
2023-01-20 22:42:00 +00:00
Dominique Leuenberger
2403224e1f Accepting request 995127 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/995127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=14
2022-08-16 15:07:02 +00:00
6951b439d9 Accepting request 993811 from home:bnavigator:branches:devel:languages:python:numeric
- Sherpa requires a build with setuptools < 60:
  * Use python3X bundled setuptools instead of distribution package
  * Enable early skip_python311 because that bundles setuptools 62

OBS-URL: https://build.opensuse.org/request/show/993811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=25
2022-08-15 07:21:58 +00:00
Dominique Leuenberger
d0305603b7 Accepting request 982377 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/982377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=13
2022-06-14 22:31:55 +00:00
6273b367ad Accepting request 981947 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/981947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=23
2022-06-13 08:29:00 +00:00
Dominique Leuenberger
e635a6f41a Accepting request 952081 from devel:languages:python:numeric
- 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)

OBS-URL: https://build.opensuse.org/request/show/952081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=12
2022-02-07 22:38:13 +00:00
10e1774ca2 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=22
2022-02-07 09:22:44 +00:00
902ac9b232 Accepting request 951639 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/951639
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=21
2022-02-06 07:07:42 +00:00
Dominique Leuenberger
ab152915d1 Accepting request 935928 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/935928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=11
2021-12-06 22:59:56 +00:00
7ec0f4a8b5 Accepting request 935920 from home:Guillaume_G:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/935920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=20
2021-12-06 08:40:46 +00:00
Dominique Leuenberger
f476be3318 Accepting request 910430 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/910430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=10
2021-08-06 20:44:50 +00:00
80d61407f3 Accepting request 910375 from home:bnavigator:astropy
- Add sherpa-pr1227-astropy43.patch in order to fix test failure
  gh#sherpa/sherpa#1227

OBS-URL: https://build.opensuse.org/request/show/910375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=19
2021-08-06 06:28:57 +00:00
Dominique Leuenberger
b20946ac29 Accepting request 899444 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/899444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=9
2021-06-11 20:30:48 +00:00
e6b2dc634a Accepting request 899441 from home:Guillaume_G:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/899441
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=17
2021-06-11 10:23:51 +00:00
Dominique Leuenberger
b40171e0be Accepting request 888258 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/888258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=8
2021-04-25 19:27:20 +00:00
f2cfdec32b Accepting request 888253 from home:bnavigator:branches:devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/888253
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=15
2021-04-24 20:33:16 +00:00
Dominique Leuenberger
ba8c84b5c1 Accepting request 873034 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/873034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=7
2021-02-17 17:12:34 +00:00
14bc0b2cc6 Accepting request 873000 from home:badshah400:branches:devel:languages:python:numeric
* Update to 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.

OBS-URL: https://build.opensuse.org/request/show/873000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=13
2021-02-17 08:51:12 +00:00
Dominique Leuenberger
a2e2b9a0e3 Accepting request 841871 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/841871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=6
2020-10-15 11:51:17 +00:00
Tomáš Chvátal
2e12bdc119 Accepting request 841790 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix aarch64 build and test:
  * sherpa-fix-aarch64.patch

OBS-URL: https://build.opensuse.org/request/show/841790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=11
2020-10-15 08:08:32 +00:00
Dominique Leuenberger
969376c5c6 Accepting request 834270 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/834270
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=5
2020-09-15 14:27:53 +00:00
Tomáš Chvátal
9af53e5796 Accepting request 834267 from home:badshah400:branches:devel:languages:python:numeric
- Update to version 4.12.1.
- Drop already incorporated patches:
  * python-sherpa-python3.8.patch.
  * config_with_build.patch.

OBS-URL: https://build.opensuse.org/request/show/834267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=9
2020-09-14 10:12:53 +00:00
Dominique Leuenberger
7eb9c82140 Accepting request 807290 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/807290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=4
2020-05-19 12:59:12 +00:00
Tomáš Chvátal
18219ebf9c Accepting request 807247 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807247
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=7
2020-05-19 12:14:25 +00:00
Dominique Leuenberger
bf66c7bfcb Accepting request 784359 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/784359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=3
2020-03-12 22:09:24 +00:00
Tomáš Chvátal
a9249c5ebb Accepting request 784357 from home:badshah400:branches:devel:languages:python:numeric
- 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.

OBS-URL: https://build.opensuse.org/request/show/784357
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=5
2020-03-12 15:40:02 +00:00
Dominique Leuenberger
a84ca1a1bc Accepting request 760916 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/760916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=2
2020-01-05 14:22:09 +00:00
Tomáš Chvátal
edbc2bdf07 Accepting request 760838 from home:bmwiedemann:branches:devel:languages:python:numeric
Add reproducible.patch to disable optimizing for build CPU to make package build reproducible

OBS-URL: https://build.opensuse.org/request/show/760838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=3
2020-01-05 07:53:45 +00:00
Dominique Leuenberger
afae7db087 Accepting request 755354 from devel:languages:python:numeric
Modeling and fitting package for scientific data analysis

OBS-URL: https://build.opensuse.org/request/show/755354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sherpa?expand=0&rev=1
2019-12-27 12:43:54 +00:00
Todd R
58ba0f8406 Accepting request 755353 from home:TheBlackCat:branches:devel:languages:python:numeric
Modeling and fitting package for scientific data analysis

OBS-URL: https://build.opensuse.org/request/show/755353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-sherpa?expand=0&rev=1
2019-12-09 18:49:08 +00:00