commit python-iminuit for openSUSE:Factory

2024-08-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2024-08-02 17:27:26

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.7232 (New)


Package is "python-iminuit"

Fri Aug  2 17:27:26 2024 rev:33 rq:1191177 version:2.28.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2024-03-19 17:31:13.601415469 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.7232/python-iminuit.changes  
2024-08-02 17:28:08.631300180 +0200
@@ -1,0 +2,11 @@
+Fri Aug  2 08:58:44 UTC 2024 - Atri Bhattacharya 
+
+- Update to version 2.28.0:
+  * drop support for python-3.8 (gh#scikit-hep/iminuit#1015).
+  * Fix LeastSquares for functions with more than two arguments
+(gh#scikit-hep/iminuit#1016).
+  * Add name argument to all cost functions
+(gh#scikit-hep/iminuit#1017).
+- Bump minimum required python-devel to 3.9.
+
+---

Old:

  iminuit-2.25.2.tar.gz

New:

  iminuit-2.28.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.MPUAsu/_old  2024-08-02 17:28:09.151321629 +0200
+++ /var/tmp/diff_new_pack.MPUAsu/_new  2024-08-02 17:28:09.151321629 +0200
@@ -18,14 +18,14 @@
 
 %{?sle15_python_module_pythons}
 Name:   python-iminuit
-Version:2.25.2
+Version:2.28.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
 Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/iminuit-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module devel >= 3.7}
+BuildRequires:  %{python_module devel >= 3.9}
 BuildRequires:  %{python_module numpy >= 1.21.0}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module pip}

++ iminuit-2.25.2.tar.gz -> iminuit-2.28.0.tar.gz ++
 5201 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2024-03-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2024-03-19 17:31:11

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1905 (New)


Package is "python-iminuit"

Tue Mar 19 17:31:11 2024 rev:32 rq:1159084 version:2.25.2

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2024-02-20 21:16:00.745645488 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1905/python-iminuit.changes  
2024-03-19 17:31:13.601415469 +0100
@@ -1,0 +2,8 @@
+Fri Mar 15 19:54:51 UTC 2024 - Ben Greiner 
+
+- Skip testing with ipywidgets on python39: no longer supported
+  since ipython 8.19
+- Clean dependencies
+- Drop rpmlintrc
+
+---

Old:

  python-iminuit.rpmlintrc



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.4a6Bpz/_old  2024-03-19 17:31:14.245439079 +0100
+++ /var/tmp/diff_new_pack.4a6Bpz/_new  2024-03-19 17:31:14.249439226 +0100
@@ -16,26 +16,22 @@
 #
 
 
-%define modname iminuit
 %{?sle15_python_module_pythons}
-Name:   python-%{modname}
+Name:   python-iminuit
 Version:2.25.2
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
-Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
-Source1:python-iminuit.rpmlintrc
+Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/iminuit-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module numpy >= 1.21.0}
 BuildRequires:  %{python_module numpy-devel}
-BuildRequires:  %{python_module pathspec}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pybind11 >= 2.9.0}
 BuildRequires:  %{python_module pybind11-devel}
-BuildRequires:  %{python_module pyproject-metadata}
-BuildRequires:  %{python_module scikit-build-core >= 0.3.0}
+BuildRequires:  %{python_module scikit-build-core-pyproject >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  cmake >= 3.13
@@ -46,14 +42,12 @@
 Recommends: python-matplotlib
 Recommends: python-scipy
 # SECTION test requirements
-BuildRequires:  %{python_module ipywidgets}
+BuildRequires:  %{python_module ipywidgets if %python-base >= 3.10}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module numba}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module tabulate}
-# Fix unresolved status for Leap 15.x on account of multiple choices for 
python3-importlib-metadata (python3-importlib-metadata and 
python3-importlib_metadata)
-BuildRequires:  %{python_module importlib-metadata}
 # /SECTION
 %python_subpackages
 
@@ -65,7 +59,7 @@
 and to get model parameter error estimates from likelihood profile analysis.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n iminuit-%{version}
 # We use external pybind11, just to be sure remove bundled pybind11 entirely
 rm -fr extern/pybind11
 
@@ -76,7 +70,11 @@
 
 %install
 %pyproject_install
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%{python_expand # remove empty file and dedup
+f=%{buildroot}%{$python_sitearch}/iminuit-%{version}.dist-info/entry_points.txt
+[ -f $f -a ! -s $f  ] && rm $f
+%fdupes %{buildroot}%{$python_sitearch}
+}
 
 %check
 %pytest_arch
@@ -84,6 +82,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/%{modname}/
-%{python_sitearch}/%{modname}-%{version}*.*-info/
+%{python_sitearch}/iminuit/
+%{python_sitearch}/iminuit-%{version}.dist-info/
 


commit python-iminuit for openSUSE:Factory

2024-02-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2024-02-20 21:15:35

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1706 (New)


Package is "python-iminuit"

