Your message dated Wed, 21 Feb 2024 11:36:46 +0000
with message-id <e1rcku6-005l51...@fasolo.debian.org>
and subject line Bug#1058114: fixed in python-nudatus 0.0.5-3
has caused the Debian Bug report #1058114,
regarding python-nudatus: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
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.)


-- 
1058114: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058114
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-nudatus
Version: 0.0.5-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
>       pybuild --build -i python{version} -p "3.12 3.11"
> D: pybuild pybuild:605: version: 6.20231204
> D: pybuild pybuild:606: ['/usr/bin/pybuild', '--build', '-i', 
> 'python{version}', '-p', '3.12 3.11']
> D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, 
> really_quiet=False, detect_only=False, clean_only=False, 
> configure_only=False, build_only=True, install_only=False, test_only=False, 
> autopkgtest_only=False, list_systems=False, print_args=None, 
> before_clean=None, clean_args=None, after_clean=None, before_configure=None, 
> configure_args=None, after_configure=None, before_build=None, 
> build_args=None, after_build=None, before_install=None, install_args=None, 
> after_install=None, before_test=None, test_args=None, after_test=None, 
> test_nose=False, test_nose2=False, test_pytest=False, test_tox=False, 
> test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', 
> ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, 
> ext_sub_repl=None, install_dir=None, name='nudatus', system=None, 
> versions=['3.12', '3.11'], interpreter=['python{version}'], disable=None, 
> custom_tests=False)
> D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
> 'cmake'
> D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
> 'meson'
> D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
> D: pybuild debhelper:183: source=python-nudatus, binary 
> packages=['python3-nudatus']
> D: pybuild pybuild:129: Plugin autopkgtest: certainty 0
> D: pybuild pybuild:129: Plugin custom: certainty 0
> D: pybuild pybuild:129: Plugin distutils: certainty 50
> D: pybuild pybuild:129: Plugin flit: certainty 0
> D: pybuild pybuild:129: Plugin pyproject: certainty 0
> D: pybuild pybuild:155: detected build system: distutils (certainty: 50%)
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> D: pybuild tools:232: invoking: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> copying nudatus.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> D: pybuild tools:232: invoking: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying nudatus.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nudatus/build
> # build custom manpage
> DEB_VERSION_UPSTREAM 0.0.5
> sed -e "s/__VERSION__/0.0.5/g" \
>                       < debian/nudatus.1.md.in > debian/nudatus.1.md
> pandoc debian/nudatus.1.md -s -f markdown -t man -o debian/nudatus.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
>       pybuild --test --test-pytest -i python{version} -p "3.12 3.11"
> D: pybuild pybuild:605: version: 6.20231204
> D: pybuild pybuild:606: ['/usr/bin/pybuild', '--test', '--test-pytest', '-i', 
> 'python{version}', '-p', '3.12 3.11']
> D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, 
> really_quiet=False, detect_only=False, clean_only=False, 
> configure_only=False, build_only=False, install_only=False, test_only=True, 
> autopkgtest_only=False, list_systems=False, print_args=None, 
> before_clean=None, clean_args=None, after_clean=None, before_configure=None, 
> configure_args=None, after_configure=None, before_build=None, 
> build_args=None, after_build=None, before_install=None, install_args=None, 
> after_install=None, before_test=None, test_args=None, after_test=None, 
> test_nose=False, test_nose2=False, test_pytest=True, test_tox=False, 
> test_custom=False, dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', 
> ext_destdir=None, ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, 
> ext_sub_repl=None, install_dir=None, name='nudatus', system=None, 
> versions=['3.12', '3.11'], interpreter=['python{version}'], disable=None, 
> custom_tests=True)
> D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
> 'cmake'
> D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
> 'meson'
> D: pybuild tools:232: invoking: /usr/bin/dpkg-architecture
> D: pybuild debhelper:183: source=python-nudatus, binary 
> packages=['python3-nudatus']
> D: pybuild pybuild:129: Plugin autopkgtest: certainty 0
> D: pybuild pybuild:129: Plugin custom: certainty 0
> D: pybuild pybuild:129: Plugin distutils: certainty 50
> D: pybuild pybuild:129: Plugin flit: certainty 0
> D: pybuild pybuild:129: Plugin pyproject: certainty 0
> D: pybuild pybuild:155: detected build system: distutils (certainty: 50%)
> D: pybuild base:72: Copying /<<PKGBUILDDIR>>/tests to 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build/tests for tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build; python3.12 -m pytest 
> tests
> D: pybuild tools:232: invoking: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build; python3.12 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 7 items
> 
> tests/test_nudatus.py ..F...F                                            
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________ test_mangle_with_bad_syntax 
> __________________________
> 
>     def test_mangle_with_bad_syntax():
>         """
>         Check that mangle throws an
>         exception for a badly formatted script
>         """
>         script = ""
>         with open("tests/bigscript_bad.py") as f:
>             script = f.read()
>         assert len(script) > 0
> >       with pytest.raises(tokenize.TokenError):
> E       Failed: DID NOT RAISE <class 'tokenize.TokenError'>
> 
> tests/test_nudatus.py:47: Failed
> __________________________ test_main_with_bad_script 
> ___________________________
> 
> capfd = <_pytest.capture.CaptureFixture object at 0x7f21cde82ff0>
> 
>     def test_main_with_bad_script(capfd):
>         with pytest.raises(SystemExit) as ex:
>             with mock.patch("sys.argv", ["nudatus", 
> "tests/bigscript_bad.py"]):
>                 nudatus.main()
> >           assert ex.value.code == 1
> 
> tests/test_nudatus.py:98: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = <ExceptionInfo for raises contextmanager>
> 
>     @property
>     def value(self) -> E:
>         """The exception value."""
> >       assert (
>             self._excinfo is not None
>         ), ".value can only be used after the context manager exits"
> E       AssertionError: .value can only be used after the context manager 
> exits
> 
> /usr/lib/python3/dist-packages/_pytest/_code/code.py:558: AssertionError
> ----------------------------- Captured stdout call 
> -----------------------------
> from microbit import *
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> )
> def show_num(num):
>     if 1 + 1 == 2 and 2 + 2 == 4 or 3 + 3 == 6 \
>        and 3 - 3 == 0 and 'this is nonsense' == 'this is nonsense':
>         print('Hello')
>         text = """
>               This should survive
>               """
>     i = Image()
>     i.fill(0)
>     if num & 0b00001000:
>         i.set_pixel(0, 2, 9)
>     if num & 0b00000100:
>         i.set_pixel(1, 2, 9)
>     if num & 0b00000010:
>         i.set_pixel(2, 2, 9)
>     if num & 0b00000001:
>         i.set_pixel(3, 2, 9)
>     display.show(i)
> 
> show_num(12)
> =========================== short test summary info 
> ============================
> FAILED tests/test_nudatus.py::test_mangle_with_bad_syntax - Failed: DID NOT 
> R...
> FAILED tests/test_nudatus.py::test_main_with_bad_script - AssertionError: 
> .va...
> ========================= 2 failed, 5 passed in 0.10s 
> ==========================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build; python3.12 -m pytest 
> tests
> Traceback (most recent call last):
>   File "/usr/bin/pybuild", line 393, in main
>     run(func, i, version, c)
>   File "/usr/bin/pybuild", line 331, in run
>     result = func(context, args)
>              ^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/dh-python/dhpython/build/base.py", line 363, in 
> wrapped_func
>     raise Exception(msg)
> Exception: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_nudatus/build; python3.12 -m pytest 
> tests
> D: pybuild base:72: Copying /<<PKGBUILDDIR>>/tests to 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nudatus/build/tests for tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nudatus/build; python3.11 -m pytest 
> tests
> D: pybuild tools:232: invoking: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_nudatus/build; python3.11 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 7 items
> 
> tests/test_nudatus.py .......                                            
> [100%]
> 
> ============================== 7 passed in 0.11s 
> ===============================
>       rm -fr -- /tmp/dh-xdg-rundir-cz2ye3DW
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-nudatus_0.0.5-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-nudatus
Source-Version: 0.0.5-3
Done: Nick Morrott <ni...@debian.org>

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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nick Morrott <ni...@debian.org> (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 ftpmas...@ftp-master.debian.org)


-----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 <team+pyt...@tracker.debian.org>
Changed-By: Nick Morrott <ni...@debian.org>
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-----

Attachment: pgpPMVgh1C2f2.pgp
Description: PGP signature


--- End Message ---

Reply via email to