You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/06/23 21:42:00 UTC
[jira] [Resolved] (ARROW-5670) [Crossbow] get_apache_mirror.py
fails with TLS error on macOS with Python 3.5
[ https://issues.apache.org/jira/browse/ARROW-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney resolved ARROW-5670.
---------------------------------
Resolution: Fixed
Assignee: Wes McKinney
Fix Version/s: 0.14.0
requests is used in get_apache_mirror.py if it is installed
> [Crossbow] get_apache_mirror.py fails with TLS error on macOS with Python 3.5
> -----------------------------------------------------------------------------
>
> Key: ARROW-5670
> URL: https://issues.apache.org/jira/browse/ARROW-5670
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Philipp Moritz
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Currently the macOS python 3.5 is failing with
> {code:java}
> Downloading Apache Thrift from Traceback (most recent call last):
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 1254, in do_open
> h.request(req.get_method(), req.selector, req.data, headers)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1107, in request
> self._send_request(method, url, body, headers)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1152, in _send_request
> self.endheaders(body)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1103, in endheaders
> self._send_output(message_body)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 934, in _send_output
> self.send(msg)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 877, in send
> self.connect()
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1261, in connect
> server_hostname=server_hostname)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 385, in wrap_socket
> _context=self)
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 760, in __init__
> self.do_handshake()
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 996, in do_handshake
> self._sslobj.do_handshake()
> File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 641, in do_handshake
> self._sslobj.do_handshake()
> ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719){code}
> I've been looking into this error and will try to push a fix (the openssl version that is used with python 3.5 on macos is too old I think).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)