Your message dated Mon, 15 Jun 2020 17:04:26 +0000
with message-id <e1jksx4-0009r5...@fasolo.debian.org>
and subject line Bug#959532: fixed in python-nest-asyncio 1.3.3-1
has caused the Debian Bug report #959532,
regarding python-nest-asyncio FTBFS: test failures
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.)


-- 
959532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959532
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-nest-asyncio
Version: 1.2.3-1
Severity: serious
Tags: ftbfs fixed-upstream

https://buildd.debian.org/status/package.php?p=python-nest-asyncio

...
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build; python3.7 
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.7.7, pytest-4.6.9, py-1.8.1, pluggy-0.13.0
rootdir: /<<PKGBUILDDIR>>
collected 5 items

tests/contextvar_test.py s                                               [ 20%]
tests/nest_test.py FException: {'task': <Task pending coro=<NestTest.coro() 
running at /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py:23> 
wait_for=<Future pending cb=[Task.__wakeup()] created at 
/usr/lib/python3.7/asyncio/base_events.py:395> created at 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py:44>, 'message': 
'Task was destroyed but it is pending!', 'source_traceback': [<FrameSummary 
file /usr/lib/python3.7/asyncio/base_events.py, line 574 in 
run_until_complete>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 71 in 
run_forever>, <FrameSummary file /usr/lib/python3.7/asyncio/base_events.py, 
line 1778 in _run_once>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 135 in run>, 
<FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 101 in 
step>, <FrameSummary file /usr/lib/python3.7/asyncio/tasks.py, line 249 in 
__step>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py, line 44 in f>]}
FFF                                                  [100%]

=================================== FAILURES ===================================
_____________ NestTest.test_ensure_future_with_run_until_complete ______________

self = <tests.nest_test.NestTest 
testMethod=test_ensure_future_with_run_until_complete>

    def test_ensure_future_with_run_until_complete(self):
    
        async def f():
            task = asyncio.ensure_future(self.coro())
            return self.loop.run_until_complete(task)
    
>       result = self.loop.run_until_complete(f())

tests/nest_test.py:47: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.7/asyncio/base_events.py:587: in run_until_complete
    return future.result()
/usr/lib/python3.7/asyncio/futures.py:181: in result
    raise self._exception
/usr/lib/python3.7/asyncio/tasks.py:249: in __step
    result = coro.send(None)
tests/nest_test.py:45: in f
    return self.loop.run_until_complete(task)
/usr/lib/python3.7/asyncio/base_events.py:563: in run_until_complete
    self._check_runnung()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <_UnixSelectorEventLoop running=False closed=True debug=True>

    def _check_runnung(self):
        if self.is_running():
>           raise RuntimeError('This event loop is already running')
E           RuntimeError: This event loop is already running

/usr/lib/python3.7/asyncio/base_events.py:523: RuntimeError
________ NestTest.test_ensure_future_with_run_until_complete_with_wait _________

self = <tests.nest_test.NestTest 
testMethod=test_ensure_future_with_run_until_complete_with_wait>

    def test_ensure_future_with_run_until_complete_with_wait(self):
    
        async def f():
            task = asyncio.ensure_future(self.coro())
            done, pending = self.loop.run_until_complete(
                asyncio.wait([task], return_when=asyncio.ALL_COMPLETED))
            task = done.pop()
            return task.result()
    
>       result = self.loop.run_until_complete(f())

tests/nest_test.py:59: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.7/asyncio/base_events.py:587: in run_until_complete
    return future.result()
/usr/lib/python3.7/asyncio/futures.py:181: in result
    raise self._exception
/usr/lib/python3.7/asyncio/tasks.py:249: in __step
    result = coro.send(None)
tests/nest_test.py:55: in f
    asyncio.wait([task], return_when=asyncio.ALL_COMPLETED))
/usr/lib/python3.7/asyncio/base_events.py:563: in run_until_complete
    self._check_runnung()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <_UnixSelectorEventLoop running=False closed=True debug=True>

    def _check_runnung(self):
        if self.is_running():
