Created attachment 1445368 [details] build.log from copr Description of problem: python-twisted FTBFS with Python 3.7 bacuse it uses async (now a keyword) as a function parameter name. Bytecompiling .py files below /builddir/build/BUILDROOT/python-twisted-16.4.1-9.fc29.x86_64/usr/lib64/python3.7 using /usr/bin/python3.7 *** Error compiling '/builddir/build/BUILDROOT/python-twisted-16.4.1-9.fc29.x86_64/usr/lib64/python3.7/site-packages/twisted/conch/manhole.py'... File "/usr/lib64/python3.7/manhole.py", line 133 def write(self, data, async=False): ^ SyntaxError: invalid syntax Version-Release number of selected component (if applicable): 16.4.1-9.fc29 This is blocking other packages. Build logs attached.
This has not yet been fixed upstream: https://github.com/twisted/twisted/blob/2e7b403c03e9b9b891a5eb36297e494f541d5d6a/src/twisted/conch/manhole.py#L154 There might be other problems: https://github.com/twisted/twisted/pull/1018
Created attachment 1445370 [details] root.log from copr
Thomas?
See proposed upstream fix: https://github.com/twisted/twisted/pull/966
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. Thomas, could you please respond? [1] https://www.python.org/dev/peps/pep-0537/
I'm trying to backport https://github.com/twisted/twisted/pull/966 to see if that helps. This package does not run tests, so I will simply try to rebuild the dependent packages to verify if "works".
txzmq: + nosetests-3.7 ... Ran 36 tests in 3.346s python-moksha-hub: + /usr/bin/python3 setup.py test ... Ran 58 tests in 60.315s
Patch ready at https://src.fedoraproject.org/rpms/python-twisted/pull-request/5 Still waiting for "important" packages to build.
+ py.test-3 fedmsg ============= 222 passed, 102 skipped, 1 warnings in 14.80 seconds ============= I think we are good in here.
Pushed the dirty patch.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days