[MacPorts] #54567: py-twisted 17.5.0: missing python package dependency 'hyperlink'
MacPorts
noreply at macports.org
Sat Aug 5 05:02:23 UTC 2017
#54567: py-twisted 17.5.0: missing python package dependency 'hyperlink'
--------------------+------------------------
Reporter: kpreid | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Keywords: | Port: py-twisted
--------------------+------------------------
Since upgrading to py27-twisted 17.5.0_0, the code `import
twisted.web.template`, for example, will fail because Twisted 17.5.0
introduced a dependency on the Python package `hyperlink` which is not
installed by MacPorts:
https://github.com/twisted/twisted/commit/e2e0c715072ea129431031e9ed2428262f7e4a42
Fixing this will require creating a port for `hyperlink`, but I assume
this will be straightforward.
{{{
>>> import twisted.web.template
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/twisted/web/template.py", line 571, in <module>
import twisted.web.util
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/twisted/web/util.py", line 13, in <module>
from twisted.python import urlpath
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/twisted/python/urlpath.py", line 15, in <module>
from hyperlink import URL as _URL
ImportError: No module named hyperlink
}}}
{{{
$ port deps py27-twisted and active
Full Name: py27-twisted @17.5.0_0
Library Dependencies: python27, py27-setuptools, py27-zopeinterface,
py27-incremental, py27-constantly
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54567>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list