>           raise RuntimeError('This event loop is already running')
E           RuntimeError: This event loop is already running

/usr/lib/python3.7/asyncio/base_events.py:523: RuntimeError
____________________________ NestTest.test_nesting _____________________________

self = <tests.nest_test.NestTest testMethod=test_nesting>

    def test_nesting(self):
    
        async def f1():
            result = self.loop.run_until_complete(self.coro())
            self.assertEqual(result, await self.coro())
            return result
    
        async def f2():
            result = self.loop.run_until_complete(f1())
            self.assertEqual(result, await f1())
            return result
    
>       result = self.loop.run_until_complete(f2())

tests/nest_test.py:38: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.7/asyncio/base_events.py:587: in run_until_complete
    return future.result()
/usr/lib/python3.7/asyncio/futures.py:181: in result
    raise self._exception
/usr/lib/python3.7/asyncio/tasks.py:249: in __step
    result = coro.send(None)
tests/nest_test.py:34: in f2
    result = self.loop.run_until_complete(f1())
/usr/lib/python3.7/asyncio/base_events.py:563: in run_until_complete
    self._check_runnung()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <_UnixSelectorEventLoop running=False closed=True debug=True>

    def _check_runnung(self):
        if self.is_running():
>           raise RuntimeError('This event loop is already running')
E           RuntimeError: This event loop is already running

/usr/lib/python3.7/asyncio/base_events.py:523: RuntimeError
____________________________ NestTest.test_timeout _____________________________

self = <tests.nest_test.NestTest testMethod=test_timeout>

    def test_timeout(self):
    
        async def f1():
            await asyncio.sleep(0.1)
    
        async def f2():
            asyncio.run(asyncio.wait_for(f1(), 0.01))
    
        with self.assertRaises(asyncio.TimeoutError):
>           self.loop.run_until_complete(f2())

tests/nest_test.py:71: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.7/asyncio/base_events.py:587: in run_until_complete
    return future.result()
/usr/lib/python3.7/asyncio/futures.py:181: in result
    raise self._exception
/usr/lib/python3.7/asyncio/tasks.py:249: in __step
    result = coro.send(None)
tests/nest_test.py:68: in f2
    asyncio.run(asyncio.wait_for(f1(), 0.01))
nest_asyncio.py:31: in run
    return loop.run_until_complete(future)
/usr/lib/python3.7/asyncio/base_events.py:563: in run_until_complete
    self._check_runnung()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    def _check_runnung(self):
        if self.is_running():
>           raise RuntimeError('This event loop is already running')
E           RuntimeError: This event loop is already running

/usr/lib/python3.7/asyncio/base_events.py:523: RuntimeError
=============================== warnings summary ===============================
/usr/lib/python3/dist-packages/_pytest/mark/structures.py:335
  /usr/lib/python3/dist-packages/_pytest/mark/structures.py:335: 
PytestUnknownMarkWarning: Unknown pytest.mark.asyncio - is this a typo?  You 
can register custom marks to avoid this warning - for details, see 
https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

.pybuild/cpython3_3.7/build/tests/contextvar_test.py::TestContextVars::test_context_var
  /usr/lib/python3/dist-packages/_pytest/python.py:170: 
PytestUnhandledCoroutineWarning: Coroutine functions are not natively supported 
and have been skipped.
  You need to install a suitable plugin for your async framework, for example:
    - pytest-asyncio
    - pytest-trio
    - pytest-tornasync
    
warnings.warn(PytestUnhandledCoroutineWarning(msg.format(pyfuncitem.nodeid)))

.pybuild/cpython3_3.7/build/tests/nest_test.py::NestTest::test_timeout
  /usr/lib/python3.7/traceback.py:220: RuntimeWarning: coroutine 'wait_for' was 
never awaited
  Coroutine created at (most recent call last)
    File "/usr/lib/python3.7/unittest/case.py", line 676, in __call__
      return self.run(*args, **kwds)
    File "/usr/lib/python3.7/unittest/case.py", line 628, in run
      testMethod()
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", 
line 71, in test_timeout
      self.loop.run_until_complete(f2())
    File "/usr/lib/python3.7/asyncio/base_events.py", line 574, in 
run_until_complete
      self.run_forever()
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
71, in run_forever
      self._run_once()
    File "/usr/lib/python3.7/asyncio/base_events.py", line 1778, in _run_once
      handle._run()
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
135, in run
      ctx.run(self._callback, *self._args)
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
101, in step
      step_orig(task, exc)
    File "/usr/lib/python3.7/asyncio/tasks.py", line 249, in __step
      result = coro.send(None)
    File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", 
line 68, in f2
      asyncio.run(asyncio.wait_for(f1(), 0.01))
    tb.tb_frame.clear()

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 4 failed, 1 skipped, 3 warnings in 0.77 seconds ================
sys:1: RuntimeWarning: coroutine 'wait' was never awaited
Coroutine created at (most recent call last)
  File "/usr/lib/python3.7/unittest/case.py", line 676, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", line 
59, in test_ensure_future_with_run_until_complete_with_wait
    result = self.loop.run_until_complete(f())
  File "/usr/lib/python3.7/asyncio/base_events.py", line 574, in 
run_until_complete
    self.run_forever()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 71, 
in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1778, in _run_once
    handle._run()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
135, in run
    ctx.run(self._callback, *self._args)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
101, in step
    step_orig(task, exc)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 249, in __step
    result = coro.send(None)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", line 
55, in f
    asyncio.wait([task], return_when=asyncio.ALL_COMPLETED))
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
sys:1: RuntimeWarning: coroutine 'NestTest.test_nesting.<locals>.f1' was never 
awaited
Coroutine created at (most recent call last)
  File "/usr/lib/python3.7/unittest/case.py", line 676, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python3.7/unittest/case.py", line 628, in run
    testMethod()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", line 
38, in test_nesting
    result = self.loop.run_until_complete(f2())
  File "/usr/lib/python3.7/asyncio/base_events.py", line 574, in 
run_until_complete
    self.run_forever()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 71, 
in run_forever
    self._run_once()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 1778, in _run_once
    handle._run()
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
135, in run
    ctx.run(self._callback, *self._args)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py", line 
101, in step
    step_orig(task, exc)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 249, in __step
    result = coro.send(None)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py", line 
34, in f2
    result = self.loop.run_until_complete(f1())
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Exception: {'task': <Task pending coro=<NestTest.coro() running at 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py:23> 
wait_for=<Future pending cb=[Task.__wakeup()] created at 
/usr/lib/python3.7/asyncio/base_events.py:395> created at 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py:53>, 'message': 
'Task was destroyed but it is pending!', 'source_traceback': [<FrameSummary 
file /usr/lib/python3.7/asyncio/base_events.py, line 574 in 
run_until_complete>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 71 in 
run_forever>, <FrameSummary file /usr/lib/python3.7/asyncio/base_events.py, 
line 1778 in _run_once>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 135 in run>, 
<FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/nest_asyncio.py, line 101 in 
step>, <FrameSummary file /usr/lib/python3.7/asyncio/tasks.py, line 249 in 
__step>, <FrameSummary file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build/tests/nest_test.py, line 53 in f>]}
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7/build; python3.7 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.7 
3.8" returned exit code 13
make: *** [debian/rules:6: binary-arch] Error 25


Version 1.3.2 seems to be fixed.

--- End Message ---
--- Begin Message ---
Source: python-nest-asyncio
Source-Version: 1.3.3-1
Done: di...@moreda.io (Diego M. Rodriguez)

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

