Description of problem: python-beaker FTFBS with Python 3.7. According to https://www.python.org/dev/peps/pep-0492/ async and await are now keywords. This leads to: Bytecompiling .py files below /builddir/build/BUILDROOT/python-beaker-1.5.4-21.fc29.x86_64/usr/lib/python3.7 using /usr/bin/python3.7 *** Error compiling '/builddir/build/BUILDROOT/python-beaker-1.5.4-21.fc29.x86_64/usr/lib/python3.7/site-packages/beaker/synchronization.py'... File "/usr/lib/python3.7/synchronization.py", line 284 self.async = 0 ^ SyntaxError: invalid syntax Version-Release number of selected component (if applicable): 1.5.4-21.fc29 How reproducible: hard / easy Steps to Reproduce HARD: 1. rebuild everything needed for python-beaker with 3.7 2. rebuild python-beaker itself with 3.7 Actual results: SyntaxError: invalid syntax Expected results: Should build Steps to Reproduce EASY: 1. install python37 2. try to import beaker form sources, run tests, etc. Additional info: https://bugs.python.org/issue33514
We need to either update to 1.9.1 or backport: https://github.com/bbangert/beaker/commit/5f2e517e32e796ca391ddf312c04dd906bc5e376
Created attachment 1436743 [details] Build log of python-beaker building against python 3.7 with async keyword patched out Even when I patch the self.async to self.asynch, the build fails on tests. Attaching buildlog.
Upstream master works fine, so an update should solve this. https://github.com/bbangert/beaker/pull/160
Kyle?
Ccing Randy, as this is indirect dependency of bodhi (trough mako).
Bump.
Kyle? 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. If you don't respond I'm just gonna comment out the tests, as it seems like that's fine for mako. [1] https://www.python.org/dev/peps/pep-0537/
We can get rid of beaker from mako: https://src.fedoraproject.org/rpms/python-mako/pull-request/3 I'll merge this if nobody fixes beaker.
*** This bug has been marked as a duplicate of bug 1605613 ***
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days