Your message dated Tue, 25 Nov 2025 17:36:35 +0000
with message-id <[email protected]>
and subject line Bug#1119262: fixed in guidata 3.13.3-1
has caused the Debian Bug report #1119262,
regarding guidata autopkg tests fail with pillow 12.0 from unstable
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 [email protected]
immediately.)


-- 
1119262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119262
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:guidata
Version: 3.6.2-3
Severity: serious
Tags: sid forky

guidata autopkg tests fail with pillow 12.0 from unstable, blocking the migration of pillow:

[...]
95s =================================== FAILURES =================================== 95s ____________________________ test_collectionseditor ____________________________
 95s
 95s obj = array([[ 30,  54,  93, ..., 201, 136,  61],
 95s        [ 26,  81, 227, ..., 172, 162, 105],
 95s        [180, 233,  29, ...,  4..., 221,  74],
 95s        [ 85,  91,  89, ..., 126,  34, 203],
 95s        [209, 112, 188, ..., 145, 174, 184]], shape=(100, 100))
 95s mode = 'P'
 95s
95s def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> Image:
 95s         """
95s Creates an image memory from an object exporting the array interface
 95s         (using the buffer protocol)::
 95s
 95s           from PIL import Image
 95s           import numpy as np
 95s           a = np.zeros((5, 5))
 95s           im = Image.fromarray(a)
 95s
95s If ``obj`` is not contiguous, then the ``tobytes`` method is called
 95s         and :py:func:`~PIL.Image.frombuffer` is used.
 95s
95s In the case of NumPy, be aware that Pillow modes do not always correspond 95s to NumPy dtypes. Pillow modes only offer 1-bit pixels, 8-bit pixels, 95s 32-bit signed integer pixels, and 32-bit floating point pixels.
 95s
 95s         Pillow images can also be converted to arrays::
 95s
 95s           from PIL import Image
 95s           import numpy as np
 95s           im = Image.open("hopper.jpg")
 95s           a = np.asarray(im)
 95s
95s When converting Pillow images to arrays however, only pixel values are 95s transferred. This means that P and PA mode images will lose their palette.
 95s
 95s         :param obj: Object with array interface
95s :param mode: Optional mode to use when reading ``obj``. Since pixel values do not 95s contain information about palettes or color spaces, this can be used to place 95s grayscale L mode data within a P mode image, or read RGB data as YCbCr for
 95s           example.
 95s
95s See: :ref:`concept-modes` for general information about modes.
 95s         :returns: An image object.
 95s
 95s         .. versionadded:: 1.1.6
 95s         """
 95s         arr = obj.__array_interface__
 95s         shape = arr["shape"]
 95s         ndim = len(shape)
 95s         strides = arr.get("strides", None)
 95s         try:
 95s             typekey = (1, 1) + shape[2:], arr["typestr"]
 95s         except KeyError as e:
 95s             if mode is not None:
 95s                 typekey = None
 95s                 color_modes: list[str] = []
 95s             else:
 95s                 msg = "Cannot handle this data type"
 95s                 raise TypeError(msg) from e
 95s         if typekey is not None:
 95s             try:
95s > typemode, rawmode, color_modes = _fromarray_typemap[typekey] 95s ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 95s E               KeyError: ((1, 1), '<i8')
 95s
 95s /usr/lib/python3/dist-packages/PIL/Image.py:3285: KeyError
 95s
 95s The above exception was the direct cause of the following exception:
 95s
 95s     def test_collectionseditor():
 95s         """Test Collections editor."""
 95s         with qt_app_context(exec_loop=True):
 95s             dialog = CollectionsEditor()
 95s >           dialog.setup(get_test_data())
 95s                          ^^^^^^^^^^^^^^^
 95s
 95s tests/widgets/test_collectionseditor.py:120:
95s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 95s tests/widgets/test_collectionseditor.py:111: in get_test_data
95s image = PILImage.fromarray(np.random.randint(256, size=(100, 100)), mode="P") 95s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 95s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 95s
 95s obj = array([[ 30,  54,  93, ..., 201, 136,  61],
 95s        [ 26,  81, 227, ..., 172, 162, 105],
 95s        [180, 233,  29, ...,  4..., 221,  74],
 95s        [ 85,  91,  89, ..., 126,  34, 203],
 95s        [209, 112, 188, ..., 145, 174, 184]], shape=(100, 100))
 95s mode = 'P'
 95s
95s def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> Image:
 95s         """
95s Creates an image memory from an object exporting the array interface
 95s         (using the buffer protocol)::
 95s
 95s           from PIL import Image
 95s           import numpy as np
 95s           a = np.zeros((5, 5))
 95s           im = Image.fromarray(a)
 95s
95s If ``obj`` is not contiguous, then the ``tobytes`` method is called
 95s         and :py:func:`~PIL.Image.frombuffer` is used.
 95s
95s In the case of NumPy, be aware that Pillow modes do not always correspond 95s to NumPy dtypes. Pillow modes only offer 1-bit pixels, 8-bit pixels, 95s 32-bit signed integer pixels, and 32-bit floating point pixels.
 95s
 95s         Pillow images can also be converted to arrays::
 95s
 95s           from PIL import Image
 95s           import numpy as np
 95s           im = Image.open("hopper.jpg")
 95s           a = np.asarray(im)
 95s
95s When converting Pillow images to arrays however, only pixel values are 95s transferred. This means that P and PA mode images will lose their palette.
 95s
 95s         :param obj: Object with array interface
95s :param mode: Optional mode to use when reading ``obj``. Since pixel values do not 95s contain information about palettes or color spaces, this can be used to place 95s grayscale L mode data within a P mode image, or read RGB data as YCbCr for
 95s           example.
 95s
95s See: :ref:`concept-modes` for general information about modes.
 95s         :returns: An image object.
 95s
 95s         .. versionadded:: 1.1.6
 95s         """
 95s         arr = obj.__array_interface__
 95s         shape = arr["shape"]
 95s         ndim = len(shape)
 95s         strides = arr.get("strides", None)
 95s         try:
 95s             typekey = (1, 1) + shape[2:], arr["typestr"]
 95s         except KeyError as e:
 95s             if mode is not None:
 95s                 typekey = None
 95s                 color_modes: list[str] = []
 95s             else:
 95s                 msg = "Cannot handle this data type"
 95s                 raise TypeError(msg) from e
 95s         if typekey is not None:
 95s             try:
95s typemode, rawmode, color_modes = _fromarray_typemap[typekey]
 95s             except KeyError as e:
 95s                 typekey_shape, typestr = typekey
95s msg = f"Cannot handle this data type: {typekey_shape}, {typestr}"
 95s >               raise TypeError(msg) from e
 95s E               TypeError: Cannot handle this data type: (1, 1), <i8
 95s
 95s /usr/lib/python3/dist-packages/PIL/Image.py:3289: TypeError
95s _________________________________ test_console _________________________________
 95s
 95s     def test_console():
 95s         """Test Console widget."""
 95s         with qt_app_context(exec_loop=True):
 95s >           widget = Console(debug=False, multithreaded=True)
 95s                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 95s
 95s tests/widgets/test_console.py:22:
95s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 95s /usr/lib/python3/dist-packages/guidata/widgets/console/__init__.py:51: in __init__
 95s     InternalShell.__init__(
95s /usr/lib/python3/dist-packages/guidata/widgets/console/internalshell.py:208: in __init__
 95s     self.start_interpreter(namespace)
95s /usr/lib/python3/dist-packages/guidata/widgets/console/internalshell.py:241: in start_interpreter
 95s     self.new_prompt(self.interpreter.p1)
95s /usr/lib/python3/dist-packages/guidata/widgets/console/shell.py:255: in new_prompt
 95s     if self.get_cursor_line_column()[1] != 0:
 95s        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
95s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 95s
 95s self = <guidata.widgets.console.Console object at 0x7f1afc7b2330>
 95s
 95s     def get_cursor_line_column(self):
 95s         """Return cursor (line, column) numbers"""
 95s >       cursor = self.textCursor()
 95s                  ^^^^^^^^^^^^^^^^^
95s E RuntimeError: wrapped C/C++ object of type Console has been deleted
 95s
95s /usr/lib/python3/dist-packages/guidata/widgets/console/mixins.py:202: RuntimeError 95s =============================== warnings summary ===============================
 95s tests/widgets/test_theme.py:71
95s /tmp/autopkgtest-lxc.auymuc0z/downtmp/autopkgtest_tmp/tests/widgets/test_theme.py:71: PytestCollectionWarning: cannot collect test class 'TestWidget' because it has a __init__ constructor (from: tests/widgets/test_theme.py)
 95s     class TestWidget(BaseTestWidget):
 95s
95s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 95s =========================== short test summary info ============================ 95s FAILED tests/widgets/test_collectionseditor.py::test_collectionseditor - Type... 95s FAILED tests/widgets/test_console.py::test_console - RuntimeError: wrapped C/... 95s ============== 2 failed, 35 passed, 3 skipped, 1 warning in 1.54s ==============
 96s autopkgtest [09:25:31]: test command1: -----------------------]