Debian distribution maintenance software
pp.
Diego M. Rodriguez <di...@moreda.io> (supplier of updated python-nest-asyncio 
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, 15 Jun 2020 17:16:16 +0200
Source: python-nest-asyncio
Architecture: source
Version: 1.3.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Diego M. Rodriguez <di...@moreda.io>
Closes: 959532
Changes:
 python-nest-asyncio (1.3.3-1) unstable; urgency=medium
 .
   * New upstream version 1.3.3 (Closes: #959532)
   * Add salsa CI using default pipelines
   * d/upstream: add metadata
   * d/control: bump debhelper-compat to 13
   * d/control: fix Architecture: all
Checksums-Sha1:
 e58062078490d97bc8dff73fa03c25b9420774d4 2177 python-nest-asyncio_1.3.3-1.dsc
 a35b73ecc42e074be72c1a9eaf9b9407fb9bd3ee 5538 
python-nest-asyncio_1.3.3.orig.tar.gz
 3ff2cdf06bdab9ca178db07d7eb8e277cb959ee4 2188 
python-nest-asyncio_1.3.3-1.debian.tar.xz
 649c76bfa1faa45d82b4245df8936edb1e88c43a 6374 
python-nest-asyncio_1.3.3-1_amd64.buildinfo
Checksums-Sha256:
 3182767af75ef56586bf1b7425d09836e119ec9491bbf18a94d45f334c69f4d4 2177 
python-nest-asyncio_1.3.3-1.dsc
 75dad56eaa7078e2e29c6630f114077fc5060069658d74545b0409e63ca8a028 5538 
python-nest-asyncio_1.3.3.orig.tar.gz
 6ed893be4d5cf45321d4481e55129c9e0326403e8211d6ace28441015d78f0d4 2188 
python-nest-asyncio_1.3.3-1.debian.tar.xz
 461a08faf999b9cc21ec2f6eed3d446e8c0fd3b488a80619c0598d7efb5578d4 6374 
python-nest-asyncio_1.3.3-1_amd64.buildinfo
Files:
 cbba5d208a27a89b868a174ecbe34e55 2177 python optional 
python-nest-asyncio_1.3.3-1.dsc
 4eb85dd566f5247c14950f8d9cfd0bef 5538 python optional 
python-nest-asyncio_1.3.3.orig.tar.gz
 f6c0aaf9c08044a7d233f57487a1bb7d 2188 python optional 
python-nest-asyncio_1.3.3-1.debian.tar.xz
 7b058a972b29be7a4d255d5389bafd88 6374 python optional 
python-nest-asyncio_1.3.3-1_amd64.buildinfo

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

iQJEBAEBCgAuFiEEAvCDXfsrIjmN/yAQ2csii2zRSx8FAl7npPkQHGRpZWdvQG1v
cmVkYS5pbwAKCRDZyyKLbNFLH/uED/90YZIM45cE84RfsOA3J8cbA92T0jTrUU2D
BrspEZjszovZGyLB5GYl6Xclyc78KGWgMe17E5NwHq/Myh/HHIEpnEce5Anx/DPh
74Gw5Pjv4NHXrQ2NTNVHYkDyvtEb0lyONTVepYET+3gO1d7++yvDPJUxKlpuR1NJ
IF1CdnepaeXsDfKuUv1HHtEpo5l8aXwsdXTGD8cwrMQW5tHDXpafovOYCMPHJECv
KQKPY6aPLkyNAERQdvGx9dhk9PINo00TavqCZr2rY0if3ic5nTuR/qeLxt9As0By
02VEhjBipAkYhl6vbxB+r3X6Opmn2fLa5NWSEeBg115c7KoWrZ6s1fcCAaOYpRlS
fxsBePhO2ePOZfAeT+j2pea60Tb3XHkQkI9m45ST4RgSTxHtGEaQKRFR0Nm75Lmq
zMrBvq5HuxbKxL+g1dQol3UBQxigfcd0+GNdZCsC1LdKo0O/cqVeKb/fTK5iXyAD
xWXx7/ZpOuFQMeLtOr9mjvwj7Zyeq0t48UpxhBu7mfQ/JC8mUbOchopS5uJhuXKq
CvT2X1jQC/YUSoG30RXp1X+edHNNuQzIoSan4VHrhw/8+q3FFw5+2cTTZOac0iWW
YKvPfADfwpoVJsXRVzEcdqTwMCuoccoETFfU0J83Xtd20XxAfLTXEwYIWx43Pl1Z
68HiIy+5tw==
=TAeq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to