Hi. When building on 10.11/Xcode CL 7.2, I get the following errors during the
test script (I only looked at -py27 and -py35):
-py27:
ERROR: matplotlib.tests.test_backend_ps.test_savefig_to_stringio_with_usetex
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/testing/decorators.py",
line 118, in wrapped_function
func(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/testing/decorators.py",
line 53, in failer
result = f(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/tests/test_backend_ps.py",
line 77, in test_savefig_to_stringio_with_usetex
_test_savefig_to_stringio()
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/tests/test_backend_ps.py",
line 40, in _test_savefig_to_stringio
fig.savefig(buffer, format=format)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/figure.py",
line 1565, in savefig
self.canvas.print_figure(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backend_bases.py",
line 2232, in print_figure
**kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 992, in print_ps
return self._print_ps(outfile, 'ps', *args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1019, in _print_ps
**kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1377, in _print_figure_tex
orientation)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1503, in convert_psfrags
with io.open(tmpfile) as fh:
LookupError: unknown encoding:
======================================================================
ERROR: matplotlib.tests.test_backend_ps.test_savefig_to_stringio_with_usetex_eps
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/testing/decorators.py",
line 118, in wrapped_function
func(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/testing/decorators.py",
line 53, in failer
result = f(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/tests/test_backend_ps.py",
line 96, in test_savefig_to_stringio_with_usetex_eps
_test_savefig_to_stringio(format='eps')
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/tests/test_backend_ps.py",
line 40, in _test_savefig_to_stringio
fig.savefig(buffer, format=format)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/figure.py",
line 1565, in savefig
self.canvas.print_figure(*args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backend_bases.py",
line 2232, in print_figure
**kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 995, in print_eps
return self._print_ps(outfile, 'eps', *args, **kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1019, in _print_ps
**kwargs)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1377, in _print_figure_tex
orientation)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/backends/backend_ps.py",
line 1503, in convert_psfrags
with io.open(tmpfile) as fh:
LookupError: unknown encoding:
======================================================================
ERROR: matplotlib.tests.test_style.test_use_url
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/tests/test_style.py",
line 63, in test_use_url
with style.context('https://gist.github.com/adrn/6590261/raw'):
File "/sw/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/style/core.py",
line 121, in context
use(style)
File
"/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/style/core.py",
line 90, in use
raise IOError(msg % style)
IOError: 'https://gist.github.com/adrn/6590261/raw' not found in the style
library and input is not a valid URL or path. See `style.available` for list of
available styles.
----------------------------------------------------------------------
Ran 5165 tests in 600.063s
FAILED (KNOWNFAIL=21, SKIP=6, errors=3)
/sw/src/fink.build/matplotlib-py27-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-2.7/matplotlib/__init__.py:1350:
UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
-py35:
ERROR: matplotlib.tests.test_style.test_use_url
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sw/lib/python3.5/urllib/request.py", line 1240, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/sw/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/sw/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/sw/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/sw/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/sw/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/sw/lib/python3.5/http/client.py", line 1237, in connect
server_hostname=server_hostname)
File "/sw/lib/python3.5/ssl.py", line 376, in wrap_socket
_context=self)
File "/sw/lib/python3.5/ssl.py", line 747, in __init__
self.do_handshake()
File "/sw/lib/python3.5/ssl.py", line 983, in do_handshake
self._sslobj.do_handshake()
File "/sw/lib/python3.5/ssl.py", line 628, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
(_ssl.c:645)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/style/core.py",
line 84, in use
rc = rc_params_from_file(style, use_default_template=False)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/__init__.py",
line 1100, in rc_params_from_file
config_from_file = _rc_params_in_file(fname, fail_on_error)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/__init__.py",
line 1018, in _rc_params_in_file
with _open_file_or_url(fname) as fd:
File "/sw/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/__init__.py",
line 995, in _open_file_or_url
f = urlopen(fname)
File "/sw/lib/python3.5/urllib/request.py", line 162, in urlopen
return opener.open(url, data, timeout)
File "/sw/lib/python3.5/urllib/request.py", line 465, in open
response = self._open(req, data)
File "/sw/lib/python3.5/urllib/request.py", line 483, in _open
'_open', req)
File "/sw/lib/python3.5/urllib/request.py", line 443, in _call_chain
result = func(*args)
File "/sw/lib/python3.5/urllib/request.py", line 1283, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/sw/lib/python3.5/urllib/request.py", line 1242, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed (_ssl.c:645)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/sw/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/tests/test_style.py",
line 63, in test_use_url
with style.context('https://gist.github.com/adrn/6590261/raw'):
File "/sw/lib/python3.5/contextlib.py", line 59, in __enter__
return next(self.gen)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/style/core.py",
line 121, in context
use(style)
File
"/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/style/core.py",
line 90, in use
raise IOError(msg % style)
OSError: 'https://gist.github.com/adrn/6590261/raw' not found in the style
library and input is not a valid URL or path. See `style.available` for list of
available styles.
----------------------------------------------------------------------
Ran 5165 tests in 658.655s
FAILED (KNOWNFAIL=22, SKIP=6, errors=1)
/sw/src/fink.build/matplotlib-py35-1.5.1-2/matplotlib-1.5.1/build/lib.macosx-10.11-x86_64-3.5/matplotlib/__init__.py:1350:
UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
I’m not a bit surprised by the SSL error on 10.11.
--
Alexander Hansen, Ph.D.
Fink User Liaison
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel