Your message dated Mon, 29 Nov 2021 08:49:04 +0000
with message-id <e1mrclq-0000tc...@fasolo.debian.org>
and subject line Bug#997480: fixed in python-click-threading 0.5.0-1
has caused the Debian Bug report #997480,
regarding python-click-threading: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 3.9 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.)


-- 
997480: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997480
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-click-threading
Version: 0.4.4-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> LC_ALL=C.UTF-8 dh_auto_test
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 
> in use)
> I: pybuild base:232: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_click-threading/build; python3.9 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 3 items
> 
> tests/test_basic.py .FF                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________________ test_ui_worker_basic 
> _____________________________
> 
> runner = <click.testing.CliRunner object at 0x7fa3914a74c0>
> 
>     def test_ui_worker_basic(runner):
>         @click.command()
>         def cli():
>     
>             ui = click_threading.UiWorker()
>     
>             def target():
>                 click.prompt('two')
>                 ui.shutdown()
>     
>             click.prompt('one')
>     
>             with ui.patch_click():
>                 t = click_threading.Thread(target=target)
>                 t.start()
>                 ui.run()
>     
>             click.prompt('three')
>             t.join()
>     
> >       result = runner.invoke(cli, catch_exceptions=False, input='y\n' * 3)
> 
> tests/test_basic.py:53: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/click/testing.py:408: in invoke
>     return_value = cli.main(args=args or (), prog_name=prog_name, **extra)
> /usr/lib/python3/dist-packages/click/core.py:1051: in main
>     rv = self.invoke(ctx)
> /usr/lib/python3/dist-packages/click/core.py:1393: in invoke
>     return ctx.invoke(self.callback, **ctx.params)
> /usr/lib/python3/dist-packages/click/core.py:752: in invoke
>     return __callback(*args, **kwargs)
> tests/test_basic.py:45: in cli
>     with ui.patch_click():
> /usr/lib/python3.9/contextlib.py:119: in __enter__
>     return next(self.gen)
> click_threading/__init__.py:144: in patch_click
>     with patch_ui_functions(wrapper):
> /usr/lib/python3.9/contextlib.py:119: in __enter__
>     return next(self.gen)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> wrapper = <function UiWorker.patch_click.<locals>.wrapper at 0x7fa3915c4160>
> 
>     @contextlib.contextmanager
>     def patch_ui_functions(wrapper):
>         '''Wrap all termui functions with a custom decorator.'''
>         NONE = object()
>         import click
>     
>         saved = []
>     
>         for name, info in sorted(_ui_functions.items()):
>             f = getattr(click, name, NONE)
>             if f is NONE:
>                 continue
>     
>             new_f = wrapper(_copy_fn(f), info)
>     
>             argspec = getargspec(f)
>             signature = inspect.formatargspec(*argspec) \
>                 .lstrip('(') \
>                 .rstrip(')')
>             args = ', '.join(arg.split('=')[0].split(':')[0].strip()
>                              for arg in signature.split(','))
>     
> >           stub_f = eval('lambda {s}: {n}._real_click_fn({a})'
>                           .format(n=f.__name__, s=signature, a=args))
> E             File "<string>", line 1
> E               lambda ) -> None: clear._real_click_fn() -> None)
> E                      ^
> E           SyntaxError: unmatched ')'
> 
> click_threading/monkey.py:50: SyntaxError
> ______________________________ test_monkey_patch 
> _______________________________
> 
> capsys = <_pytest.capture.CaptureFixture object at 0x7fa390ac3a90>
> 
>     def test_monkey_patch(capsys):
>         old_echo = click.echo
>         if PY2:
>             old_code = old_echo.func_code
>         else:
>             old_code = old_echo.__code__
>     
>         def wrapper(f, info):
>             def new_f(*a, **kw):
>                 assert old_echo is not f
>                 if PY2:
>                     assert f.func_code is old_code
>                 else:
>                     assert f.__code__ is old_code
>     
>                 print("LOL")
>                 rv = f(*a, **kw)
>                 print("LOL")
>                 return rv
>             return new_f
>     
> >       with click_threading.monkey.patch_ui_functions(wrapper):
> 
> tests/test_basic.py:78: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3.9/contextlib.py:119: in __enter__
>     return next(self.gen)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> wrapper = <function test_monkey_patch.<locals>.wrapper at 0x7fa391487af0>
> 
>     @contextlib.contextmanager
>     def patch_ui_functions(wrapper):
>         '''Wrap all termui functions with a custom decorator.'''
>         NONE = object()
>         import click
>     
>         saved = []
>     
>         for name, info in sorted(_ui_functions.items()):
>             f = getattr(click, name, NONE)
>             if f is NONE:
>                 continue
>     
>             new_f = wrapper(_copy_fn(f), info)
>     
>             argspec = getargspec(f)
>             signature = inspect.formatargspec(*argspec) \
>                 .lstrip('(') \
>                 .rstrip(')')
>             args = ', '.join(arg.split('=')[0].split(':')[0].strip()
>                              for arg in signature.split(','))
>     
> >           stub_f = eval('lambda {s}: {n}._real_click_fn({a})'
>                           .format(n=f.__name__, s=signature, a=args))
> E             File "<string>", line 1
> E               lambda ) -> None: clear._real_click_fn() -> None)
> E                      ^
> E           SyntaxError: unmatched ')'
> 
> click_threading/monkey.py:50: SyntaxError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.9_click-threading/build/tests/test_basic.py::test_ui_worker_basic
> .pybuild/cpython3_3.9_click-threading/build/tests/test_basic.py::test_monkey_patch
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_click-threading/build/click_threading/monkey.py:44:
>  DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use 
> `signature` and the `Signature` object directly
>     signature = inspect.formatargspec(*argspec) \
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_basic.py::test_ui_worker_basic -   File "<string>", line 1
> FAILED tests/test_basic.py::test_monkey_patch -   File "<string>", line 1
> =================== 2 failed, 1 passed, 2 warnings in 0.13s 
> ====================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_click-threading/build; python3.9 -m 
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/python-click-threading_0.4.4-2_unstable.log

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 marking 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-click-threading
Source-Version: 0.5.0-1
Done: Håvard Flaget Aasen <haavard_aa...@yahoo.no>

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

Debian distribution maintenance software
pp.
Håvard Flaget Aasen <haavard_aa...@yahoo.no> (supplier of updated 
python-click-threading 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: Mon, 29 Nov 2021 08:05:38 +0000
Source: python-click-threading
Architecture: source
Version: 0.5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Håvard Flaget Aasen <haavard_aa...@yahoo.no>
Closes: 996337 997480 1000732
Changes:
 python-click-threading (0.5.0-1) unstable; urgency=medium
 .
   * Team upload.
   [ Ondřej Nový ]
   * d/control: Update Maintainer field with new Debian Python Team
     contact address.
   * d/control: Update Vcs-* fields with new Debian Python Team Salsa
     layout.
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since stretch:
     + Build-Depends: Drop versioned constraint on dh-python.
   * Bump debhelper from old 9 to 13.
   * Set upstream metadata fields: Bug-Database, Repository, Repository-
     Browse, Bug-Submit.
 .
   [ Håvard Flaget Aasen ]
   * New upstream version 0.5.0.
     New upstream release is compatible with python3-click version 8.0.
     Closes: #996337, #997480, #1000732
   * Drop patch, no longer needed.
   * d/watch: Update to version 4.
   * Add upstream testsuite as autopkgtest.
   * d/copyright: Add upstream-contact.
   * Add rules-requires-root.
   * Update Standards-Version to 4.6.0.
Checksums-Sha1:
 26709ff1dcf5ad5ccad86063d106e81789a39d52 2256 
python-click-threading_0.5.0-1.dsc
 0934347a971b1f48d6ab3c2609a21412f3c7c798 9836 
python-click-threading_0.5.0.orig.tar.gz
 6fb1ebc5d5524fdaf4c0e345cf128b073dcd081d 2968 
python-click-threading_0.5.0-1.debian.tar.xz
 8764e35d31a7791e970ae6d27341ed271d4a5ccf 8100 
python-click-threading_0.5.0-1_source.buildinfo
Checksums-Sha256:
 c0751ba94c17e661e393dffc72f517138b7a7664b31511665e4a8d0bd9666b95 2256 
python-click-threading_0.5.0-1.dsc
 3447f65ca151015c9572dbf72a6bb62c2672ae8851abc96794930116f72d496c 9836 
python-click-threading_0.5.0.orig.tar.gz
 dd86fecbfd6f7f56d1c3e3d61a215d25b766366e85f64e90fed77accd770295f 2968 
python-click-threading_0.5.0-1.debian.tar.xz
 e9fe80f270d70b7e50552edd9b6cd241f5d9c85eb49aa32c1ebc7824c7134c37 8100 
python-click-threading_0.5.0-1_source.buildinfo
Files:
 26bcf827190945f8c477940580ed19ae 2256 python optional 
python-click-threading_0.5.0-1.dsc
 55bf1cf487213dcf1251720e82ec7582 9836 python optional 
python-click-threading_0.5.0.orig.tar.gz
 c9d34e7073331a66907a8674280d0958 2968 python optional 
python-click-threading_0.5.0-1.debian.tar.xz
 1a5675a8bef6a4fe89635abb6dd600ea 8100 python optional 
python-click-threading_0.5.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmGkihUACgkQQoMEoXSN
zHrNkRAAmnAMaEmSU/ucmc/4RDcwIQ356LV9S7Ol6DrYieAt2MsosOqfklUmrzRP
Wvi3Ad76SddolnE3K9ZkHJ6ACvF6X6ZiPo2cNPDRpNl0jBigylD+pOk17/5UJHLI
EEPYneLnFUcS0fl6zLxiYNidM1ZnROy71XIAHQBPpe0pEQ15Xox6OOEBbeRzBdrr
4Xu8OLVtRZNXj1OO+Q5rBOl0HGoeWOnKmTuUsCmNKcvsPFe3KQmm96ZvQc1b5meT
q4PhuUjzA57r8t25C63i/fvxrnPU2+6+NDHPSlFOFqnvoyUAiEzb+TtG/LEa3h3e
xiqVHa0CUv7J7mr/dtL2yb4d6e+TqxxnB1e2yVDyVQnUzR2IzIE5duch+24hOw/R
CvhYfgqm2x0LMTRIr53zPehsCM6xzuoBB6Bn5AKxLasAv8qOq7EbUB2hK+ThzStY
lr2oGmWGAx0hUgVgCKvxkCdYOkDSu+2794R6YlTM4pDODfKh2raVoa1m7iU9zId4
y4FktVN1H5KKaP3V1NRVJ8llglEtDolE5YdBM8m494PAZVj1k5j8SrFZLgOG3qk4
of8dZY2naRsizuU8G6ljPCVJvS2j/sexytjt7eINEIUoF4d8OtXhsPqC3ikxVu+s
/0adXgnCGkidNEYxR+r01CoWnCbIwXF01ZhZhqOZhOivZBol5yk=
=qlt9
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to