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

Bumped Travis testing dependencies to latest versions #2329

Merged
merged 15 commits into from
Feb 13, 2018

Conversation

philippjfr
Copy link
Member

Bumps the matplotlib version on Travis to 2.1.2 (i.e. latest). This is long overdue and hopefully will finally make the transient test failures disappear. Will require rebuilding test data of course.

@jlstevens
Copy link
Contributor

Hopefully this works well. Just to be safe, we should make an explicit backup of the testing data before merging this PR. It will take a little while before we have a feel about the transients being better or worse so it is worth making sure we have the old testing data in case we have to revert in the worst case scenario.

@philippjfr philippjfr force-pushed the travis_mpl_master branch 2 times, most recently from 7a52d36 to 067a1b4 Compare February 12, 2018 18:45
@philippjfr philippjfr mentioned this pull request Feb 12, 2018
@philippjfr
Copy link
Member Author

Looking quite hopeful that this resolves our transient issues. I restarted builds once so that's now 8 runs without a transient failure. Now that I've updated matplotlib it's time to start doing the same with pandas, dask, datashader and bokeh.

@philippjfr
Copy link
Member Author

I'd also like to switch from listing the travis dependencies in the .travis.yaml to using the environment.yml, with strict version requirements which will be guaranteed to work for testing and doc building.

@philippjfr
Copy link
Member Author

Uncovered a few bugs as part of this update. I expect one unit test to fail on this build, which I'll resolve in the morning. Once this is merged (along with the table PR) I think we're good to go for 1.9.4.

@philippjfr philippjfr force-pushed the travis_mpl_master branch 6 times, most recently from 3c89e27 to 7e9c3df Compare February 13, 2018 14:05
@philippjfr philippjfr force-pushed the travis_mpl_master branch 2 times, most recently from 4cf953f to 1eb2961 Compare February 13, 2018 14:39
@philippjfr philippjfr force-pushed the travis_mpl_master branch 3 times, most recently from 1ff18a6 to e93c809 Compare February 13, 2018 15:56
@philippjfr philippjfr changed the title Bumped tested matplotlib version to latest Bumped Travis testing dependencies to latest versions Feb 13, 2018
@philippjfr
Copy link
Member Author

Ready to merge now. I'll be restoring the disabled test in this PR #2338. After a lot of test runs I can confidently say that transients are reduced but unfortunately not eliminated.

@@ -73,12 +73,12 @@ def test_get_size_single_plot(self):
def test_get_size_row_plot(self):
plot = self.renderer.get_plot(self.image1+self.image2)
w, h = self.renderer.get_size(plot)
self.assertEqual((w, h), (576, 258))
self.assertEqual((w, h), (576, 255))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least the changes here are small...

@jlstevens
Copy link
Contributor

Looks good. I'm a little surprised at the changes in the size tests but at least the changes are small. As you said, this is long overdue so I am happy to merge now.

@jlstevens jlstevens merged commit 09e3905 into master Feb 13, 2018
@philippjfr philippjfr deleted the travis_mpl_master branch February 16, 2018 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants