[MacPorts] #48640: py-libcloud is missing backports.ssl-match-hostname dependency
#48640: py-libcloud is missing backports.ssl-match-hostname dependency --------------------+-------------------------------- Reporter: hans@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: py-libcloud --------------------+-------------------------------- When Apache libcloud 0.17 is used with Python 2.x, it now requires `backports.ssl-match-hostname`. I'm getting this stack dump: {{{ Traceback (most recent call last): File "/opt/local/bin/fdroid", line 115, in <module> main() File "/opt/local/bin/fdroid", line 93, in main mod.main() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fdroidserver/server.py", line 321, in main update_awsbucket(repo_section) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/fdroidserver/server.py", line 57, in update_awsbucket cls = get_driver(Provider.S3) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/libcloud/storage/providers.py", line 63, in get_driver return get_provider_driver(DRIVERS, provider) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/libcloud/utils/misc.py", line 44, in get_driver _mod = __import__(mod_name, globals(), locals(), [driver_name]) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/libcloud/storage/drivers/s3.py", line 38, in <module> from libcloud.common.base import ConnectionUserAndKey, RawResponse File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/libcloud/common/base.py", line 51, in <module> from libcloud.httplib_ssl import LibcloudHTTPConnection File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/libcloud/httplib_ssl.py", line 26, in <module> from backports.ssl_match_hostname import match_hostname, CertificateError ImportError: No module named backports.ssl_match_hostname }}} -- Ticket URL: <https://trac.macports.org/ticket/48640> MacPorts <https://www.macports.org/> Ports system for OS X
#48640: py-libcloud is missing backports.ssl-match-hostname dependency --------------------------+-------------------- Reporter: hans@… | Owner: petr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: py-libcloud | --------------------------+-------------------- Changes (by mf2k@…): * owner: macports-tickets@… => petr@… Comment: In the future, please Cc the port maintainers ({{{port info --maintainers py-libcloud}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/48640#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48640: py-libcloud is missing backports.ssl-match-hostname dependency --------------------------+-------------------- Reporter: hans@… | Owner: petr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: py-libcloud | --------------------------+-------------------- Changes (by petr@…): * status: new => closed * resolution: => fixed Comment: Thanks for spotting this. Should be fixed by r139671. -- Ticket URL: <https://trac.macports.org/ticket/48640#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48640: py-libcloud is missing backports.ssl-match-hostname dependency --------------------------+-------------------- Reporter: hans@… | Owner: petr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: py-libcloud | --------------------------+-------------------- Comment (by petr@…): I just committed an update to 0.18.0, in r139672. This also removed the deprecated py26 and py33 subports. As version 0.18.0 seems to rely on the the standard library where possible (i.e. py27 >= 2.7.9 and py34), the dependency on `backports.ssl_match_hostname` was removed again. Thanks for the Head-Up! -- Ticket URL: <https://trac.macports.org/ticket/48640#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts