Your message dated Wed, 21 Feb 2024 11:36:46 +0000
with message-id <[email protected]>
and subject line Bug#1056488: fixed in python-nudatus 0.0.5-3
has caused the Debian Bug report #1056488,
regarding python-nudatus autopkg tests fail with Python 3.12
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.)
--
1056488: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056488
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-nudatus
Version: 0.0.5-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-nudatus autopkg tests fail with Python 3.12:
[...]
256s ============================= test session starts
==============================
256s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0 --
/usr/bin/python3.12
256s cachedir: .pytest_cache
256s rootdir: /tmp/autopkgtest.jHOr5y/autopkgtest_tmp
256s collecting ... collected 7 items
256s
256s tests/test_nudatus.py::test_get_version PASSED
[ 14%]
256s tests/test_nudatus.py::test_mangle_script PASSED
[ 28%]
256s tests/test_nudatus.py::test_mangle_with_bad_syntax FAILED
[ 42%]
256s tests/test_nudatus.py::test_main_without_file PASSED
[ 57%]
256s tests/test_nudatus.py::test_main_with_file_without_output_file
PASSED [ 71%]
256s tests/test_nudatus.py::test_main_with_file_with_output_file PASSED
[ 85%]
256s tests/test_nudatus.py::test_main_with_bad_script FAILED
[100%]
256s
256s =================================== FAILURES
===================================
256s _________________________ test_mangle_with_bad_syntax
__________________________
256s
256s def test_mangle_with_bad_syntax():
256s """
256s Check that mangle throws an
256s exception for a badly formatted script
256s """
256s script = ""
256s with open("tests/bigscript_bad.py") as f:
256s script = f.read()
256s assert len(script) > 0
256s > with pytest.raises(tokenize.TokenError):
256s E Failed: DID NOT RAISE <class 'tokenize.TokenError'>
256s
256s tests/test_nudatus.py:47: Failed
256s __________________________ test_main_with_bad_script
___________________________
256s
256s capfd = <_pytest.capture.CaptureFixture object at 0x7f2ea6f42ff0>
256s
256s def test_main_with_bad_script(capfd):
256s with pytest.raises(SystemExit) as ex:
256s with mock.patch("sys.argv", ["nudatus",
"tests/bigscript_bad.py"]):
256s nudatus.main()
256s > assert ex.value.code == 1
256s
256s tests/test_nudatus.py:98:
256s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
256s
256s self = <ExceptionInfo for raises contextmanager>
256s
256s @property
256s def value(self) -> E:
256s """The exception value."""
256s > assert (
256s self._excinfo is not None
256s ), ".value can only be used after the context manager exits"
256s E AssertionError: .value can only be used after the context
manager exits
256s
256s /usr/lib/python3/dist-packages/_pytest/_code/code.py:558:
AssertionError
256s ----------------------------- Captured stdout call
-----------------------------
256s from microbit import *
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s
256s )
256s def show_num(num):
256s if 1 + 1 == 2 and 2 + 2 == 4 or 3 + 3 == 6 \
256s and 3 - 3 == 0 and 'this is nonsense' == 'this is nonsense':
256s print('Hello')
256s text = """
256s This should survive
256s """
256s i = Image()
256s i.fill(0)
256s if num & 0b00001000:
256s i.set_pixel(0, 2, 9)
256s if num & 0b00000100:
256s i.set_pixel(1, 2, 9)
256s if num & 0b00000010:
256s i.set_pixel(2, 2, 9)
256s if num & 0b00000001:
256s i.set_pixel(3, 2, 9)
256s display.show(i)
256s
256s show_num(12)
256s =========================== short test summary info
============================
256s FAILED tests/test_nudatus.py::test_mangle_with_bad_syntax - Failed:
DID NOT R...
256s FAILED tests/test_nudatus.py::test_main_with_bad_script -
AssertionError: .va...
256s ========================= 2 failed, 5 passed in 0.08s
==========================
--- End Message ---
--- Begin Message ---
Source: python-nudatus
Source-Version: 0.0.5-3
Done: Nick Morrott <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-nudatus, 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.
Nick Morrott <[email protected]> (supplier of updated python-nudatus 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: Wed, 21 Feb 2024 11:19:25 +0000
Source: python-nudatus
Architecture: source
Version: 0.0.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Nick Morrott <[email protected]>
Closes: 1056488 1058114
Changes:
python-nudatus (0.0.5-3) unstable; urgency=medium
.
* d/clean:
- Remove generated manpage files
* d/control:
- Declare compliance with Debian Policy 4.6.2
* d/copyright:
- Update years of Debian copyright
* d/lintian-overrides:
- Refresh overrides for updated format string
* d/patches:
- Add patch explicitly-raise-tokenerror (Closes: #1058114)
- Add patch assert-after-context-manager-exits (Closes: #1056488)
* d/s/lintian-overrides:
- Add override for long lines in test source
- Add override for excluded SCM/CI files
* d/watch:
- Reformat lines
Checksums-Sha1:
efc04be118773451f3a4be4101ea0c46f947735c 2114 python-nudatus_0.0.5-3.dsc
a4ba96730345ecb953db66c11ccdf3f4c42c9e46 5196
python-nudatus_0.0.5-3.debian.tar.xz
84c15246058fb1432cb46e3bf4cf94b32ae114df 7211
python-nudatus_0.0.5-3_amd64.buildinfo
Checksums-Sha256:
acf4f910c274df64bb0fa63f1d16cf254fa7f6e7e1e245c0cac5a840c4a505f1 2114
python-nudatus_0.0.5-3.dsc
5d7e43ab95a761ef9c5a2ac7d08c91f55565179ea463fdd6f7cc866bcc03cdc6 5196
python-nudatus_0.0.5-3.debian.tar.xz
5908842a0fc08a8a9390b9a76d5a14e86334e8c16e0e85a22a828ad2c921b777 7211
python-nudatus_0.0.5-3_amd64.buildinfo
Files:
8f37c8cac302f8d9a14835937db5f37e 2114 python optional
python-nudatus_0.0.5-3.dsc
b78e4795be4ab291178dd04089085563 5196 python optional
python-nudatus_0.0.5-3.debian.tar.xz
3c65ece16415d38c5ff5a9c5d37d41fc 7211 python optional
python-nudatus_0.0.5-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEIrPZe+nomMkP9lI7PptZrG7C01kFAmXV3PEACgkQPptZrG7C
01kAZQ/+KzptEido7+5jlUpKR7537vb/da7aI3E2+orBs6WrPMtrNFHz2fm0kx7U
epQjcnhd8wc7OWRFNUdB/JRdj8IDAkoYyv9JjxsvBVx44dXkYpaArz4QFAme2h+h
+aA/ojQMZAG8cNG+r+TVf8FwoD9dxQmeXlBdxFpX1JfdBW5tQ2VlIJXyfy5MaCpt
Kv75JbmFKvq0Ey/Q6/5OQHBGSk6rWCo9by2ToOJuiPf4AwQQyp7X71HHbezLkf/c
hYVP0+5jygeQRInTI2fpnz0EaHrwiiwI8qeTXOaBUQxzm2X7VehVbZsmg/wEOG/i
7QPZogMjg5tSRycrGMe6rEVpR+XLoFQpV4TlK2zFmMNkaxlEYp6qO5yOnjp74Jbu
FEW6HOE7IVW5VM0CWVT8umz161ucxliLwL3+FLAO4QkKdjLoQDAmMfD3fwVtw2uy
cJQi0VwEvySLH5mgvFlLqNAV+F8SYfowt1iNmKQK3s+z+P5YyV5wJgob5wloQ44D
dqqQlj1800evbuM6Yb3EebnZti3TRcIIAnDgBhKLKePjkZp1dUAeQtFatySCgzgy
0KDL9p/SM8D9XMsFXnZcWGJ6AWcmIVsaWcY5IdxU8brQRNvhcVohsTF9cctU1PWK
QqUOOur67k49DypA0hKswFMEu39wUTTHNgq6dF21QRJpQhAcfqI=
=LMzB
-----END PGP SIGNATURE-----
pgpyWl_XbcOQi.pgp
Description: PGP signature
--- End Message ---