Your message dated Sun, 09 Mar 2025 12:49:18 +0000
with message-id <e1trg5m-00bmo0...@fasolo.debian.org>
and subject line Bug#1095348: fixed in iminuit 2.30.1-1
has caused the Debian Bug report #1095348,
regarding iminuit: FTBFS: AssertionError: E       Not equal to tolerance 
rtol=0.1, atol=0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1095348: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1095348
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:iminuit
Version: 2.30.0-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
=================================== FAILURES ===================================
_________________________ test_Template_with_model_2D __________________________

    def test_Template_with_model_2D():
        truth1 = (1.0, 0.1, 0.2, 0.3, 0.4, 0.5)
        x1, y1 = mvnorm(*truth1[1:]).rvs(size=int(truth1[0] * 1000), 
random_state=1).T
        truth2 = (1.0, 0.2, 0.1, 0.4, 0.3, 0.0)
        x2, y2 = mvnorm(*truth2[1:]).rvs(size=int(truth2[0] * 1000), 
random_state=1).T
    
        x = np.append(x1, x2)
        y = np.append(y1, y2)
        w, xe, ye = np.histogram2d(x, y, bins=(3, 5))
    
        def model(xy, n, mux, muy, sx, sy, rho):
            return n * 1000 * mvnorm(mux, muy, sx, sy, 
rho).cdf(np.transpose(xy))
    
        x3, y3 = mvnorm(*truth2[1:]).rvs(size=int(truth2[0] * 10000), 
random_state=2).T
        template = np.histogram2d(x3, y3, bins=(xe, ye))[0]
    
        cost = Template(w, (xe, ye), (model, template))
        assert cost.ndata == np.prod(w.shape)
        m = Minuit(cost, *truth1, 1)
        m.limits["x0_n", "x0_sx", "x0_sy"] = (0, None)
        m.limits["x0_rho"] = (-1, 1)
        m.migrad()
        assert m.valid
>       assert_allclose(m.values, truth1 + (1e3,), rtol=0.1)
E       AssertionError: 
E       Not equal to tolerance rtol=0.1, atol=0
E       
E       Mismatched elements: 6 / 7 (85.7%)
E       Max absolute difference among violations: 997.23956113
E       Max relative difference among violations: 0.99921615
E        ACTUAL: array([1.999216, 0.155654, 0.146317, 0.363123, 0.360546, 
0.18838 ,
E              2.760439])
E        DESIRED: array([1.e+00, 1.e-01, 2.e-01, 3.e-01, 4.e-01, 5.e-01, 
1.e+03])

tests/test_cost.py:2078: AssertionError
=========================== short test summary info ============================
SKIPPED [1] tests/test_without_ipywidgets.py:5: could not import 'ipywidgets': 
No module named 'ipywidgets'
SKIPPED [1] tests/test_without_numba.py:6: could not import 'numba': No module 
named 'numba'
SKIPPED [1] tests/test_core.py:124: could not import 'numba': No module named 
'numba'
SKIPPED [5] tests/test_cost.py:63: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [44] tests/test_cost.py:68: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [11] tests/test_cost.py:73: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [1] tests/test_describe.py:229: could not import 'pydantic.types': No 
module named 'pydantic'
SKIPPED [1] tests/test_describe.py:252: could not import 'annotated_types': No 
module named 'annotated_types'
SKIPPED [1] tests/test_draw.py:140: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:228: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:244: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_minuit.py:1490: could not import 'numba': No module 
named 'numba'
SKIPPED [1] tests/test_repr.py:347: could not import 'unicodeitplus': No module 
named 'unicodeitplus'
SKIPPED [1] tests/test_util.py:415: could not import 'numba': No module named 
'numba'
SKIPPED [1] tests/test_util.py:441: could not import 'numba': No module named 
'numba'
FAILED tests/test_cost.py::test_Template_with_model_2D - AssertionError: 
1 failed, 599 passed, 72 skipped in 9.41s
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_iminuit/build; python3.12 -m pytest -W 
ignore::DeprecationWarning
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iminuit/build; 
python3.13 -m pytest -W ignore::DeprecationWarning
.....s.............sssssssss...ssss.......ssssssss.sss......ssss.ssss... [ 10%]
.......ss.s.........ssss.ssss.ss.s.....ssssssssss.ss...........s....s... [ 21%]
...................................F...................................s [ 32%]
s..........................sss.......................................... [ 42%]
........................................................................ [ 53%]
......................................................................s. [ 64%]
...........................................................s............ [ 75%]
........................................................................ [ 85%]
.........................................................ss............. [ 96%]
......................                                                   [100%]
=================================== FAILURES ===================================
_________________________ test_Template_with_model_2D __________________________

    def test_Template_with_model_2D():
        truth1 = (1.0, 0.1, 0.2, 0.3, 0.4, 0.5)
        x1, y1 = mvnorm(*truth1[1:]).rvs(size=int(truth1[0] * 1000), 
random_state=1).T
        truth2 = (1.0, 0.2, 0.1, 0.4, 0.3, 0.0)
        x2, y2 = mvnorm(*truth2[1:]).rvs(size=int(truth2[0] * 1000), 
random_state=1).T
    
        x = np.append(x1, x2)
        y = np.append(y1, y2)
        w, xe, ye = np.histogram2d(x, y, bins=(3, 5))
    
        def model(xy, n, mux, muy, sx, sy, rho):
            return n * 1000 * mvnorm(mux, muy, sx, sy, 
rho).cdf(np.transpose(xy))
    
        x3, y3 = mvnorm(*truth2[1:]).rvs(size=int(truth2[0] * 10000), 
random_state=2).T
        template = np.histogram2d(x3, y3, bins=(xe, ye))[0]
    
        cost = Template(w, (xe, ye), (model, template))
        assert cost.ndata == np.prod(w.shape)
        m = Minuit(cost, *truth1, 1)
        m.limits["x0_n", "x0_sx", "x0_sy"] = (0, None)
        m.limits["x0_rho"] = (-1, 1)
        m.migrad()
        assert m.valid
>       assert_allclose(m.values, truth1 + (1e3,), rtol=0.1)
E       AssertionError: 
E       Not equal to tolerance rtol=0.1, atol=0
E       
E       Mismatched elements: 6 / 7 (85.7%)
E       Max absolute difference among violations: 997.23956113
E       Max relative difference among violations: 0.99921615
E        ACTUAL: array([1.999216, 0.155654, 0.146317, 0.363123, 0.360546, 
0.18838 ,
E              2.760439])
E        DESIRED: array([1.e+00, 1.e-01, 2.e-01, 3.e-01, 4.e-01, 5.e-01, 
1.e+03])

tests/test_cost.py:2078: AssertionError
=========================== short test summary info ============================
SKIPPED [1] tests/test_without_ipywidgets.py:5: could not import 'ipywidgets': 
No module named 'ipywidgets'
SKIPPED [1] tests/test_without_numba.py:6: could not import 'numba': No module 
named 'numba'
SKIPPED [1] tests/test_core.py:124: could not import 'numba': No module named 
'numba'
SKIPPED [5] tests/test_cost.py:63: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [44] tests/test_cost.py:68: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [11] tests/test_cost.py:73: could not import 'jacobi': No module named 
'jacobi'
SKIPPED [1] tests/test_describe.py:229: could not import 'pydantic.types': No 
module named 'pydantic'
SKIPPED [1] tests/test_describe.py:252: could not import 'annotated_types': No 
module named 'annotated_types'
SKIPPED [1] tests/test_draw.py:140: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:228: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_draw.py:244: could not import 'ipywidgets': No module 
named 'ipywidgets'
SKIPPED [1] tests/test_minuit.py:1490: could not import 'numba': No module 
named 'numba'
SKIPPED [1] tests/test_repr.py:347: could not import 'unicodeitplus': No module 
named 'unicodeitplus'
SKIPPED [1] tests/test_util.py:415: could not import 'numba': No module named 
'numba'
SKIPPED [1] tests/test_util.py:441: could not import 'numba': No module named 
'numba'
FAILED tests/test_cost.py::test_Template_with_model_2D - AssertionError: 
1 failed, 599 passed, 72 skipped in 8.86s
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_iminuit/build; python3.13 -m pytest -W 
ignore::DeprecationWarning
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.13" returned exit code 13
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:iminuit, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: iminuit
Source-Version: 2.30.1-1
Done: Ole Streicher <oleb...@debian.org>

We believe that the bug you reported is fixed in the latest version of
iminuit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1095...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated iminuit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 09 Mar 2025 12:51:47 +0100
Source: iminuit
Architecture: source
Version: 2.30.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Closes: 1095348
Changes:
 iminuit (2.30.1-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 2.30.1 (Closes: #1095348)
   * Fix license name for BSD-2-Clause in d/copyright
   * Push Standards-Version to 4.7.2, no changes needed
Checksums-Sha1:
 59f5ddcb3fe4770bc63914b9a02bf5337f7f41f6 2436 iminuit_2.30.1-1.dsc
 423accf2c12a3469e5f8a40a99a1636899a9162d 1835277 iminuit_2.30.1.orig.tar.gz
 69873f853e1b83c12bfd5e6157089ccd8bb56f00 4552 iminuit_2.30.1-1.debian.tar.xz
Checksums-Sha256:
 3a995943f750975872e74bf4fd5b7bef0437fda1c28a3b145a9f8fc481af03a7 2436 
iminuit_2.30.1-1.dsc
 2815bfdeb8e7f78185f316b75e2d4b19d0f6993bdc5ff03352ed37b70a796360 1835277 
iminuit_2.30.1.orig.tar.gz
 6878a86109daab6bb94305b326baf1612ad2dc45b45ecc286f32c75f7aa94e8f 4552 
iminuit_2.30.1-1.debian.tar.xz
Files:
 232f9e21f8118d30f8306ac19abc3f14 2436 science optional iminuit_2.30.1-1.dsc
 98f876af68648253aad51ac7d666fa59 1835277 science optional 
iminuit_2.30.1.orig.tar.gz
 7d6471b5fe101dfe9bf5123fef5c92cf 4552 science optional 
iminuit_2.30.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuvxshffLFD/utvsVcRWv0HcQ3PcFAmfNiKAACgkQcRWv0HcQ
3PeJ8g//e73qww5R4QdGSNWg/MRu3kLAr+eHoSMEbGM603ArXXzkQlnkowYpfD/K
SIoGYzytB+FYgXH+KFVtQtARWzPDHvHnkUysttN9qznXH3Ay5eN4sxuONFMdzTqZ
TOA7fTt6bqNW/FG1xZpn7pFbueJGwraXCo7OHoi39doDv7yNcRC1PVCNIYuFJ/Bx
cmSma2ns97+cTVHEi4P8eNR29Ktb/lM+Na1wjn0WWuz1jvjRc3QHtdwN5WfNFvAB
wGg0noQVVhM9hMgDAVs61b6mVYzge6ZH7ExbhjD2G0ru1go3g2BbZsmEb5WQcd7r
9aHqxyGtE5hSC0cEkheFLb1+rY0wpGXszKsl4Dg6PStucKaH8JaNtmRwz0K6y1t6
5wu9yoyJNrMteggslQFFiLzD233utq/B7p6KxOJS0XRIa4EFWeLai2xS+FJ0Rnk5
fk31ea8kgjnMcYIkj7Nd2rOHQwRroTCTVan6D5IQkYFgNR2olniFz2C4FfUVZZg9
PPtPJ8AgCYktlfIqpUBDkWXUXACLVXA3cV/M/oXhg0ar6XNMHb2zCNkYjTg88D4z
ekMTKjT4ou/+1cr3ttNydAdAuqXZjnCKYBVQ+AuIJ5orBur6fa78E3fRNGqVYRc3
gZE4WSpx/MNhUiYJUF7JcxTjHa0wgbP6rRD6836pZFfxbPVvmXc=
=6uRv
-----END PGP SIGNATURE-----

Attachment: pgpN1FT1htvCp.pgp
Description: PGP signature


--- End Message ---

Reply via email to