[MacPorts] #48640: py-libcloud is missing backports.ssl-match-hostname dependency
MacPorts
noreply at macports.org
Thu Aug 20 04:10:54 PDT 2015
#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
More information about the macports-tickets
mailing list