Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures testing matplotlib 1.5.1 manylinux wheels #6469

Closed
matthew-brett opened this issue May 23, 2016 · 2 comments
Closed

Test failures testing matplotlib 1.5.1 manylinux wheels #6469

matthew-brett opened this issue May 23, 2016 · 2 comments
Milestone

Comments

@matthew-brett
Copy link
Contributor

I have automated building of matplotlib manylinux wheels for matplotlib 1.5.1, adding a version of PR #6442 .

The build script is here, and the build matrix is here.

Now I'm testing these wheels on travis at manylinux-testing with test script here.

(Is this the right way to run tests on an installed matplotlib?)

But - I am getting test failures that look unrelated to the manylinux build itself - see failing matplotlib test run.

Would y'all mind casting your eyes over these failures to let me know if they are telling me anything bad about the manylinux build?

@tacaswell tacaswell added this to the 1.5.2 (Critical bug fix release) milestone May 23, 2016
@tacaswell
Copy link
Member

These tend to mean that there is an import error is those modules

======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'test_widgets')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matthew-brett/manylinux-testing/venv/lib/python2.7/site-packages/nose/loader.py", line 407, in loadTestsFromName
    module = resolve_name(addr.module)
  File "/home/travis/build/matthew-brett/manylinux-testing/venv/lib/python2.7/site-packages/nose/util.py", line 322, in resolve_name
    obj = getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_widgets'

These are due to a bug fix in numpy that fixed some small-number rounding see #5950 and the rabbit dragon hole that leads to.

======================================================================
FAIL: matplotlib.tests.test_axes.test_formatter_large_small.test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/matthew-brett/manylinux-testing/venv/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/travis/build/matthew-brett/manylinux-testing/venv/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 53, in failer
    result = f(*args, **kwargs)
  File "/home/travis/build/matthew-brett/manylinux-testing/venv/lib/python2.7/site-packages/matplotlib/testing/decorators.py", line 220, in do_test
    '(RMS %(rms).3f)'%err)
ImageComparisonFailure: images not close: /home/travis/build/matthew-brett/manylinux-testing/for_testing/result_images/test_axes/formatter_large_small.png vs. /home/travis/build/matthew-brett/manylinux-testing/for_testing/result_images/test_axes/formatter_large_small-expected.png (RMS 19.050)

@matthew-brett
Copy link
Contributor Author

Great - just the feedback I needed. Tests are now passing, after installing numpy 1.10.4, mock and sphinx:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants