Created attachment 1438408 [details] build.log from copr Description of problem: psycopg2 uses async as an argument name. This is a syntax error in 3.7 because async and await are now keywords. Version-Release number of selected component: 2.7.4-3.fc29 Bytecompiling .py files below /builddir/build/BUILDROOT/python-psycopg2-2.7.4-3.fc29.x86_64/usr/lib64/python3.7 using /usr/bin/python3.7 *** Error compiling '/builddir/build/BUILDROOT/python-psycopg2-2.7.4-3.fc29.x86_64/usr/lib64/python3.7/site-packages/psycopg2/tests/test_async_keyword.py'... File "/usr/lib64/python3.7/test_async_keyword.py", line 43 self.conn = self.connect(async=True) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-psycopg2-2.7.4-3.fc29.x86_64/usr/lib64/python3.7/site-packages/psycopg2/tests/test_cursor.py'... File "/usr/lib64/python3.7/test_cursor.py", line 570 connect_func = lambda: self.connect(async=True) ^ SyntaxError: invalid syntax
Created attachment 1438409 [details] root.log from copr
https://src.fedoraproject.org/rpms/python-psycopg2/pull-request/2
Thank you Pavel.