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

Updating minimum versions of dependencies on Travis #1575

Merged
merged 6 commits into from
Aug 21, 2020

Conversation

greglucas
Copy link
Contributor

@greglucas greglucas commented May 26, 2020

There are a few oddities that I couldn't figure out, like why the gridliners are so much different with these new versions, needing to greatly increase the tolerance. The images all look so-so with what appears to be only text position moving.

Rationale

The old versions of dependencies are getting difficult to maintain and test against. This adopts the 24-month NEP29 versions discussed in #1518.

Implications

Not supporting older versions of dependencies anymore.

Easier test suite to maintain.

@stefraynaud
Copy link
Contributor

Should we remove the figures created with MPL 1.5 in tests, once this PR is accepted?

@greglucas
Copy link
Contributor Author

Good suggestion, I went through and tried to remove all of the MPL version checks that were less than the minimum supported. Similar could be done with PROJ too I'm guessing.

@greglucas greglucas changed the title [WIP] Updating minimum versions of dependencies on Travis Updating minimum versions of dependencies on Travis Jun 25, 2020
@dopplershift
Copy link
Contributor

I'm 💯 on the concept. Supporting matplotlib 1.5 through 3.3 with image tests is just untenable. Personally, I'd say go ahead and remove the 1.5 test images in this PR as well.

@greglucas
Copy link
Contributor Author

The old images should have all been removed before, just needed a rebase. Let me know if you saw others specifically in there that I should remove too.

Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

Just the one question, otherwise this looks good to me.

lib/cartopy/tests/mpl/test_gridliner.py Show resolved Hide resolved
Copy link
Contributor

@dopplershift dopplershift left a comment

Choose a reason for hiding this comment

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

LGTM. I wouldn't mind a second set of eyes given the drastic changes infrastructure-wise.

Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

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

Bit confused why some tolerances went up as before releasing 0.18 I tested this on everything (unless these are new tests.)

.travis.yml Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_examples.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_examples.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_images.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_mpl_integration.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_mpl_integration.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_mpl_integration.py Outdated Show resolved Hide resolved
lib/cartopy/tests/mpl/test_mpl_integration.py Outdated Show resolved Hide resolved
@greglucas
Copy link
Contributor Author

Natural Earth download servers are down right now causing the failures.

@dopplershift dopplershift added this to the 0.19 milestone Aug 21, 2020
@dopplershift dopplershift merged commit 4d158c9 into SciTools:master Aug 21, 2020
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

Successfully merging this pull request may close these issues.

5 participants