Opened 8 years ago
Closed 8 years ago
#51369 closed defect (fixed)
py34-parsing @2.1.2 build failure - known upstream bug
Reported by: | diazona+macportstrac@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | nerdling (Jeremy Lavergne), hapaguy (Brian Kurt Fujikawa) | |
Port: | py34-parsing py33-parsing |
Description
Building pyparsing 2.1.2 for Python 3.4 fails with an AttributeError
as shown below. According to a couple sources I found, https://sourceforge.net/p/pyparsing/bugs/95/ (upstream bug tracker) and https://github.com/matplotlib/matplotlib/issues/6399, this is a known incompatibility between this version of pyparsing and Python 3.3/3.4. Reportedly the next version of pyparsing, 2.1.3, contains a fix, but it seems not to be in MacPorts - I just updated the tree to check.
If all this is correct, the obvious fix would be to either add pyparsing 2.1.3 to the tree, or block py34-parsing@2.1.2
and py33-parsing@2.1.2
(if that's possible) until version 2.1.3 can be added.
Traceback follows, excerpted from the attached build log:
:info:build Traceback (most recent call last): :info:build File "setup.py", line 9, in <module> :info:build from pyparsing import __version__ as pyparsing_version :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-parsing/py34-parsing/work/pyparsing-2.1.2/pyparsing.py", line 3478, in <module> :info:build _escapedPunc = Word( _bslash, r"\[]-*.$+^?()~ ", exact=2 ).setParseAction(lambda s,l,t:t[0][1]) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-parsing/py34-parsing/work/pyparsing-2.1.2/pyparsing.py", line 948, in setParseAction :info:build self.parseAction = list(map(_trim_arity, list(fns))) :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-parsing/py34-parsing/work/pyparsing-2.1.2/pyparsing.py", line 808, in _trim_arity :info:build this_line = extract_stack()[-1] :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-parsing/py34-parsing/work/pyparsing-2.1.2/pyparsing.py", line 793, in extract_stack :info:build return [(frame_summary.filename, frame_summary.lineno)] :info:build AttributeError: 'tuple' object has no attribute 'filename'
Attachments (1)
Change History (6)
Changed 8 years ago by diazona+macportstrac@…
comment:1 Changed 8 years ago by diazona+macportstrac@…
comment:2 Changed 8 years ago by diazona+macportstrac@…
I'd note that this is a different build error than that which appears in #49905. Not sure if that means they're not duplicates though.
comment:3 Changed 8 years ago by nerdling (Jeremy Lavergne)
Owner: | changed from macports-tickets@… to snc@… |
---|---|
Status: | new → assigned |
comment:5 Changed 8 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Build log showing the error