Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 689780

Summary: dev-python/psycopg-2.7.7 - SyntaxError in File "/usr/lib/python3.7/site-packages/psycopg2/tests/test_async_keyword.py", line 43
Product: Gentoo Linux Reporter: Martin Mokrejš <mmokrejs>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: kripton, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: equery files psycopg
emerge --info

Description Martin Mokrejš 2019-07-13 14:55:32 UTC
...
byte-compiling /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/_python3.7/usr/lib/python3.7/site-packages/psycopg2/extensions.py to extensions.cpython-37.pyc
byte-compiling /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/_python3.7/usr/lib/python3.7/site-packages/psycopg2/psycopg1.py to psycopg1.cpython-37.pyc
byte-compiling /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/_python3.7/usr/lib/python3.7/site-packages/psycopg2/__init__.py to __init__.cpython-37.pyc
byte-compiling /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/_python3.7/usr/lib/python3.7/site-packages/psycopg2/_ipaddress.py to _ipaddress.cpython-37.pyc
writing byte-compilation script '/scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmpko8ulvzm.py'
/usr/bin/python3.7 /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmpko8ulvzm.py
  File "/usr/lib/python3.7/site-packages/psycopg2/tests/test_async_keyword.py", line 43
    self.conn = self.connect(async=True)
                                 ^
SyntaxError: invalid syntax

removing /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmpko8ulvzm.py
writing byte-compilation script '/scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmp4zsc6yhq.py'
/usr/bin/python3.7 /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmp4zsc6yhq.py
  File "/usr/lib/python3.7/site-packages/psycopg2/tests/test_async_keyword.py", line 43
    self.conn = self.connect(async=True)
                                 ^
SyntaxError: invalid syntax

removing /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/temp/tmp4zsc6yhq.py
running install_egg_info
running egg_info
writing psycopg2.egg-info/PKG-INFO
writing dependency_links to psycopg2.egg-info/dependency_links.txt
writing top-level names to psycopg2.egg-info/top_level.txt
reading manifest file 'psycopg2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'psycopg2.egg-info/SOURCES.txt'
Copying psycopg2.egg-info to /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/_python3.7/usr/lib/python3.7/site-packages/psycopg2-2.7.7-py3.7.egg-info
running install_scripts
  File "/usr/lib/python3.7/site-packages/psycopg2/tests/test_async_keyword.py", line 43
    self.conn = self.connect(async=True)
                                 ^
SyntaxError: invalid syntax

 * python3_7: running distutils-r1_run_phase python_install_all
>>> Completed installing dev-python/psycopg-2.7.7 into /scratch/var/tmp/portage/dev-python/psycopg-2.7.7/image/

 * Final size of build directory: 6296 KiB (6.1 MiB)
 * Final size of installed tree:  7608 KiB (7.4 MiB)


>>> Installing (1 of 1) dev-python/psycopg-2.7.7::gentoo
Comment 1 Martin Mokrejš 2019-07-13 14:58:19 UTC
# emerge -pv psycopg

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/psycopg-2.7.7:2::gentoo  USE="-debug -doc -examples" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_5" 0 KiB
Comment 2 Martin Mokrejš 2019-07-13 14:58:46 UTC
Created attachment 582778 [details]
equery files psycopg
Comment 3 Martin Mokrejš 2019-07-13 14:59:02 UTC
Created attachment 582780 [details]
emerge --info