Re: [matplotlib-devel] v1.4.0rc3
It seems that the odd numbered rcs are cursed. Sorry about this. I have merged one of the fixes and assuming everything passes locally, will tag rc4 tonight. Tom On Sun, Aug 10, 2014 at 6:18 AM, Jens Nielsen wrote: > I discovered an issue with the qt4 backend on python 2.7. See > https://github.com/matplotlib/matplotlib/pull/3357 for > a possible solution. > > > ERROR: matplotlib.tests.test_backend_qt4.test_shift > -- > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in > runTest > self.test(*self.arg) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 110, in wrapped_function > func(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 51, in failer > result = f(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 80, in test_shift > 'A') > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 72, in assert_correct_key > qt_canvas.keyPressEvent(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 312, in keyPressEvent > key = self._get_key(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 384, in _get_key > return six.u('+').join(mods + [key]) > File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u > return unicode(s.replace(r'\\', r''), "unicode_escape") > TypeError: decoding Unicode is not supported > > == > ERROR: matplotlib.tests.test_backend_qt4.test_lower > -- > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in > runTest > self.test(*self.arg) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 110, in wrapped_function > func(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 51, in failer > result = f(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 88, in test_lower > 'a') > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 72, in assert_correct_key > qt_canvas.keyPressEvent(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 312, in keyPressEvent > key = self._get_key(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 384, in _get_key > return six.u('+').join(mods + [key]) > File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u > return unicode(s.replace(r'\\', r''), "unicode_escape") > TypeError: decoding Unicode is not supported > > == > ERROR: matplotlib.tests.test_backend_qt4.test_control > -- > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in > runTest > self.test(*self.arg) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 110, in wrapped_function > func(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", > line 51, in failer > result = f(*args, **kwargs) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 96, in test_control > 'ctrl+a') > File > "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", > line 72, in assert_correct_key > qt_canvas.keyPressEvent(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 312, in keyPressEvent > key = self._get_key(event) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", > line 384, in _get_key > return six.u('+').join(mods + [key]) > File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u > return unicode(s.replace(r'\\', r''), "unicode_escape") > TypeError: decoding Unicode is not supported > > == > ERROR: matplotlib.tests.test_backend_qt4.test_unicode_upper > -- > Traceback (most recent call last): > File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in > runTest > self.test(*self.arg) > File > "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py",
Re: [matplotlib-devel] v1.4.0rc3
I discovered an issue with the qt4 backend on python 2.7. See https://github.com/matplotlib/matplotlib/pull/3357 for a possible solution. ERROR: matplotlib.tests.test_backend_qt4.test_shift -- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 110, in wrapped_function func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer result = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 80, in test_shift 'A') File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 72, in assert_correct_key qt_canvas.keyPressEvent(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 312, in keyPressEvent key = self._get_key(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 384, in _get_key return six.u('+').join(mods + [key]) File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u return unicode(s.replace(r'\\', r''), "unicode_escape") TypeError: decoding Unicode is not supported == ERROR: matplotlib.tests.test_backend_qt4.test_lower -- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 110, in wrapped_function func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer result = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 88, in test_lower 'a') File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 72, in assert_correct_key qt_canvas.keyPressEvent(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 312, in keyPressEvent key = self._get_key(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 384, in _get_key return six.u('+').join(mods + [key]) File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u return unicode(s.replace(r'\\', r''), "unicode_escape") TypeError: decoding Unicode is not supported == ERROR: matplotlib.tests.test_backend_qt4.test_control -- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 110, in wrapped_function func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer result = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 96, in test_control 'ctrl+a') File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 72, in assert_correct_key qt_canvas.keyPressEvent(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 312, in keyPressEvent key = self._get_key(event) File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_qt5.py", line 384, in _get_key return six.u('+').join(mods + [key]) File "/usr/local/lib/python2.7/site-packages/six.py", line 589, in u return unicode(s.replace(r'\\', r''), "unicode_escape") TypeError: decoding Unicode is not supported == ERROR: matplotlib.tests.test_backend_qt4.test_unicode_upper -- Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 110, in wrapped_function func(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 51, in failer result = f(*args, **kwargs) File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 104, in test_unicode_upper unichr(193)) File "/usr/local/lib/python2.7/site-packages/matplotlib/tests/test_backend_qt4.py", line 72, in assert_correct_key qt_ca
Re: [matplotlib-devel] v1.4.0rc3
Hi, On Sat, Aug 9, 2014 at 2:18 PM, Thomas Caswell wrote: > I have tagged the third (and hopefully last) RC for 1.4. > > The outstanding issues are documentation related (rebase guide which I > need to edit a bit more, a what's new entry, a decision if we have > improved the install documentation enough, and to make sure that docs > for backend_bases gets added to sphinx) and the re-design of the front > page. Thanks for doing this. I did a full test against the scipy stack: https://travis-ci.org/matthew-brett/scipy-stack-osx-testing/builds/32131131 It turns out there's a new failure testing pandas against mpl, reproduced with ``nosetests pandas.tseries.tests.test_converter`` after installing pandas: == ERROR: test_dateindex_conversion (pandas.tseries.tests.test_converter.TestDateTimeConverter) -- Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pandas/tseries/tests/test_converter.py", line 77, in test_dateindex_conversion xp = converter.dates.date2num(dateindex) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", line 310, in date2num return _to_ordinalf_np_vectorized(d) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1573, in __call__ return self._vectorize_call(func=func, args=vargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1633, in _vectorize_call ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1597, in _get_ufunc_and_otypes outputs = func(*inputs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib/dates.py", line 204, in _to_ordinalf base = float(dt.toordinal()) AttributeError: 'numpy.datetime64' object has no attribute 'toordinal' I confirmed that the same command running against mpl 1.3.1 passes. Same error with numpy 1.7.1 and numpy 1.8.2. Does this ring any bells? Cheers, Matthew -- ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel