Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1579761
Summary: | python-psycopg2 FTBFS with Python 3.7 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> | ||||||
Component: | python-psycopg2 | Assignee: | Devrim Gündüz <devrim> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | devrim, hhorak, jmlich83, pkajaba, praiskup | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2018-05-21 13:55:30 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1565020 | ||||||||
Attachments: |
|
Created attachment 1438409 [details]
root.log from copr
Thank you Pavel. |
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