Created attachment 1437208 [details] build.log from copr I'm bootstrapping Python 3.7 in copr. dbus-python fails to build due to 3 failed tests: FAIL: test/test-client.py FAIL: test/test-p2p.py FAIL: test/test-signals.py Version-Release number: 1.2.4-13.fc29 Will attach build and root logs.
Created attachment 1437209 [details] root.log from copr
Created attachment 1440545 [details] build.log from copr with python3-build/test-suite.log File "../test/test-client.py", line 331 for async in (True, False): ^ SyntaxError: invalid syntax File "/builddir/build/BUILD/dbus-python-1.2.4/python3-build/../test/test-service.py", line 278 def AsynchronousMethod(self, async, fail, variant, return_cb, error_cb): ^ SyntaxError: invalid syntax This is related to PEP 492 https://www.python.org/dev/peps/pep-0492/ async is now a keyword.
The async thing is fixed in: commit 2d5ccd0cb9e580732d0abfbf8a97b1bf779d2a9e Author: Simon McVittie <smcv> Date: Mon Jan 29 10:30:43 2018 +0000 Avoid using async keyword Signed-off-by: Simon McVittie <smcv> This is included in 1.2.8.
I confirm that 1.2.8 builds with CPython 3.7.
https://src.fedoraproject.org/rpms/dbus-python/pull-request/3