• Bug#1109019: unblock: dioptas/0.6.1-2

    From Roland Mas@21:1/5 to All on Wed Jul 9 19:10:01 2025
    XPost: linux.debian.devel.release

    Package: release.debian.org
    Severity: normal
    User: [email protected]
    Usertags: unblock
    X-Debbugs-Cc: [email protected]
    Control: affects -1 + src:dioptas

    Please unblock package dioptas

    (Please provide enough (but not too much) information to help
    the release team to judge the request efficiently. E.g. by
    filling in the sections below.)

    [ Reason ]
    One-line fix for an important bug.

    [ Impact ]
    The calibration feature was broken due to changes in Numpy; this
    version includes a one-line fix to fix compatibility with current
    Numpy.

    [ Tests ]
    None, unfortunately.

    [ Risks ]
    Low. Leaf package, obvious and very constrained fix.

    [ Checklist ]
    [x] all changes are documented in the d/changelog
    [x] I reviewed all changes and I approve them
    [x] attach debdiff against the package in testing

    Here's the full diff for the upload:

    diff --git a/debian/changelog b/debian/changelog
    index fbc51daed2dc352c49b8d9291a011af730abb2ed..6c2fc6a1f705c555210b98493c69556d7c84bdc5
    100644
    --- a/debian/changelog
    +++ b/debian/changelog
    @@ -1,3 +1,10 @@
    +dioptas (0.6.1-2) unstable; urgency=medium
    +
    + * Bug fix: "Calibration fails with deprecated "np.NaN"
    + command", thanks to Carlo Segre (Closes: #1108325).
    +
    + -- Roland Mas <[email protected]> Tue, 01 Jul 2025 12:32:08 +0200
    +
    dioptas (0.6.1-1) unstable; urgency=medium

    * New upstream release.
    diff --git a/debian/patches/0004-Fix-Numpy-compatibility.patch b/debian/patches/0004-Fix-Numpy-compatibility.patch
    new file mode 100644
    index 0000000000000000000000000000000000000000..c6dbc9467ac07bf14327854d2628bfc92af203b2
    --- /dev/null
    +++ b/debian/patches/0004-Fix-Numpy-compatibility.patch
    @@ -0,0 +1,21 @@
    +From: Roland Mas <[email protected]>
    +Date: Tue, 1 Jul 2025 12:31:06 +0200
    +Subject: Fix Numpy compatibility
    +
    +---
    + dioptas/model/CalibrationModel.py | 2 +-
    + 1 file changed, 1 insertion(+), 1 deletion(-)
    +
    +diff --git a/dioptas/model/CalibrationModel.py b/dioptas/model/CalibrationModel.py
    +index