[Bug 244541] devel/py-zope.testbrowser: Correct USES-python:<version-spec> (Allow python3 support)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 4 08:19:04 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244541
Ruslan Makhmatkhanov <rm at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rm at FreeBSD.org
--- Comment #3 from Ruslan Makhmatkhanov <rm at FreeBSD.org> ---
Hello,
there are problems with making py3 package, see poudriere testport excerpt
below [2]. And splinter requires zope.testbrowser >= 5.2.4 according to it's
setup.py. New zope.testbrowser 5.2.4 requires WSGIProxy2 [1], that we haven't
in ports. So just removing the python limit will not do the thing, imho.
[1] https://pypi.org/project/WSGIProxy2/
[2] writing byte-compilation script '/tmp/tmp9039bbav.py'
/usr/local/bin/python3.7 /tmp/tmp9039bbav.py
File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/browser.py",
line 65
def control_form_tuple_repr((ctrl, form)):
^
SyntaxError: invalid syntax
File
"/usr/local/lib/python3.7/site-packages/zope/testbrowser/tests/test_browser.py",
line 79
print request_string.replace('\r', '')
^
SyntaxError: invalid syntax
File
"/usr/local/lib/python3.7/site-packages/zope/testbrowser/ftests/wsgitestapp.py",
line 51
except Exception, exc:
^
SyntaxError: invalid syntax
removing /tmp/tmp9039bbav.py
running install_egg_info
Copying src/zope.testbrowser.egg-info to
/wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/stage/usr/local/lib/python3.7/site-packages/zope.testbrowser-4.0.4-py3.7.egg-info
Installing
/wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/stage/usr/local/lib/python3.7/site-packages/zope.testbrowser-4.0.4-py3.7-nspkg.pth
running install_scripts
writing list of installed files to
'/wrkdirs/usr/ports/devel/py-zope.testbrowser/work-py37/.PLIST.pymodtmp'
File "/usr/local/lib/python3.7/site-packages/zope/testbrowser/browser.py",
line 65
def control_form_tuple_repr((ctrl, form)):
^
SyntaxError: invalid syntax
File
"/usr/local/lib/python3.7/site-packages/zope/testbrowser/tests/test_browser.py",
line 79
print request_string.replace('\r', '')
^
SyntaxError: invalid syntax
File
"/usr/local/lib/python3.7/site-packages/zope/testbrowser/ftests/wsgitestapp.py",
line 51
except Exception, exc:
^
SyntaxError: invalid syntax
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list