-
Notifications
You must be signed in to change notification settings - Fork 229
Bump the required minimum GMT version to 6.1.0 #507
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
Conversation
@weiji14 It's a little complicated here. In this PR, I bump the required minimum GMT version to 6.1.0. Apparently, there are tens of failures due to the change of default earth relief grid registration between GMT 6.0 and 6.1. To fix these failing tests, I need to update the
Such changes may cause conflicts with your PRs #494 and #500, and this PR may be too large to fix so many things. Maybe I should do only one thing in this PR (i.e., bumping the GMT version) and merge it although there are so many failing tests, then open more PRs to fix these failures one by one? Do you have a better idea to make the 6.1.0 update simpler? |
Yeah, I agree with what you say, the load_earth_relief function needs to be redesigned first as in #489, but there's a bit of a chicken and egg situation since we need this 6.1.0 PR to do so. Ideally we would have the Github Actions CI doing a matrix build on GMT 6.0 and 6.1 first, but that's also a bit of a chore. This is one of the reasons I opened up #505 so as to reduce our dependency on load_earth_relief for our tests. Will need to have a longer think about this. P.S. Don't mind the conflicts with those PRs. I would say that #500 actually supersedes #494 (will close it after #500 is merged), and it shouldn't be too hard to update them since they're quite small changes. |
Ok, after some thought, this is the master plan I've come up with:
|
We're bumping to GMT 6.1.0. I don't understand why we need to test both 6.0 and 6.1 now and remove GMT 6.0 backward compatibility later. We can make any changes to make PyGMT work with 6.1, even though the changes break 6.0. |
In that case, let's do 3 - 1 - 2. Just break things now and fix them as we go along (similar to the Windows fix before). I just don't have time today (paper response deadline) and didn't want the tests to be broken for so long. |
Azure Pipelines have some technical issues which fail all our CI jobs. We need to wait for its recovery. |
Is there a timeline on when Azure Pipelines would be fixed? The SciPy sprint is coming up, and if that doesn't get resolved, we might need to fast track #475. But keep the Travis CI builds since they still run (and we need it to do the PyPI releases). |
I thought it was fixed, but maybe not. See https://developercommunity.visualstudio.com/content/problem/1103514/schedules-devops-pipelines-failing-manual-reruns-w.html |
@weiji14 I still think we should bump to 6.1.0 ASAP, and use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with approving this PR and bumping to GMT 6.1.0 straightaway, but even if we do that, we still need to do #476 before we can update the baseline images. So go for it.
@weiji14 FYI, Azure Pipelines is back. |
Cool, thanks for handling all of that! I've taken a quick look across all of them already and they seem fine, but I'll want to focus on the pixel/gridline registration issue today. |
Yes, it has the highest priority. |
Description of proposed changes
of default earth relief grid registration
pytest.mark.xfail
to ignore some failures due to outdated baseline images or unknown failure reasonsReminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.