Created attachment 1445383 [details] build.log from copr Description of problem: + /usr/bin/python3 setup.py build Traceback (most recent call last): File "setup.py", line 7, in <module> import DNS File "/builddir/build/BUILD/py3dns-3.1.1/DNS/__init__.py", line 27, in <module> from .Base import DnsRequest File "/builddir/build/BUILD/py3dns-3.1.1/DNS/Base.py", line 100 self.async=None ^ SyntaxError: invalid syntax Version-Release number of selected component (if applicable): 3.1.1-5.fc29 Logs attached.
Created attachment 1445384 [details] root.log from copr
async and await are keywords in python 3.7 and cannot be used as atribute names.
Infra people, please respond.
ok, so the fix here is just to change async to some other name?
Yes. Preferably in upstream.
FYI: 3.7.0c1 is expected in 3 days (2018-06-11, [1]). I'd like to start building stuff in a side tag soon after that. This blocks the "packager stack", hence a bit critical. [1] https://www.python.org/dev/peps/pep-0537/
I've added a quick and dirty patch to change the name and pushed and built it in rawhide. I filed https://bugs.launchpad.net/py3dns/+bug/1776027 upstream with the issue and a patch (I have no idea how responsive upstream is). Let me know if that doesn't solve the issue...
https://copr.fedorainfracloud.org/coprs/g/python/python3.7/build/765277/ succeeded Thank you.