Your message dated Sun, 08 Jan 2023 15:41:04 +0000
with message-id <e1pexne-008aw2...@fasolo.debian.org>
and subject line Bug#1025188: fixed in spyder-unittest 0.5.1-2
has caused the Debian Bug report #1025188,
regarding spyder-unittest: (autopkgtest) needs update for python3.11: 
AssertionError
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.)


-- 
1025188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025188
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: spyder-unittest
Version: 0.5.1-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of spyder-unittest fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
spyder-unittest        from testing    0.5.1-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/s/spyder-unittest/28796442/log.gz

=================================== FAILURES =================================== ______________ test_run_tests_using_unittest_and_display_results _______________

qtbot = <pytestqt.qtbot.QtBot object at 0x7fd5120ba390>
widget = <spyder_unittest.widgets.unittestgui.UnitTestWidget object at 0x7fd5120a29e0> tmpdir = local('/tmp/pytest-of-debci/pytest-0/test_run_tests_using_unittest_0')
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd5120bba10>

    def test_run_tests_using_unittest_and_display_results(
            qtbot, widget, tmpdir, monkeypatch):
        """Basic check."""
        os.chdir(tmpdir.strpath)
        testfilename = tmpdir.join('test_foo.py').strpath
            with open(testfilename, 'w') as f:
            f.write("import unittest\n"
                    "class MyTest(unittest.TestCase):\n"
                    "   def test_ok(self): self.assertEqual(1+1, 2)\n"
                    "   def test_fail(self): self.assertEqual(1+1, 3)\n")
            MockQMessageBox = Mock()

monkeypatch.setattr('spyder_unittest.widgets.unittestgui.QMessageBox',
                            MockQMessageBox)
config = Config(wdir=tmpdir.strpath, framework='unittest', coverage=False) with qtbot.waitSignal(widget.sig_finished, timeout=10000, raising=True):
            widget.run_tests(config)
            MockQMessageBox.assert_not_called()
        model = widget.testdatamodel
        assert model.rowCount() == 2
        assert model.index(0, 0).data(Qt.DisplayRole) == 'FAIL'
      assert model.index(0, 1).data(Qt.DisplayRole) == 't.M.test_fail'
E       AssertionError: assert 't.M.test_f.test_fail' == 't.M.test_fail'
E         - t.M.test_fail
E         + t.M.test_f.test_fail
E         ?           +++++++

/tmp/autopkgtest-lxc.6hcp6lhp/downtmp/build.hJ9/src/spyder_unittest/widgets/tests/test_unittestgui.py:210: AssertionError

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: spyder-unittest
Source-Version: 0.5.1-2
Done: Julian Gilbey <j...@debian.org>

We believe that the bug you reported is fixed in the latest version of
spyder-unittest, 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 1025...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Gilbey <j...@debian.org> (supplier of updated spyder-unittest 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: SHA256

Format: 1.8
Date: Sun, 08 Jan 2023 13:50:33 +0000
Source: spyder-unittest
Architecture: source
Version: 0.5.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Julian Gilbey <j...@debian.org>
Closes: 1025188
Changes:
 spyder-unittest (0.5.1-2) unstable; urgency=medium
 .
   * Fix build failure with Python 3.11 (closes: #1025188)
Checksums-Sha1:
 f0d0382747f007d3683384f5663f3cf39d170dcd 2376 spyder-unittest_0.5.1-2.dsc
 2c936d5dddbe613bc3a0fbf2214668836caa2069 5324 
spyder-unittest_0.5.1-2.debian.tar.xz
 e20452bdacebd430dc1711118500edbeb66ea4b4 19231 
spyder-unittest_0.5.1-2_amd64.buildinfo
Checksums-Sha256:
 df8a8fe36f3dd03765d2fdd3388221f180733942904402e63299a634db29151b 2376 
spyder-unittest_0.5.1-2.dsc
 46cf59b55b9bef3e361e94ec40feff418a73f063432b125ea19741a5ebb3e8bb 5324 
spyder-unittest_0.5.1-2.debian.tar.xz
 37867731a296916163570aa6956b04c52a56c8c4b13de2b1ab68bda3f011b08c 19231 
spyder-unittest_0.5.1-2_amd64.buildinfo
Files:
 f6eeabdc808022bfe1e101b35d6f4ff5 2376 python optional 
spyder-unittest_0.5.1-2.dsc
 2bf33c1c9535425b859a8fdfab7f825e 5324 python optional 
spyder-unittest_0.5.1-2.debian.tar.xz
 af749df10695f2a7b60607fd54858322 19231 python optional 
spyder-unittest_0.5.1-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEfhrD+iemSShMMj72aVxCkxbAe/4FAmO62soACgkQaVxCkxbA
e/6szBAAlcSLTriLJXDBl1OHHRODXbnKMFZoLMHLBh23kf9ez3TVUUx4kpApOfC6
PoHNFnvyNIABuyfQZc7gUyAGQlAO5ax3XsfhDH45g4Zn3He3zTCf9Ssfka7Iqotb
taj3i683v1qbY1XY8DQnpDGD6FEuiDhtunv1MafF6efGYHmB0MZACxfnYIAstaVf
17gPkbzaGaX5R0O7Dyg3RG6Y2jxOuLfTbYN94adgvkp/KaXmUI32cZtc7JyLn53P
NN9GN0ap+ugmVQz8GBrXXTdYK+Cu2vXAslD/BiVh6dC4c9FPhnQZx3HCP+T2ysDX
ac1rTMz7HPzOOwVa3N8ek5f9RrSM11pRPA5nAxDKA9U1a5eZmNuHcEhJl2Ee7sgP
mQGUnUL9ZnsNuEFvBr4fYUe0TkUD+jScFkK4Qg9qPkJQuZLf9y6e2jSNmBGQzQnx
SGs9HZ5zGfPNJTMNq1UXn6G5BUPZCODgdDc5FV59aSBoK3y9y2s0PjtOFD7SkFt1
pUaoyUeFt8926Eb2PlGKinUFdcmHJiwaIkTAPcpQckLp7Q4dwuO/ocxfWIyZQuJZ
ZIUacI5UArYhpPzpCFShkyFPx5Oj5LNyXe0qZI9LhMssq6kGhrhbQmWPrsrEtKBP
HO8RVg2Fm1IN4poO9n0nKXIHJ/ObG3rX/sG/rL9nfuEJYKu2mmQ=
=asYQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to