Tue Feb 20 21:15:35 2024 rev:31 rq:1147944 version:2.25.2

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-09-08 21:16:37.176783464 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1706/python-iminuit.changes  
2024-02-20 21:16:00.745645488 +0100
@@ -1,0 +2,27 @@
+Tue Feb 20 10:43:12 UTC 2024 - Atri Bhattacharya 
+
+- Update to version 2.25.2:
+  * update to latest root (gh#scikit-hep/iminuit#970).
+- Changes from version 2.25.1:
+  * improve docs for make_with_signature
+(gh#scikit-hep/iminuit#963).
+  * Update benchmark to ROOT-6.30 (gh#scikit-hep/iminuit#967).
+  * fix LeastSquares.visualize for models that accept parameter
+array (gh#scikit-hep/iminuit#968).
+- Changes from version 2.25.0:
+  * Some updates to the Ruff config (gh#scikit-hep/iminuit#933).
+  * Add extra config to pytest (gh#scikit-hep/iminuit#932).
+  * Cost gradient support (gh#scikit-hep/iminuit#936).
+  * Warn on errordef override (gh#scikit-hep/iminuit#937).
+  * fix: include debug info on failures
+(gh#scikit-hep/iminuit#946).
+  * Benchmark update to ROOT 6.30 (gh#scikit-hep/iminuit#951).
+  * Fix use of removed array rules in test
+(gh#scikit-hep/iminuit#952).
+  * Fix docstring parsing (gh#scikit-hep/iminuit#953).
+  * fix test that requires scipy and raise error on invalid value
+for use_pdf (gh#scikit-hep/iminuit#962).
+  * Approximate CDF from PDF (gh#scikit-hep/iminuit#950).
+- Do not disable any tests, fixed upstream.
+
+---

Old:

  iminuit-2.24.0.tar.gz

New:

  iminuit-2.25.2.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.42Lj5P/_old  2024-02-20 21:16:01.349667398 +0100
+++ /var/tmp/diff_new_pack.42Lj5P/_new  2024-02-20 21:16:01.349667398 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-iminuit
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define modname iminuit
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:2.24.0
+Version:2.25.2
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -79,13 +79,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-# https://github.com/scikit-hep/iminuit/issues/940
-donttest="((test_bad_function or test_disp) and minimize)"
-# A tolerance issue on 32-bit
-%ifarch %ix86
-donttest+=" or test_matrix"
-%endif
-%pytest_arch -k "not ($donttest)"
+%pytest_arch
 
 %files %{python_files}
 %doc README.rst

++ iminuit-2.24.0.tar.gz -> iminuit-2.25.2.tar.gz ++
 40232 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2023-09-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-09-08 21:15:44

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1766 (New)


Package is "python-iminuit"

Fri Sep  8 21:15:44 2023 rev:30 rq:1109631 version:2.24.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-07-03 17:41:57.608427054 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1766/python-iminuit.changes  
2023-09-08 21:16:37.176783464 +0200
@@ -1,0 +2,10 @@
+Thu Sep  7 08:27:08 UTC 2023 - Markéta Machová 
+
+- Update to 2.24.0
+  * Fix CostSum.visualize bug
+  * Fix _safe_log on systems which use 32 bit floats
+  * Iteration limit in smart sampling to fix behavior for step functions 
+  * Clarify meaning of 2d contours in minuit.draw_mnmatrix
+  * Support interval type and check compatibility with pydantic 
+
+---

Old:

  iminuit-2.22.0.tar.gz

New:

  iminuit-2.24.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.y27wiE/_old  2023-09-08 21:16:38.316824208 +0200
+++ /var/tmp/diff_new_pack.y27wiE/_new  2023-09-08 21:16:38.320824351 +0200
@@ -19,7 +19,7 @@
 %define modname iminuit
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:2.22.0
+Version:2.24.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -79,12 +79,13 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
+# https://github.com/scikit-hep/iminuit/issues/940
+donttest="((test_bad_function or test_disp) and minimize)"
 # A tolerance issue on 32-bit
 %ifarch %ix86
-%pytest_arch -k 'not test_matrix'
-%else
-%pytest_arch
+donttest+=" or test_matrix"
 %endif
+%pytest_arch -k "not ($donttest)"
 
 %files %{python_files}
 %doc README.rst

++ iminuit-2.22.0.tar.gz -> iminuit-2.24.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.22.0/.github/workflows/release.yml 
new/iminuit-2.24.0/.github/workflows/release.yml
--- old/iminuit-2.22.0/.github/workflows/release.yml2022-11-09 
13:37:21.0 +0100
+++ new/iminuit-2.24.0/.github/workflows/release.yml2022-11-09 
13:37:21.0 +0100
@@ -63,7 +63,7 @@
   - if: ${{ matrix.arch == 'aarch64' }}
 uses: docker/setup-qemu-action@v2
 
-  - uses: pypa/cibuildwheel@v2.13.0
+  - uses: pypa/cibuildwheel@v2.14.1
 env:
   CIBW_BUILD: ${{ matrix.py }}-*
   CIBW_ARCHS: ${{ matrix.arch }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.22.0/.pre-commit-config.yaml 
new/iminuit-2.24.0/.pre-commit-config.yaml
--- old/iminuit-2.22.0/.pre-commit-config.yaml  2022-11-09 13:37:21.0 
+0100
+++ new/iminuit-2.24.0/.pre-commit-config.yaml  2022-11-09 13:37:21.0 
+0100
@@ -33,14 +33,14 @@
 exclude: ^doc/_static/.*.svg
 
 # Python formatting
-- repo: https://github.com/psf/black
-  rev: 23.3.0
+- repo: https://github.com/psf/black-pre-commit-mirror
+  rev: 23.7.0
   hooks:
   - id: black
 
 # Ruff linter, replacement for flake8, pydocstyle, isort
-- repo: https://github.com/charliermarsh/ruff-pre-commit
-  rev: 'v0.0.272'
+- repo: https://github.com/astral-sh/ruff-pre-commit
+  rev: 'v0.0.284'
   hooks:
 - id: ruff
   args: [--fix, --exit-non-zero-on-fix]
@@ -62,7 +62,7 @@
 
 # Python type checking
 - repo: https://github.com/pre-commit/mirrors-mypy
-  rev: 'v1.3.0'
+  rev: 'v1.5.0'
   hooks:
   - id: mypy
 additional_dependencies: [numpy]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.22.0/.readthedocs.yaml 
new/iminuit-2.24.0/.readthedocs.yaml
--- old/iminuit-2.22.0/.readthedocs.yaml2022-11-09 13:37:21.0 
+0100
+++ new/iminuit-2.24.0/.readthedocs.yaml2022-11-09 13:37:21.0 
+0100
@@ -12,7 +12,7 @@
 build:
   os: ubuntu-22.04
   tools:
-python: "3.10"
+python: "3.9"
 
 python:
   install:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.22.0/PKG-INFO new/iminuit-2.24.0/PKG-INFO
--- old/iminuit-2.22.0/PKG-INFO 2022-11-09 13:37:21.0 +0100
+++ new/iminuit-2.24.0/PKG-INFO 2022-11-09 13:37:21.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.22.0
+Version: 2.24.0
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Maintainer: Hans Dembinski
 Maintainer-Email: Unknown 
@@ -77,6 +77,8 @@
 Requires-Dist: boo

commit python-iminuit for openSUSE:Factory

2023-07-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-07-03 17:41:57

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.13546 (New)


Package is "python-iminuit"

Mon Jul  3 17:41:57 2023 rev:29 rq:1096206 version:2.22.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-06-21 22:40:27.450587230 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.13546/python-iminuit.changes 
2023-07-03 17:41:57.608427054 +0200
@@ -1,0 +2,48 @@
+Fri Jun 30 18:24:19 UTC 2023 - Atri Bhattacharya 
+
+- Update to version 2.22.0:
+  * add basic latex display support if unicodeit is installed
+[gh#scikit-help/iminuit#858].
+  * replace flake8 with ruff [gh#scikit-help/iminuit#859].
+  * Integer as variable [gh#scikit-help/iminuit#860].
+  * experimental mncontour algorithm [gh#scikit-help/iminuit#861].
+  * improve error message for cost function
+[gh#scikit-help/iminuit#863].
+  * Add RooFit tutorial [gh#scikit-help/iminuit#867].
+  * Use unicodeitplus instead of unicodeit to render LaTeX as
+unicode [gh#scikit-help/iminuit#868].
+  * Better ruff settings and adjustments, improvements to README
+[gh#scikit-help/iminuit#871].
+  * Update Progressbar [gh#scikit-help/iminuit#872].
+  * Add hide_modules and deprecated_parameters
+[gh#scikit-help/iminuit#873].
+  * Forward kwargs in Minuit.visualize to plotting function
+[gh#scikit-help/iminuit#874].
+  * Ignore missing matplotlib when calling Minuit.repr_html()
+[gh#scikit-help/iminuit#875].
+  * Rename keyword nbins to bins in UnbinnedCost.visualize
+[gh#scikit-help/iminuit#876].
+  * Roofit tutorials [gh#scikit-help/iminuit#877].
+  * better log-spacing detection [gh#scikit-help/iminuit#878].
+  * Add LeastSquares.pulls and LeastSquares.prediction
+[gh#scikit-help/iminuit#880].
+  * fix-typo-in-basic [gh#scikit-help/iminuit#888].
+  * Update fcn.hpp [gh#scikit-help/iminuit#889].
+  * Improve docs [gh#scikit-help/iminuit#890].
+  * Make covariance fields in display easier to understand
+[gh#scikit-help/iminuit#891].
+  * New benchmarks [gh#scikit-help/iminuit#893].
+  * Add Minuit.fixto [gh#scikit-help/iminuit#894].
+  * fix: make nograd not use grad at all in automatic diff doc
+[gh#scikit-help/iminuit#895].
+  * Use scikit-build-core [gh#scikit-help/iminuit#812].
+  * Update conclusions after the fix from Jonas
+[gh#scikit-help/iminuit#899].
+  * Hide confusing notes in docs: "Not to be initialized by
+users." [gh#scikit-help/iminuit#906].
+- Drop missing-headers.patch: Incorporated upstream.
+- Add BuildRequires: python-scikit-build-core > 0.3.0.
+- Add %{name}.rpmlintc to suppress a false positive about a
+  missing python module (only required for python < 3.9).
+
+---

Old:

  iminuit-2.21.3.tar.gz
  missing-headers.patch

New:

  iminuit-2.22.0.tar.gz
  python-iminuit.rpmlintrc



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.UtOeEk/_old  2023-07-03 17:41:58.972435084 +0200
+++ /var/tmp/diff_new_pack.UtOeEk/_new  2023-07-03 17:41:59.004435273 +0200
@@ -19,20 +19,25 @@
 %define modname iminuit
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
-Version:2.21.3
+Version:2.22.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
 Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
-Patch0: missing-headers.patch
+Source1:python-iminuit.rpmlintrc
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module numpy >= 1.21.0}
 BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module pathspec}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pybind11 >= 2.9.0}
 BuildRequires:  %{python_module pybind11-devel}
+BuildRequires:  %{python_module pyproject-metadata}
+BuildRequires:  %{python_module scikit-build-core >= 0.3.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -41,12 +46,12 @@
 Recommends: python-matplotlib
 Recommends: python-scipy
 # SECTION test requirements
+BuildRequires:  %{python_module ipywidgets}
 BuildRequires:  %{python_module matplotlib}
 BuildRequires:  %{python_module numba}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy}

commit python-iminuit for openSUSE:Factory

2023-06-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-06-21 22:39:22

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.15902 (New)


Package is "python-iminuit"

Wed Jun 21 22:39:22 2023 rev:28 rq:1094232 version:2.21.3

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-05-30 22:02:31.507039541 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.15902/python-iminuit.changes 
2023-06-21 22:40:27.450587230 +0200
@@ -1,0 +2,7 @@
+Tue Jun 20 14:15:27 UTC 2023 - Andreas Schwab 
+
+- missing-headers.patch: add missing headers
+- Use the default compiler
+- Build with %{optflags}
+
+---

New:

  missing-headers.patch



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.pxMQpc/_old  2023-06-21 22:40:28.574593995 +0200
+++ /var/tmp/diff_new_pack.pxMQpc/_new  2023-06-21 22:40:28.578594019 +0200
@@ -16,10 +16,6 @@
 #
 
 
-%if 0%{?suse_version} >= 1550
-%define gccver 12
-%endif
-
 %define modname iminuit
 %{?sle15_python_module_pythons}
 Name:   python-%{modname}
@@ -29,6 +25,7 @@
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
 Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
+Patch0: missing-headers.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module numpy >= 1.21.0}
@@ -38,7 +35,7 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
-BuildRequires:  gcc%{?gccver}-c++
+BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
 Requires:   python-numpy >= 1.21.0
 Recommends: python-matplotlib
@@ -64,13 +61,13 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+%patch0 -p1
 # We use external pybind11, just to be sure remove bundled pybind11 entirely
 rm -fr extern/pybind11
 
 %build
-export CXX=g++%{?gccver:-%gccver}
-export CFLAGS="%{optflags}"
-export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON"
+export CXXFLAGS="%{optflags}"
+export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON -DCMAKE_VERBOSE_MAKEFILE=ON"
 %python_build
 
 %install

++ missing-headers.patch ++
Index: iminuit-2.21.3/src/fcn.hpp
===
--- iminuit-2.21.3.orig/src/fcn.hpp
+++ iminuit-2.21.3/src/fcn.hpp
@@ -1,6 +1,7 @@
 #include 
 #include 
 #include 
+#include 
 
 namespace py = pybind11;
 


commit python-iminuit for openSUSE:Factory

2023-05-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-05-30 22:02:16

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1533 (New)


Package is "python-iminuit"

Tue May 30 22:02:16 2023 rev:27 rq:1089587 version:2.21.3

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-05-05 15:58:25.496476952 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1533/python-iminuit.changes  
2023-05-30 22:02:31.507039541 +0200
@@ -1,0 +2,5 @@
+Mon May 29 14:28:55 UTC 2023 - Dirk Müller 
+
+- renenable build for python311 (numba available) 
+
+---



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.6rhtwQ/_old  2023-05-30 22:02:31.947042134 +0200
+++ /var/tmp/diff_new_pack.6rhtwQ/_new  2023-05-30 22:02:31.947042134 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-iminuit
+# spec file
 #
 # Copyright (c) 2023 SUSE LLC
 #
@@ -16,19 +16,12 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Python2 support dropped since version 1.4.0
-%define skip_python2 1
-%define skip_python36 1
-# No numba for python311
-%define skip_python311 1
-
-# Build fails with GCC 13, use GCC 12.x for openSUSE >= 1550
 %if 0%{?suse_version} >= 1550
 %define gccver 12
 %endif
 
 %define modname iminuit
+%{?sle15_python_module_pythons}
 Name:   python-%{modname}
 Version:2.21.3
 Release:0


commit python-iminuit for openSUSE:Factory

2023-05-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-05-05 15:58:04

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1533 (New)


Package is "python-iminuit"

Fri May  5 15:58:04 2023 rev:26 rq:1084804 version:2.21.3

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-03-27 18:15:46.826948361 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1533/python-iminuit.changes  
2023-05-05 15:58:25.496476952 +0200
@@ -1,0 +2,11 @@
+Thu May  4 15:37:09 UTC 2023 - Atri Bhattacharya 
+
+- Update to version 2.21.3:
+  * Better docs for limits from annotated model parameters
+(gh#scikit-hep/scikit-hep-testdata#853).
+  * Bump pypa/cibuildwheel from 2.12.0 to 2.12.1
+(gh#scikit-hep/scikit-hep-testdata#855).
+  * fix template input modification bug in Template class
+(gh#scikit-hep/scikit-hep-testdata#856).
+
+---

Old:

  iminuit-2.21.2.tar.gz

New:

  iminuit-2.21.3.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.WbBP4X/_old  2023-05-05 15:58:25.944479518 +0200
+++ /var/tmp/diff_new_pack.WbBP4X/_new  2023-05-05 15:58:25.944479518 +0200
@@ -30,7 +30,7 @@
 
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.21.2
+Version:2.21.3
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.21.2.tar.gz -> iminuit-2.21.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.21.2/PKG-INFO new/iminuit-2.21.3/PKG-INFO
--- old/iminuit-2.21.2/PKG-INFO 2023-03-19 11:07:59.110663700 +0100
+++ new/iminuit-2.21.3/PKG-INFO 2023-04-03 13:36:03.895256000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.21.2
+Version: 2.21.3
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Maintainer: Hans Dembinski
 Maintainer-email: hans.dembin...@gmail.com
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.21.2/pyproject.toml 
new/iminuit-2.21.3/pyproject.toml
--- old/iminuit-2.21.2/pyproject.toml   2023-03-19 11:07:25.0 +0100
+++ new/iminuit-2.21.3/pyproject.toml   2023-04-03 13:35:26.0 +0200
@@ -8,7 +8,7 @@
 [project]
 name = "iminuit"
 description = "Jupyter-friendly Python frontend for MINUIT2 in C++"
-version = "2.21.2"
+version = "2.21.3"
 maintainers = [
 { name = "Hans Dembinski" },
 { email = "hans.dembin...@gmail.com" },
@@ -50,6 +50,7 @@
 "coverage",
 "cython",
 "ipywidgets",
+"ipykernel",  # needed by ipywidgets 8.0.6
 "joblib",
 "jacobi",
 "matplotlib",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.21.2/src/iminuit/cost.py 
new/iminuit-2.21.3/src/iminuit/cost.py
--- old/iminuit-2.21.2/src/iminuit/cost.py  2023-03-19 11:07:25.0 
+0100
+++ new/iminuit-2.21.3/src/iminuit/cost.py  2023-04-03 13:35:26.0 
+0200
@@ -38,6 +38,19 @@
 each data set. Gaussian penalty terms can also be added to the cost function 
to introduce
 external knowledge about a parameter.
 
+Model parameter limits
+--
+The Minuit algorithms support box constrains in parameter space. A 
user-defined model can
+declare that a parameter is only valid over an interval on the real line with 
the
+``Annotated`` type annotation, see :class:`iminuit.Minuit` for details. A 
typical example
+is the sigma parameter of a normal distribution, which must be positive. The 
cost
+functions defined here propagate this information to :class:`iminuit.Minuit`.
+
+Note: The :class:`Template` declares that the template amplitudes must be 
non-negative,
+which is usually the right choice, however, it may be desirable to fit 
templates which can
+have negative amplitudes. To achieve this, simply reset the limits with
+:attr:`iminuit.Minuit.limits` after creating the Minuit instance.
+
 Notes
 -
 The cost functions defined here have been optimized with knowledge about 
implementation
@@ -1259,12 +1272,12 @@
 # template is weighted
 if tt.ndim != ndim + 1 or tt.shape[:-1] != shape:
 raise ValueError("shapes of n and templates do not 
match")
-t1 = tt[..., 0]
-t2 = tt[..., 1]
+t1 = tt[..., 0].copy()
+t2 = tt[..., 1].copy()
 else:
 if tt.ndim != ndim or tt.shape != shape:

commit python-iminuit for openSUSE:Factory

2023-03-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-03-27 18:15:44

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.31432 (New)


Package is "python-iminuit"

Mon Mar 27 18:15:44 2023 rev:25 rq:1074484 version:2.21.2

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2023-01-07 17:23:19.879450638 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.31432/python-iminuit.changes 
2023-03-27 18:15:46.826948361 +0200
@@ -1,0 +2,22 @@
+Fri Mar 24 14:45:33 UTC 2023 - Atri Bhattacharya 
+
+- Update to version 2.21.2:
+  * Fix CITATION.CFF.
+- Changes from version 2.21.1:
+  * Fix string annotations (gh#scikit-hep/iminuit#849).
+  * Specifiy minimum required numpy version
+(gh#scikit-hep/iminuit#848).
+- Changes from version 2.21.0:
+  * Fix of matrix_format (gh#scikit-hep/iminuit#843).
+  * Support annotated model parameters
+(gh#scikit-hep/iminuit#839).
+  * Visualize fit in minuit._repr_html_
+(gh#scikit-hep/iminuit#838).
+- Disable builds for python 3.11 as python311-numba is missing.
+- Use GCC 12 for openSUSE >= 1550 as GCC 13 (now the default)
+  causes build failures.
+- Update minimum version for (Build)Requires: python-numpy in
+  keeping with upstream.
+- New BuildRequires: python-typing_extensions (for tests).
+
+---

Old:

  iminuit-2.18.0.tar.gz

New:

  iminuit-2.21.2.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.U3dJ82/_old  2023-03-27 18:15:47.418951485 +0200
+++ /var/tmp/diff_new_pack.U3dJ82/_new  2023-03-27 18:15:47.422951505 +0200
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for package python-iminuit
 #
 # Copyright (c) 2023 SUSE LLC
 #
@@ -20,9 +20,17 @@
 # Python2 support dropped since version 1.4.0
 %define skip_python2 1
 %define skip_python36 1
+# No numba for python311
+%define skip_python311 1
+
+# Build fails with GCC 13, use GCC 12.x for openSUSE >= 1550
+%if 0%{?suse_version} >= 1550
+%define gccver 12
+%endif
+
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.18.0
+Version:2.21.2
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -30,16 +38,16 @@
 Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel >= 3.7}
-BuildRequires:  %{python_module numpy >= 1.11.3}
+BuildRequires:  %{python_module numpy >= 1.21.0}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module pybind11 >= 2.9.0}
 BuildRequires:  %{python_module pybind11-devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
-BuildRequires:  gcc-c++
+BuildRequires:  gcc%{?gccver}-c++
 BuildRequires:  python-rpm-macros
-Requires:   python-numpy >= 1.11.3
+Requires:   python-numpy >= 1.21.0
 Recommends: python-matplotlib
 Recommends: python-scipy
 # SECTION test requirements
@@ -48,6 +56,7 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy}
 BuildRequires:  %{python_module tabulate}
+BuildRequires:  %{python_module typing_extensions}
 # Fix unresolved status for Leap 15.x on account of multiple choices for 
python3-importlib-metadata (python3-importlib-metadata and 
python3-importlib_metadata)
 BuildRequires:  %{python_module importlib-metadata}
 # /SECTION
@@ -66,6 +75,7 @@
 rm -fr extern/pybind11
 
 %build
+export CXX=g++%{?gccver:-%gccver}
 export CFLAGS="%{optflags}"
 export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON"
 %python_build

++ iminuit-2.18.0.tar.gz -> iminuit-2.21.2.tar.gz ++
 3982 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2023-01-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2023-01-07 17:19:58

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1563 (New)


Package is "python-iminuit"

Sat Jan  7 17:19:58 2023 rev:24 rq:1056767 version:2.18.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-08-18 16:49:39.361514200 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1563/python-iminuit.changes  
2023-01-07 17:23:19.879450638 +0100
@@ -1,0 +2,12 @@
+Sat Jan  7 12:22:22 UTC 2023 - Dirk Müller 
+
+- update to v2.18.0:
+  * Bump actions/checkout from 2 to 3
+  * ci: update to Python 3.11 final release
+  * move tutorials
+  * added visualize function to Minuit
+  * Bump pypa/cibuildwheel from 2.10.2 to 2.11.2
+  * add more checks for gradients
+  * Add Python 3.11, drop 3.6
+
+---

Old:

  iminuit-2.16.0.tar.gz

New:

  iminuit-2.18.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.OhamsZ/_old  2023-01-07 17:23:20.403453764 +0100
+++ /var/tmp/diff_new_pack.OhamsZ/_new  2023-01-07 17:23:20.407453788 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-iminuit
+# spec file
 #
-# 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
@@ -22,14 +22,14 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.16.0
+Version:2.18.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
 Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.7}
 BuildRequires:  %{python_module numpy >= 1.11.3}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module pybind11 >= 2.9.0}

++ iminuit-2.16.0.tar.gz -> iminuit-2.18.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.16.0/CONTRIBUTING.md 
new/iminuit-2.18.0/CONTRIBUTING.md
--- old/iminuit-2.16.0/CONTRIBUTING.md  2022-08-16 18:02:13.0 +0200
+++ new/iminuit-2.18.0/CONTRIBUTING.md  2022-12-14 11:10:58.0 +0100
@@ -1,3 +1 @@
 See doc/contribute.rst in this repository or its [html 
version](https://iminuit.readthedocs.io/en/latest/contribute.html).
-
-The wheel building system comes from 
[scikit-hep/azure-wheel-helpers](https://github.com/scikit-hep/azure-wheel-helpers),
 see that first if you need to update the wheel build system (for a new Python 
version, for example).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.16.0/PKG-INFO new/iminuit-2.18.0/PKG-INFO
--- old/iminuit-2.16.0/PKG-INFO 2022-08-16 18:02:43.544662700 +0200
+++ new/iminuit-2.18.0/PKG-INFO 2022-12-14 11:11:30.62568 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.16.0
+Version: 2.18.0
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
@@ -19,11 +19,11 @@
 Classifier: Programming Language :: C++
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: 3 :: Only
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -34,7 +34,7 @@
 Classifier: Operating System :: POSIX
 Classifier: Operating System :: Unix
 Classifier: Operating System :: MacOS
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 Provides-Extra: test
 Provides-Extra: doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.16.0/pyproject.toml 
new/iminuit-2.18.0/pyproject.toml
--- old/iminuit-2.16.0/pyproject.toml   2022-08-16 18:02:13.0 +0200
+++ new/iminuit-2.18.0/pyproject.toml   2

commit python-iminuit for openSUSE:Factory

2022-08-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-08-18 16:49:21

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.2083 (New)


Package is "python-iminuit"

Thu Aug 18 16:49:21 2022 rev:23 rq:997679 version:2.16.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-07-13 13:46:10.478098780 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.2083/python-iminuit.changes  
2022-08-18 16:49:39.361514200 +0200
@@ -1,0 +2,15 @@
+Wed Aug 17 21:43:27 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.16.0:
+  * Make FixedView act as mask for other views
+[gh#scikit-hep/iminuit#781].
+  * Fix typing issues and enable mypy in pre-commit
+[gh#scikit-hep/iminuit#783].
+  * Comparison with broadcast [gh#scikit-hep/iminuit#784].
+  * Fix corner case treatment of linear constraint
+[gh#scikit-hep/iminuit#785].
+  * Root update [gh#scikit-hep/iminuit#786].
+- Disable 'test_matrix' test in the check section for 32-bit as
+  the test fails for these archs due to a tolerance issue.
+
+---

Old:

  iminuit-2.12.1.tar.gz

New:

  iminuit-2.16.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.wmdgKd/_old  2022-08-18 16:49:39.977515635 +0200
+++ /var/tmp/diff_new_pack.wmdgKd/_new  2022-08-18 16:49:39.981515644 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.12.1
+Version:2.16.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -43,7 +43,11 @@
 Recommends: python-matplotlib
 Recommends: python-scipy
 # SECTION test requirements
+BuildRequires:  %{python_module matplotlib}
+BuildRequires:  %{python_module numba}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scipy}
+BuildRequires:  %{python_module tabulate}
 # Fix unresolved status for Leap 15.x on account of multiple choices for 
python3-importlib-metadata (python3-importlib-metadata and 
python3-importlib_metadata)
 BuildRequires:  %{python_module importlib-metadata}
 # /SECTION
@@ -71,7 +75,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
+# A tolerance issue on 32-bit
+%ifarch %ix86
+%pytest_arch -k 'not test_matrix'
+%else
 %pytest_arch
+%endif
 
 %files %{python_files}
 %doc README.rst

++ iminuit-2.12.1.tar.gz -> iminuit-2.16.0.tar.gz ++
 3678 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2022-07-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-07-13 13:45:44

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1523 (New)


Package is "python-iminuit"

Wed Jul 13 13:45:44 2022 rev:22 rq:988961 version:2.12.1

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-06-23 10:25:28.963819030 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1523/python-iminuit.changes  
2022-07-13 13:46:10.478098780 +0200
@@ -1,0 +2,8 @@
+Mon Jul  4 15:34:09 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.12.1:
+  * cost.BarlowBeestonLite: method ???hpd??? has been modified to fix
+performance in cases where bins are not dominated by a single
+template.
+
+---

Old:

  iminuit-2.12.0.tar.gz

New:

  iminuit-2.12.1.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.dD6t0Q/_old  2022-07-13 13:46:10.850099309 +0200
+++ /var/tmp/diff_new_pack.dD6t0Q/_new  2022-07-13 13:46:10.854099314 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.12.0
+Version:2.12.1
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -32,8 +32,8 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy >= 1.11.3}
 BuildRequires:  %{python_module numpy-devel}
-BuildRequires:  %{python_module pybind11-devel}
 BuildRequires:  %{python_module pybind11 >= 2.9.0}
+BuildRequires:  %{python_module pybind11-devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes

++ iminuit-2.12.0.tar.gz -> iminuit-2.12.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.12.0/PKG-INFO new/iminuit-2.12.1/PKG-INFO
--- old/iminuit-2.12.0/PKG-INFO 2022-06-21 17:25:35.798217500 +0200
+++ new/iminuit-2.12.1/PKG-INFO 2022-07-01 18:30:04.320357800 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.12.0
+Version: 2.12.1
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.12.0/src/iminuit/cost.py 
new/iminuit-2.12.1/src/iminuit/cost.py
--- old/iminuit-2.12.0/src/iminuit/cost.py  2022-06-21 17:25:02.0 
+0200
+++ new/iminuit-2.12.1/src/iminuit/cost.py  2022-07-01 18:29:36.0 
+0200
@@ -250,12 +250,11 @@
 return poisson_chi2(n, mu * beta) + np.sum((beta - 1) ** 2 / beta_var)
 
 
-def barlow_beeston_lite_chi2_hpd(n, mu, k):
+def barlow_beeston_lite_chi2_hpd(n, mu, mu_var):
 """
 Compute asymptotically chi2-distributed cost for a template fit.
 
-Formula derived by H.P. Dembinski, see the Jupyter notebook on Template 
Fits
-in the iminuit repository.
+H.P. Dembinski, https://doi.org/10.48550/arXiv.2206.12346
 
 Parameters
 --
@@ -264,16 +263,16 @@
 mu : array-like
 Expected counts. This is the sum of the normalised templates scaled
 with the component yields.
-k : array-like
-Bin-wise sum over original component templates. Must be positive 
everywhere.
+mu_var : array-like
+Expected variance of mu. Must be positive everywhere.
 
 Returns
 ---
 float
 Cost function value.
 """
+k = mu**2 / mu_var
 beta = (n + k) / (mu + k)
-
 return poisson_chi2(n, mu * beta) + poisson_chi2(k, k * beta)
 
 
@@ -859,7 +858,7 @@
 J.S. Conway, PHYSTAT 2011, https://doi.org/10.48550/arXiv.1103.0354
 """
 
-__slots__ = "_bbl_data", "_call"
+__slots__ = "_bbl_data", "_impl"
 
 def __init__(
 self,
@@ -930,24 +929,18 @@
 temp.append(t)
 temp_var.append(t)
 
+nt = []
+nt_var = []
+for t, tv in zip(temp, temp_var):
+f = 1 / np.sum(t)
+nt.append(t * f)
+nt_var.append(tv * f**2)
+self._bbl_data = (nt, nt_var)
+
 if method == "jsc":
-nt = []
-nt_var = []
-for t, tv in zip(temp, temp_var):
-f = 1 / np.sum(t)
-nt.append(t * f)
-nt_var.append(tv * f**2)
-self._bbl_data = (nt, nt_var)
-self._call = self._call_jsc
+self._impl = barlow_beeston_lite_chi2_jsc
 elif m

commit python-iminuit for openSUSE:Factory

2022-06-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-06-23 10:24:39

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1548 (New)


Package is "python-iminuit"

Thu Jun 23 10:24:39 2022 rev:21 rq:984460 version:2.12.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-05-02 16:25:39.768844428 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1548/python-iminuit.changes  
2022-06-23 10:25:28.963819030 +0200
@@ -1,0 +2,32 @@
+Wed Jun 22 00:09:52 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.12.0:
+  * New
+- New cost function cost.BarlowBeestonLite for template fits
+  with templates obtained from simulation or sWeighted data
+- Formerly private chi2 utility cost functions
+  (cost.poisson_chi2, etc.), are now part of public API
+- Support custom grid in Minuit.profile, iminuit.mncontour,
+  iminuit.contour
+- Handle common CL values in Minuit.mnprofile and
+  Minuit.mncontour without scipy
+  * Fixes
+- Skip tests that use np.float128 on platforms where this type
+  is not supported
+- Minuit.valid now returns False if EDM is NaN
+- subtract_min setting is no longer ignored by
+  Minuit.draw_contour
+  * Documentation: New study about template fits
+  * Minuit no longer warns when a function is used that has no
+errordef attribute and Minuit.errordef is not explicitly set.
+The function is assumed to be chi-square-like up to an
+arbitrary constant, unless errordef is explicitly set to
+something else.
+  * More type correctness in API, better hiding of private objects
+in library
+  * Add option to use external pybind11
+- Pass cmake option to build against external pybind11; add
+  BuildRequires: python-pybind11 and python-pybind11-devel and
+  remove bundled pybind11 from source dir.
+
+---

Old:

  iminuit-2.11.2.tar.gz

New:

  iminuit-2.12.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.QeTX1q/_old  2022-06-23 10:25:29.415819521 +0200
+++ /var/tmp/diff_new_pack.QeTX1q/_new  2022-06-23 10:25:29.419819525 +0200
@@ -1,5 +1,5 @@
 #
-# spec file
+# spec file for package python-iminuit
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.11.2
+Version:2.12.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
@@ -32,6 +32,8 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy >= 1.11.3}
 BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module pybind11-devel}
+BuildRequires:  %{python_module pybind11 >= 2.9.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
@@ -56,9 +58,12 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
+# We use external pybind11, just to be sure remove bundled pybind11 entirely
+rm -fr extern/pybind11
 
 %build
 export CFLAGS="%{optflags}"
+export CMAKE_ARGS="-DIMINUIT_EXTERNAL_PYBIND11=ON"
 %python_build
 
 %install

++ iminuit-2.11.2.tar.gz -> iminuit-2.12.0.tar.gz ++
 22546 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2022-05-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-05-02 16:25:33

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1538 (New)


Package is "python-iminuit"

Mon May  2 16:25:33 2022 rev:20 rq:974290 version:2.11.2

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-03-06 18:16:09.047829055 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1538/python-iminuit.changes  
2022-05-02 16:25:39.768844428 +0200
@@ -1,0 +2,27 @@
+Sun May  1 19:11:29 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.11.2:
+  * Fixed wording in cost function tutorial
+- Changes from version 2.11.1:
+  * Fixed a failure of util.make_with_signature in some
+situations.
+  * Raise numpy.VisibleDeprecationWarning instead of
+warnings.DeprecationWarning.
+  * util.propagate is deprecated in favour of jacobi.propagate
+from the jacobi library.
+- Changes from version 2.11.0:
+  * All builtin cost functions now support multidimensional data
+  * Matrix.to_dict was added for symmetry with
+BasicValueView.to_dict
+  * For long-running fits, total runtime is now shown in FMin
+display and total runtime can be accessed via property
+FMin.time
+  * In binned fits when ndof is zero, show reduced chi2 = nan in
+the FMin display instead of raising a ZeroDivisionError
+  * Tutorials and studies are now listed separately
+  * Tutorial for fits of multivariate data were added
+  * The cost function tutorial was improved
+  * Studies in regard to performance were added, including a
+comparison with RooFit
+
+---

Old:

  iminuit-2.10.0.tar.gz

New:

  iminuit-2.11.2.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.ucd3nS/_old  2022-05-02 16:25:40.228844940 +0200
+++ /var/tmp/diff_new_pack.ucd3nS/_new  2022-05-02 16:25:40.236844948 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.10.0
+Version:2.11.2
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.10.0.tar.gz -> iminuit-2.11.2.tar.gz ++
 3101 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2022-03-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-03-06 18:15:51

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1958 (New)


Package is "python-iminuit"

Sun Mar  6 18:15:51 2022 rev:19 rq:959729 version:2.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2022-01-21 01:26:25.122176468 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1958/python-iminuit.changes  
2022-03-06 18:16:09.047829055 +0100
@@ -1,0 +2,10 @@
+Sat Mar  5 15:40:18 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.10.0:
+  * Minuit.draw_mncontour now works with matplotlib >= 3.5.
+  * Builtin cost functions now work correctly when the mask is set
+and data is updated on the existing cost function.
+  * Builtin cost functions are now more performant when used with
+weighted binned data.
+
+---

Old:

  iminuit-2.9.0.tar.gz

New:

  iminuit-2.10.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.BKk9Yp/_old  2022-03-06 18:16:09.579829127 +0100
+++ /var/tmp/diff_new_pack.BKk9Yp/_new  2022-03-06 18:16:09.587829128 +0100
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.9.0
+Version:2.10.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.9.0.tar.gz -> iminuit-2.10.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/PKG-INFO new/iminuit-2.10.0/PKG-INFO
--- old/iminuit-2.9.0/PKG-INFO  2022-01-09 15:13:19.922676000 +0100
+++ new/iminuit-2.10.0/PKG-INFO 2022-03-04 17:01:36.374506200 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.9.0
+Version: 2.10.0
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/pyproject.toml 
new/iminuit-2.10.0/pyproject.toml
--- old/iminuit-2.9.0/pyproject.toml2022-01-09 15:12:36.0 +0100
+++ new/iminuit-2.10.0/pyproject.toml   2022-03-04 17:01:07.0 +0100
@@ -1,7 +1,6 @@
 [build-system]
 requires = [
 "setuptools>=42",
-"wheel",
 "cmake",
 ]
 build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/src/fcn.cpp 
new/iminuit-2.10.0/src/fcn.cpp
--- old/iminuit-2.9.0/src/fcn.cpp   2022-01-09 15:12:36.0 +0100
+++ new/iminuit-2.10.0/src/fcn.cpp  2022-03-04 17:01:07.0 +0100
@@ -1,14 +1,14 @@
 #include "fcn.hpp"
+#include "type_caster.hpp"
 #include 
 #include 
-#include 
-#include 
 #include 
 #include 
 #include 
+#include 
+#include 
 #include 
 #include 
-#include "type_caster.hpp"
 
 namespace py = pybind11;
 using namespace ROOT::Minuit2;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/src/functionminimum.cpp 
new/iminuit-2.10.0/src/functionminimum.cpp
--- old/iminuit-2.9.0/src/functionminimum.cpp   2022-01-09 15:12:36.0 
+0100
+++ new/iminuit-2.10.0/src/functionminimum.cpp  2022-03-04 17:01:07.0 
+0100
@@ -1,3 +1,5 @@
+#include "equal.hpp"
+#include "fcn.hpp"
 #include 
 #include 
 #include 
@@ -9,8 +11,6 @@
 #include 
 #include 
 #include 
-#include "equal.hpp"
-#include "fcn.hpp"
 
 namespace py = pybind11;
 using namespace ROOT::Minuit2;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/src/functionminimum_extra.cpp 
new/iminuit-2.10.0/src/functionminimum_extra.cpp
--- old/iminuit-2.9.0/src/functionminimum_extra.cpp 2022-01-09 
15:12:36.0 +0100
+++ new/iminuit-2.10.0/src/functionminimum_extra.cpp2022-03-04 
17:01:07.0 +0100
@@ -1,3 +1,5 @@
+#include "equal.hpp"
+#include "fcn.hpp"
 #include 
 #include 
 #include 
@@ -11,8 +13,6 @@
 #include 
 #include 
 #include 
-#include "equal.hpp"
-#include "fcn.hpp"
 
 namespace py = pybind11;
 using namespace ROOT::Minuit2;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.9.0/src/iminuit/cost.py 
new/iminuit-2.10.0/src/iminuit/cost.py
--- old/iminuit-2.9.0/src/iminuit/cost.py   2022-01-09 15:12:36.0 
+0100
+++ new/iminuit-2.10.0/src/iminuit/cost.py  2022-03-04 17:01:07.0 
+0100
@@ -86,23

commit python-iminuit for openSUSE:Factory

2022-01-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2022-01-21 01:25:43

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1938 (New)


Package is "python-iminuit"

Fri Jan 21 01:25:43 2022 rev:18 rq:947750 version:2.9.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-12-09 19:46:06.981147901 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1938/python-iminuit.changes  
2022-01-21 01:26:25.122176468 +0100
@@ -1,0 +2,10 @@
+Thu Jan 20 12:26:34 UTC 2022 - Atri Bhattacharya 
+
+- Update to version 2.9.0:
+  * Minuit.draw_mncontour now works with matplotlib >= 3.5.
+  * Builtin cost functions now work correctly when the mask is set
+and data is updated on the existing cost function.
+  * Builtin cost functions are now more performant when used with
+weighted binned data.
+
+---

Old:

  iminuit-2.8.4.tar.gz

New:

  iminuit-2.9.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.PDbGdU/_old  2022-01-21 01:26:25.490173945 +0100
+++ /var/tmp/diff_new_pack.PDbGdU/_new  2022-01-21 01:26:25.494173918 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.8.4
+Version:2.9.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.8.4.tar.gz -> iminuit-2.9.0.tar.gz ++
 9952 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2021-12-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-12-09 19:45:35

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.2520 (New)


Package is "python-iminuit"

Thu Dec  9 19:45:35 2021 rev:17 rq:937362 version:2.8.4

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-09-16 23:17:54.55406 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.2520/python-iminuit.changes  
2021-12-09 19:46:06.981147901 +0100
@@ -1,0 +2,12 @@
+Wed Dec  8 14:38:34 UTC 2021 - pgaj...@suse.com
+
+- version update to 2.8.4
+  Fixes
+  * Pickling of util.Matrix resulted in incomplete state after unpickling,
+which would cause an exception when you tried to print the matrix
+  Documentation
+  * New tutorial on fitting PDFs that depend on a conditional variable
+  * Fixed JAX tutorial, adapting to change in their interface
+  * Extended documentation of cost functions
+
+---

Old:

  iminuit-2.8.3.tar.gz

New:

  iminuit-2.8.4.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.FfT9Sm/_old  2021-12-09 19:46:07.865148326 +0100
+++ /var/tmp/diff_new_pack.FfT9Sm/_new  2021-12-09 19:46:07.869148328 +0100
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.8.3
+Version:2.8.4
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.8.3.tar.gz -> iminuit-2.8.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.3/PKG-INFO new/iminuit-2.8.4/PKG-INFO
--- old/iminuit-2.8.3/PKG-INFO  2021-09-03 17:08:02.901465400 +0200
+++ new/iminuit-2.8.4/PKG-INFO  2021-10-11 11:28:35.619011900 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.8.3
+Version: 2.8.4
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
@@ -30,9 +30,11 @@
 .. image:: 
https://readthedocs.org/projects/iminuit/badge/?version=stable
:target: https://iminuit.readthedocs.io/en/stable
 .. image:: https://img.shields.io/pypi/l/iminuit
-  :alt: License
 .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3949207.svg
:target: https://doi.org/10.5281/zenodo.3949207
+.. image:: 
https://img.shields.io/badge/ascl-2108.024-blue.svg?colorB=262255
+   :target: https://ascl.net/2108.024
+   :alt: ascl:2108.024
 
 *iminuit* is a Jupyter-friendly Python interface for the *Minuit2* C++ 
library maintained by CERN's ROOT team.
 
@@ -44,10 +46,15 @@
 
 The iminuit package comes with additional features:
 
-- Included cost functions for binned and unbinned maximum-likelihood 
and (robust)
-  least-squares fits
-- Support for SciPy minimisers
-- Numba support (optional)
+- Builtin cost functions for statistical fits
+
+  - Binned and unbinned maximum-likelihood
+  - Non-linear regression with (optionally robust) weighted 
least-squares
+  - Gaussian penalty terms
+  - Cost functions can be combined by adding them: ``total_cost = 
cost_1 + cost_2``
+- Tools for numerical error propagation ``iminuit.util.propagate``
+- Support for SciPy minimisers as alternatives to Minuit's Migrad 
algorithm (optional)
+- Support for Numba accelerated functions (optional)
 
 Checkout our large and comprehensive list of `tutorials`_ that take 
you all the way from beginner to power user. For help and how-to questions, 
please use the `discussions`_ on GitHub.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.3/README.rst new/iminuit-2.8.4/README.rst
--- old/iminuit-2.8.3/README.rst2021-09-03 17:07:34.0 +0200
+++ new/iminuit-2.8.4/README.rst2021-10-11 11:28:10.0 +0200
@@ -18,9 +18,11 @@
 .. image:: https://readthedocs.org/projects/iminuit/badge/?version=stable
:target: https://iminuit.readthedocs.io/en/stable
 .. image:: https://img.shields.io/pypi/l/iminuit
-  :alt: License
 .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3949207.svg
:target: https://doi.org/10.5281/zenodo.3949207
+.. image:: https://img.shields.io/badge/ascl-2108.024-blue.svg?colorB=262255
+   :target: https://ascl.net/2108

commit python-iminuit for openSUSE:Factory

2021-09-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-09-16 23:15:04

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1899 (New)


Package is "python-iminuit"

Thu Sep 16 23:15:04 2021 rev:16 rq:919558 version:2.8.3

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-08-11 11:47:41.913711758 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1899/python-iminuit.changes  
2021-09-16 23:17:54.55406 +0200
@@ -1,0 +2,16 @@
+Thu Sep 16 10:35:47 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.8.3:
+  * util.propagate now discriminates between diverging derivates
+(using the value NaN for the derivate) and non-converging
+derivatives (using the best value computed so far for the
+derivative).
+  * Update documentation.
+- Changes from version 2.8.2:
+  * Minuit.draw_mncontour can now be used by passing a single
+float to keyword cl, in addition to passing a list of floats.
+  * Use pybind11::ssize_t everywhere instead of non-standard
+ssize_t to fix compilation against Python-3.10 on Windows.
+  * Update documentation.
+
+---

Old:

  iminuit-2.8.1.tar.gz

New:

  iminuit-2.8.3.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.53bf1H/_old  2021-09-16 23:17:55.007999869 +0200
+++ /var/tmp/diff_new_pack.53bf1H/_new  2021-09-16 23:17:55.007999869 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.8.1
+Version:2.8.3
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.8.1.tar.gz -> iminuit-2.8.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.1/PKG-INFO new/iminuit-2.8.3/PKG-INFO
--- old/iminuit-2.8.1/PKG-INFO  2021-08-04 11:39:47.882949400 +0200
+++ new/iminuit-2.8.3/PKG-INFO  2021-09-03 17:08:02.901465400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.8.1
+Version: 2.8.3
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
@@ -49,14 +49,11 @@
 - Support for SciPy minimisers
 - Numba support (optional)
 
-Checkout the comprehensive list of `tutorials`_ that demonstrate these 
features.
+Checkout our large and comprehensive list of `tutorials`_ that take 
you all the way from beginner to power user. For help and how-to questions, 
please use the `discussions`_ on GitHub.
 
 .. image:: https://mybinder.org/badge_logo.svg
:target: 
https://mybinder.org/v2/gh/scikit-hep/iminuit/develop?filepath=doc%2Ftutorial
 
-.. image:: https://img.shields.io/gitter/room/Scikit-HEP/iminuit
-   :alt: Gitter
-
 In a nutshell
 -
 
@@ -86,6 +83,7 @@
 
 .. _changelog: https://iminuit.readthedocs.io/en/stable/changelog.html
 .. _tutorials: https://iminuit.readthedocs.io/en/stable/tutorials.html
+.. _discussions: https://github.com/scikit-hep/iminuit/discussions
 
 Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
@@ -113,3 +111,4 @@
 Requires-Python: >=3.6
 Description-Content-Type: text/x-rst
 Provides-Extra: test
+Provides-Extra: doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.1/README.rst new/iminuit-2.8.3/README.rst
--- old/iminuit-2.8.1/README.rst2021-08-04 11:39:20.0 +0200
+++ new/iminuit-2.8.3/README.rst2021-09-03 17:07:34.0 +0200
@@ -37,14 +37,11 @@
 - Support for SciPy minimisers
 - Numba support (optional)
 
-Checkout the comprehensive list of `tutorials`_ that demonstrate these 
features.
+Checkout our large and comprehensive list of `tutorials`_ that take you all 
the way from beginner to power user. For help and how-to questions, please use 
the `discussions`_ on GitHub.
 
 .. image:: https://mybinder.org/badge_logo.svg
:target: 
https://mybinder.org/v2/gh/scikit-hep/iminuit/develop?filepath=doc%2Ftutorial
 
-.. image:: https://img.shields.io/gitter/room/Scikit-HEP/iminuit
-   :alt: Gitter
-
 In a nutshell
 -
 
@@ -74,3 +71,4 @@
 
 .. _changelog: https://iminuit.readthedocs.io/en/stable/changelog.html
 .. _tutorials: https://iminuit.readthedocs.io/en/stable/tutorials.html
+.. _discussions: https://github

commit python-iminuit for openSUSE:Factory

2021-08-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-08-11 11:47:11

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1899 (New)


Package is "python-iminuit"

Wed Aug 11 11:47:11 2021 rev:15 rq:911201 version:2.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-07-28 19:21:46.419499063 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1899/python-iminuit.changes  
2021-08-11 11:47:41.913711758 +0200
@@ -1,0 +2,6 @@
+Mon Aug  9 21:49:01 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.8.1:
+  * Undocumented changes.
+
+---

Old:

  iminuit-2.8.0.tar.gz

New:

  iminuit-2.8.1.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.LZjckv/_old  2021-08-11 11:47:42.881710594 +0200
+++ /var/tmp/diff_new_pack.LZjckv/_new  2021-08-11 11:47:42.881710594 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.8.0
+Version:2.8.1
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.8.0.tar.gz -> iminuit-2.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/PKG-INFO new/iminuit-2.8.1/PKG-INFO
--- old/iminuit-2.8.0/PKG-INFO  2021-07-25 13:41:40.548514800 +0200
+++ new/iminuit-2.8.1/PKG-INFO  2021-08-04 11:39:47.882949400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: iminuit
-Version: 2.8.0
+Version: 2.8.1
 Summary: Jupyter-friendly Python frontend for MINUIT2 in C++
 Home-page: http://github.com/scikit-hep/iminuit
 Author: Piti Ongmongkolkul and the iminuit team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/cmake_ext.py 
new/iminuit-2.8.1/cmake_ext.py
--- old/iminuit-2.8.0/cmake_ext.py  2021-07-25 13:41:14.0 +0200
+++ new/iminuit-2.8.1/cmake_ext.py  2021-08-04 11:39:20.0 +0200
@@ -1,9 +1,11 @@
-import sys
 import os
+import re
 import subprocess
+import sys
+from pathlib import Path
+
 from setuptools import Extension
 from setuptools.command.build_ext import build_ext
-from pathlib import Path
 
 
 class CMakeExtension(Extension):
@@ -15,11 +17,6 @@
 class CMakeBuild(build_ext):
 def build_extension(self, ext):
 extdir = Path(self.get_ext_fullpath(ext.name)).parent.absolute()
-# required for auto-detection of auxiliary "native" libs
-cmake_args = [
-f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}/",
-f"-DPYTHON_EXECUTABLE={sys.executable}",
-]
 
 debug = int(os.environ.get("DEBUG", 0)) if self.debug is None else 
self.debug
 cfg = "Debug" if debug else "Release"
@@ -28,7 +25,12 @@
 # Can be set with Conda-Build, for example.
 cmake_generator = os.environ.get("CMAKE_GENERATOR", "")
 
-cmake_args += [f"-DCMAKE_BUILD_TYPE={cfg}"]
+cmake_args = [
+f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}/",
+f"-DPYTHON_EXECUTABLE={sys.executable}",
+f"-DCMAKE_BUILD_TYPE={cfg}",
+]
+
 build_args = ["--config", cfg]  # needed by some generators, e.g. on 
Windows
 
 if self.compiler.compiler_type == "msvc":
@@ -48,9 +50,13 @@
 }[self.plat_name]
 cmake_args += ["-A", arch]
 
-cmake_args += [
-"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}".format(cfg.upper(), 
extdir)
-]
+cmake_args += 
[f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{cfg.upper()}={extdir}"]
+
+elif sys.platform.startswith("darwin"):
+# Cross-compile support for macOS - respect ARCHFLAGS if set
+archs = re.findall(r"-arch (\S+)", os.environ.get("ARCHFLAGS", ""))
+if archs:
+cmake_args += [f"-DCMAKE_OSX_ARCHITECTURES={';'.join(archs)}"]
 
 # Set CMAKE_BUILD_PARALLEL_LEVEL to control the parallel build level
 # across all generators.
@@ -64,6 +70,7 @@
 
 if not os.path.exists(self.build_temp):
 os.makedirs(self.build_temp)
+
 subprocess.check_call(
 ["cmake", ext.sourcedir] + cmake_args, cwd=self.build_temp
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/iminuit-2.8.0/pyproject.toml 
new/iminuit-2.8.1/pyproject.toml
--- old/iminuit-2.8.0/pyproject.toml2021-07-25 13:41:14.0 +0200
+++ new/iminuit-2.8.1/pyproject.toml  

commit python-iminuit for openSUSE:Factory

2021-07-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-07-28 19:21:42

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.1899 (New)


Package is "python-iminuit"

Wed Jul 28 19:21:42 2021 rev:14 rq:908887 version:2.8.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-06-19 23:05:03.859858620 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.1899/python-iminuit.changes  
2021-07-28 19:21:46.419499063 +0200
@@ -1,0 +2,11 @@
+Wed Jul 28 11:36:59 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.8.0:
+  * Minor API change: Minuit.mncontour now raises RuntimeError
+instead of ValueError if it is not called at a valid minimum
+point.
+  * New features: Minuit.mncontour can now be called at any point
+without running a minimiser before, similar to Minuit.minos.
+  * Fixes: Minuit.mncontour used to fail if called twice in a row.
+
+---

Old:

  iminuit-2.6.1.tar.gz

New:

  iminuit-2.8.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.oHoAvi/_old  2021-07-28 19:21:47.103498166 +0200
+++ /var/tmp/diff_new_pack.oHoAvi/_new  2021-07-28 19:21:47.103498166 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.6.1
+Version:2.8.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.6.1.tar.gz -> iminuit-2.8.0.tar.gz ++
 5395 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2021-06-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-06-19 23:04:22

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.2625 (New)


Package is "python-iminuit"

Sat Jun 19 23:04:22 2021 rev:13 rq:900831 version:2.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-05-05 20:40:05.946890980 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.2625/python-iminuit.changes  
2021-06-19 23:05:03.859858620 +0200
@@ -1,0 +2,10 @@
+Thu Jun 17 18:46:27 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.6.1:
+  * Calling Minuit.fixed[...] = False on parameter that was not
+fixed before lead to undefined behaviour in Minuit2 C++ code
+(patch submitted to ROOT).
+  * Upgrade Minuit2 C++ code to latest ROOT master with simplified
+internal class structure and class tags replaced with enums.
+
+---

Old:

  iminuit-2.6.0.tar.gz

New:

  iminuit-2.6.1.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.EWqcZH/_old  2021-06-19 23:05:04.271859255 +0200
+++ /var/tmp/diff_new_pack.EWqcZH/_new  2021-06-19 23:05:04.275859262 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-iminuit
+# spec file
 #
 # Copyright (c) 2021 SUSE LLC
 #
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.6.0
+Version:2.6.1
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.6.0.tar.gz -> iminuit-2.6.1.tar.gz ++
 3148 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2021-05-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-05-05 20:40:01

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.2988 (New)


Package is "python-iminuit"

Wed May  5 20:40:01 2021 rev:12 rq:890551 version:2.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-04-22 18:04:48.930584702 +0200
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.2988/python-iminuit.changes  
2021-05-05 20:40:05.946890980 +0200
@@ -1,0 +2,13 @@
+Wed May  5 00:10:39 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.6.0:
+  * Builtin cost functions now report the number of data points
+with the attribute Cost.ndata.
+  * New attribute Minuit.ndof returns the degrees of freedom if
+the cost function reports it or NaN.
+  * New attribute FMin.reduced_chi2 to report the reduced chi2 of
+the fit; returns NaN if the reduced chi2 cannot be computed
+for the cost function, in case of unbinned maximum-likelihood
+or when the attribute Cost.ndata is missing.
+
+---

Old:

  iminuit-2.4.0.tar.gz

New:

  iminuit-2.6.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.PSXtut/_old  2021-05-05 20:40:06.482888679 +0200
+++ /var/tmp/diff_new_pack.PSXtut/_new  2021-05-05 20:40:06.486888662 +0200
@@ -22,7 +22,7 @@
 %define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.4.0
+Version:2.6.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.4.0.tar.gz -> iminuit-2.6.0.tar.gz ++
 1850 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2021-04-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-04-22 18:04:00

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.12324 (New)


Package is "python-iminuit"

Thu Apr 22 18:04:00 2021 rev:11 rq:887389 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2021-02-16 22:50:56.482701789 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.12324/python-iminuit.changes 
2021-04-22 18:04:48.930584702 +0200
@@ -1,0 +2,5 @@
+Thu Apr 22 00:58:19 UTC 2021 - Steve Kowalik 
+
+- Do not build for Python 3.6, due to no NumPy. 
+
+---



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.sfsqh3/_old  2021-04-22 18:04:49.362585361 +0200
+++ /var/tmp/diff_new_pack.sfsqh3/_new  2021-04-22 18:04:49.366585367 +0200
@@ -19,6 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 # Python2 support dropped since version 1.4.0
 %define skip_python2 1
+%define skip_python36 1
 %define modname iminuit
 Name:   python-%{modname}
 Version:2.4.0


commit python-iminuit for openSUSE:Factory

2021-02-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2021-02-16 22:40:32

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.28504 (New)


Package is "python-iminuit"

Tue Feb 16 22:40:32 2021 rev:10 rq:872798 version:2.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2020-12-31 10:01:40.515043342 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.28504/python-iminuit.changes 
2021-02-16 22:50:56.482701789 +0100
@@ -1,0 +2,29 @@
+Mon Feb 15 22:53:00 UTC 2021 - Atri Bhattacharya 
+
+- Update to version 2.4.0:
+  * New features:
+- iminuit.minimize: Keyword method now accepts "migrad" and
+  "simplex".
+- iminuit.minimize: Keyword option now supports keyword "stra"
+  to set Minuit.strategy.
+- iminuit.minimize: OptimizeResult.message now states if
+  errors are not reliable.
+  * Minuit now supports functions wrapped with functools.partial.
+  * Upgrade Minuit2 C++ code in ROOT to latest master with
+following improvements:
+- improvement of seed when using an analytical gradient.
+- fix of last minimum state added twice to vector of minimum
+  states in some cases (saves a bit of memory).
+  * Documentation improvements.
+  * Updated tutorial about automatic differentiation, added
+comparison of numba.njit and jax.jit.
+- Changes from version 2.3.0:
+  * New features: iminuit.cost.BinnedNLL and
+iminuit.cost.ExtendedBinnedNLL now support weighted binned
+data.
+  * Bug-fixes: FMin.edm_goal now remains unchanged if Minuit.hesse
+is run after Minuit.migrad.
+  * Other: Update to cibuildwheels-1.8.0 and workflow
+simplification.
+
+---

Old:

  iminuit-2.2.1.tar.gz

New:

  iminuit-2.4.0.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.FnPMKr/_old  2021-02-16 22:50:56.998702460 +0100
+++ /var/tmp/diff_new_pack.FnPMKr/_new  2021-02-16 22:50:57.002702465 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-iminuit
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,7 @@
 %define skip_python2 1
 %define modname iminuit
 Name:   python-%{modname}
-Version:2.2.1
+Version:2.4.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-2.2.1.tar.gz -> iminuit-2.4.0.tar.gz ++
 25725 lines of diff (skipped)


commit python-iminuit for openSUSE:Factory

2020-12-12 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2020-12-12 20:32:15

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.2328 (New)


Package is "python-iminuit"

Sat Dec 12 20:32:15 2020 rev:7 rq:855357 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2020-12-01 14:23:25.237634471 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.2328/python-iminuit.changes  
2020-12-12 20:36:11.426091560 +0100
@@ -1,0 +2,11 @@
+Sat Dec 12 02:08:39 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 2.0.0:
+  * Long list of changes, see
+.
+- Add _service file to download tests from github directly as they
+  are not included in the pypi tarball any more
+  (gh#scikit-hep/iminuit#572).
+- New BuildRequires: cmake >= 3.13.
+
+---
@@ -24,2 +34,0 @@
-
-

Old:

  iminuit-1.5.4.tar.gz

New:

  _service
  iminuit-2.0.0.tar.gz
  tests.tar.xz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.G8dRcb/_old  2020-12-12 20:36:12.074092236 +0100
+++ /var/tmp/diff_new_pack.G8dRcb/_new  2020-12-12 20:36:12.078092240 +0100
@@ -19,18 +19,22 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 # Python2 support dropped since version 1.4.0
 %define skip_python2 1
-Name:   python-iminuit
-Version:1.5.4
+%define modname iminuit
+Name:   python-%{modname}
+Version:2.0.0
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT
 URL:https://github.com/scikit-hep/iminuit
-Source: 
https://files.pythonhosted.org/packages/source/i/iminuit/iminuit-%{version}.tar.gz
+# No tests in pypi tarball
+Source0:
https://files.pythonhosted.org/packages/source/i/iminuit/%{modname}-%{version}.tar.gz
+Source1:tests.tar.xz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy >= 1.11.3}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  cmake >= 3.13
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  python-rpm-macros
@@ -52,7 +56,8 @@
 and to get model parameter error estimates from likelihood profile analysis.
 
 %prep
-%setup -q -n iminuit-%{version}
+%setup -q -n %{modname}-%{version}
+%setup -q -D -T -a 1 -n %{modname}-%{version}
 
 %build
 export CFLAGS="%{optflags}"
@@ -63,11 +68,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%pytest_arch %{buildroot}%{$python_sitearch}/iminuit
+%pytest_arch
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitearch}/*
+%{python_sitearch}/%{modname}/
+%{python_sitearch}/%{modname}-%{version}-py%{python_version}.egg-info/
 
 %changelog

++ _service ++


git
https://github.com/scikit-hep/iminuit
v2.0.0
tests
tests
_none_


xz
tests.tar




++ iminuit-1.5.4.tar.gz -> iminuit-2.0.0.tar.gz ++
 79217 lines of diff (skipped)
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


commit python-iminuit for openSUSE:Factory

2020-12-01 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package python-iminuit for openSUSE:Factory 
checked in at 2020-12-01 14:23:13

Comparing /work/SRC/openSUSE:Factory/python-iminuit (Old)
 and  /work/SRC/openSUSE:Factory/.python-iminuit.new.5913 (New)


Package is "python-iminuit"

Tue Dec  1 14:23:13 2020 rev:6 rq:851910 version:1.5.4

Changes:

--- /work/SRC/openSUSE:Factory/python-iminuit/python-iminuit.changes
2020-11-03 15:16:43.216048969 +0100
+++ /work/SRC/openSUSE:Factory/.python-iminuit.new.5913/python-iminuit.changes  
2020-12-01 14:23:25.237634471 +0100
@@ -1,0 +2,26 @@
+Sun Nov 29 17:18:42 UTC 2020 - Atri Bhattacharya 
+
+- Update to version 1.5.4:
+Fixed broken sdist package in 1.5.3
+- Changes from version 1.5.3:
+  * Fixed a crash when throw_nan=True is used and the throw is
+triggered.
+  * Add python_requires (gh#scikit-hep/iminuit#496) by @henryiii.
+  * Fixed buggy display of text matrix if npar != 2
+(gh#scikit-hep/iminuit#493).
+  * Switch extern Minuit2 repo to official root repo
+(gh#scikit-hep/iminuit#500), ROOT state: a5d880a434.
+  * Add ngrad and ngrad_total to FMin display, rename ncalls to
+nfcn_total (gh#scikit-hep/iminuit#489).
+  * Use __getattr__ to hide deprecated interface from Python
+help() (gh#scikit-hep/iminuit#491).
+  * Improvements to tutorials by @giammi56.
+  * Show number of gradient calls in FMin display (if nonzero)
+instead of errordef value.
+  * Deprecated:
+- Minuit.ncalls, use Minuit.nfcn instead
+- Minuit.ngrads, use Minuit.ngrad instead
+
+
+
+---

Old:

  iminuit-1.5.2.tar.gz

New:

  iminuit-1.5.4.tar.gz



Other differences:
--
++ python-iminuit.spec ++
--- /var/tmp/diff_new_pack.2r1z3l/_old  2020-12-01 14:23:25.877635163 +0100
+++ /var/tmp/diff_new_pack.2r1z3l/_new  2020-12-01 14:23:25.881635168 +0100
@@ -20,7 +20,7 @@
 # Python2 support dropped since version 1.4.0
 %define skip_python2 1
 Name:   python-iminuit
-Version:1.5.2
+Version:1.5.4
 Release:0
 Summary:Python bindings for MINUIT2
 License:MIT

++ iminuit-1.5.2.tar.gz -> iminuit-1.5.4.tar.gz ++
 79608 lines of diff (skipped)
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org