--- End Message ---
--- Begin Message ---
Source: guidata
Source-Version: 3.13.3-1
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
guidata, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Mas <[email protected]> (supplier of updated guidata 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 [email protected])


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

Format: 1.8
Date: Tue, 25 Nov 2025 18:12:14 +0100
Source: guidata
Architecture: source
Version: 3.13.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1119262 1120202
Changes:
 guidata (3.13.3-1) unstable; urgency=medium
 .
   * New upstream release.
   * This upstream release fixes "FTBFS: E RuntimeError: wrapped C/C++
     object of type Console has been deleted", thanks to Santiago Vila
     (Closes: #1120202).
   * It also fixes "guidata autopkg tests fail with pillow 12.0 from
     unstable", thanks to Matthias Klose (Ubuntu) (Closes: #1119262).
Checksums-Sha1:
 35344e808b69f9a6f24ffd9d2f0cd020f92e627d 2564 guidata_3.13.3-1.dsc
 1cd27390d6a321cc8103f24691cb7cc2c25545e7 779492 guidata_3.13.3.orig.tar.gz
 cf09828975adae8684fc10f5cbf8eba2cf3a2b85 7360 guidata_3.13.3-1.debian.tar.xz
 a5d6dc6e9193ad605449bc2e7e66936c99bf48be 14146 guidata_3.13.3-1_amd64.buildinfo
Checksums-Sha256:
 931af5c42141e32c66d6b3945b0d1ab17ebc4e0290d3fd4809e069d9410b68ee 2564 
guidata_3.13.3-1.dsc
 a2007088498f226531462e76e6f142418fe59e06571e2c7b5c60b3a1e27ef9e1 779492 
guidata_3.13.3.orig.tar.gz
 e42aca0e57dcc5d56280c06f59e7ca3ae09570da73306e90b8288394d370538c 7360 
guidata_3.13.3-1.debian.tar.xz
 43a7993be21f0776d6ab302237e15985dcfc3120bb8dbc68f60fcaeb888f8c7a 14146 
guidata_3.13.3-1_amd64.buildinfo
Files:
 b342f8c44f50b40d6ecf9598890255bd 2564 science optional guidata_3.13.3-1.dsc
 eb29a6aeae97c1cea01ced8bd0a7eba5 779492 science optional 
guidata_3.13.3.orig.tar.gz
 1a5553d9904ba85b20f8bf925891acde 7360 science optional 
guidata_3.13.3-1.debian.tar.xz
 2396ea579ff1eb2476629b0bb448f04b 14146 science optional 
guidata_3.13.3-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmkl4/gACgkQ0w3s0lmT
Ivx4eA/8CajiVaVZaWvpEzwcUeyIgJ7WDiRuJB8vx53odvxMNSeQT4vdYD3lGBoD
RnsoO5kZf+JLLHXSUSKeCIkopySl0HdVUXVTpzWENCDeR6GQ3eO2o7yQNe1DZ6+v
WYhX4VoFfqVoRYdoLNBskzaiFjOnF7/rE3J3U6inWl7NaPKLkKzdu9FWzOSuCWWD
HIu2Igm4YOpi9GZy0V/MOCdiskio1hD85WBvbGSnER+da0n1n1KI2f4JBqd6GV98
FLVxUdpM5F+zQof8obw07+6TqfNgrwfxJLClPELFrxovTx1JwQ1ph8rVqmt79n1d
lg07oIh9mPYw0kums6hAZW0aLzWFmc5H4v3pA9KTzjm7fN3hgSuw2FuDSDKIeQHv
FTmotBwZk2dYBBHdoQJEihbauXiq9T4ScEai0WAQcRMJZSTyVG5AbD97aUYfIfJp
NwqlcS8W6HgKSkQ+Jc1dibbOxsG974bGferEuMkmrfB6Qq9ibZ946jVJPNG6ws/M
sGi9emp3HEbK5DbWVNozEoUyZTrmKTAnaEwmP3otCRqpNzd6fFTamOII6u0ybUMC
YMVyDRZIPOtvvqBdmCksep8jUtWavzD0rwEPXmH6tLKCoW2tcDp399QRrp3yiMzu
ziiE+S0kqSxAjoR+VxZnslXzTDdRzJSnOFFhQIHLUmcNyRfLrcw=
=uEOj
-----END PGP SIGNATURE-----

Attachment: pgpo4356KgQAZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to