Your message dated Thu, 20 Jun 2024 23:19:57 +0200 (CEST)
with message-id
<1001614626.61759754.1718918397631.javamail.zim...@synchrotron-soleil.fr>
and subject line silx: debci fails tests (testClickOnBackToParentTool)
has caused the Debian Bug report #1072591,
regarding silx: debci fails tests (testClickOnBackToParentTool)
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.)
--
1072591: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1072591
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: silx
Version: 2.0.1+dfsg-3
Severity: serious
Justification: debci
Control: affects -1 src:scipy
silx has started failing debci tests.
This is blocking migration of scipy 1.12 to testing
(though in principle scipy shouldn't be causing the problem, since
tests passed recently against the version in experimental)
pytest itself is passing tests on python3.12.
But in unstable, the no-opencl test ends (before starting the
python3.11 test) with the message:
207s ========= 1627 passed, 293 skipped, 170 warnings in 103.58s (0:01:43)
==========
208s Error in sys.excepthook:
208s
208s Original exception was:
208s autopkgtest [17:03:52]: test no-opencl: -----------------------]
208s autopkgtest [17:03:52]: test no-opencl: - - - - - - - - - - results - - -
- - - - - - -
208s no-opencl FAIL non-zero exit status 245
In testing (using scipy 1.12 from unstable), python3.12 again passes
but python3.11 gives a more explicit error message
372s __________ TestImageFileDialogInteraction.testClickOnBackToParentTool
__________
372s
372s self =
<silx.gui.dialog.test.test_imagefiledialog.TestImageFileDialogInteraction
testMethod=testClickOnBackToParentTool>
372s
372s def testClickOnBackToParentTool(self):
372s dialog = self.createDialog()
372s dialog.show()
372s self.qWaitForWindowExposed(dialog)
372s
372s url = testutils.findChildren(dialog, qt.QLineEdit, name="url")[0]
372s action = testutils.findChildren(dialog, qt.QAction,
name="toParentAction")[0]
372s toParentButton = testutils.getQToolButtonFromAction(action)
372s filename = _tmpDirectory + "/data/data.h5"
372s
372s # init state
372s path = silx.io.url.DataUrl(file_path=filename,
data_path="/group/image").path()
372s dialog.selectUrl(path)
372s self.qWaitForPendingActions(dialog)
372s path = silx.io.url.DataUrl(
372s scheme="silx", file_path=filename, data_path="/group/image"
372s ).path()
372s self.assertSamePath(url.text(), path)
372s # test
372s self.mouseClick(toParentButton, qt.Qt.LeftButton)
372s self.qWaitForPendingActions(dialog)
372s path = silx.io.url.DataUrl(
372s scheme="silx", file_path=filename, data_path="/"
372s ).path()
372s self.assertSamePath(url.text(), path)
372s
372s self.mouseClick(toParentButton, qt.Qt.LeftButton)
372s self.qWaitForPendingActions(dialog)
372s self.assertSamePath(url.text(), _tmpDirectory + "/data")
372s
372s self.mouseClick(toParentButton, qt.Qt.LeftButton)
372s self.qWaitForPendingActions(dialog)
372s > self.assertSamePath(url.text(), _tmpDirectory)
372s
372s
/usr/lib/python3/dist-packages/silx/gui/dialog/test/test_imagefiledialog.py:285:
372s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
372s
/usr/lib/python3/dist-packages/silx/gui/dialog/test/test_imagefiledialog.py:136:
in assertSamePath
372s self.assertEqual(path1, path2)
372s E AssertionError:
'/tmp/silx.gui.dialog.test.test_imagefiledialogftofnov4/data' !=
'/tmp/silx.gui.dialog.test.test_imagefiledialogftofnov4'
372s E - /tmp/silx.gui.dialog.test.test_imagefiledialogftofnov4/data
372s E ? -----
372s E + /tmp/silx.gui.dialog.test.test_imagefiledialogftofnov4
--- End Message ---
--- Begin Message ---
the new 2.1.0 upstream version fixed this issue.
Cheers
--- End Message ---