Source: aioprocessing Version: 1.0.1-1 Severity: normal Tags: patch Dear Maintainer,
'async' is a keyword in Python 3.7. Very simple patch attached. Cheers, mwh -- System Information: Debian Release: buster/sid APT prefers bionic-updates APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 'bionic'), (400, 'bionic-proposed'), (100, 'bionic-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-38-generic (SMP w/4 CPU cores) Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru aioprocessing-1.0.1/debian/tests/runtest.py aioprocessing-1.0.1/debian/tests/runtest.py --- aioprocessing-1.0.1/debian/tests/runtest.py 2018-04-13 13:12:21.000000000 +1200 +++ aioprocessing-1.0.1/debian/tests/runtest.py 2018-11-05 14:58:10.000000000 +1300 @@ -50,8 +50,8 @@ lock = aioprocessing.AioLock() event = aioprocessing.AioEvent() tasks = [ - asyncio.async(example(queue, event, lock)), - asyncio.async(example2(queue, event, lock)), + asyncio.ensure_future(example(queue, event, lock)), + asyncio.ensure_future(example2(queue, event, lock)), ] loop.run_until_complete(asyncio.wait(tasks)) loop.close()