Skip to content

Conversation

@weiji14
Copy link
Member

@weiji14 weiji14 commented Dec 5, 2021

Description of proposed changes

Remove the pin to GMT 6.3 in the ci_tests_dev.yaml file so that GMT 6.4 and above will be installed instead. A recent version bump was made in conda-forge/gmt-feedstock#190.
Also run tests on Windows Server 2022.

For context, the pin was originally made deeafad to fix a problem with the conda/mamba resolver (see #841 (comment)). Let's see if unpinning works. For even more context on why we install GMT dev from conda-forge on Windows instead of building GMT from source, see #755.

This should hopefully fix a recent installation error on GMT Dev Tests for Windows caused by a missing compatible version of GDAL, e.g. at https://github.com/GenericMappingTools/pygmt/runs/4419658321?check_suite_focus=true#step:9:41:

 Looking for: ['gmt=6.3']


Pinned packages:
  - python 3.9.*


Encountered problems while solving:
  - nothing provides gdal >=2.2.4,<2.3.0a0 needed by fiona-1.8a2-py37h01e27f7_1

Fixes #

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

Remove the pin to GMT 6.3 in the ci_tests_dev.yaml file
so that GMT 6.4 and above will be installed instead.
@weiji14 weiji14 added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Dec 5, 2021
@weiji14 weiji14 self-assigned this Dec 5, 2021
Copy link
Member

@seisman seisman left a comment

Choose a reason for hiding this comment

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

Looks good to me. The 6 failing tests seem unrelated.

@seisman seisman added this to the 0.6.0 milestone Dec 5, 2021
@weiji14 weiji14 marked this pull request as ready for review December 5, 2021 10:13
@weiji14 weiji14 marked this pull request as draft December 5, 2021 11:27
@weiji14 weiji14 marked this pull request as ready for review December 5, 2021 11:28
@weiji14
Copy link
Member Author

weiji14 commented Dec 5, 2021

Just noticed that GitHub Actions has Windows Server 2022 images in beta (see actions/runner-images#4488), so giving it a try at c8255e4 😁

@weiji14 weiji14 added the final review call This PR requires final review and approval from a second reviewer label Dec 5, 2021
@weiji14 weiji14 merged commit 564e274 into main Dec 6, 2021
@weiji14 weiji14 deleted the unpin-windows-gmt-dev branch December 6, 2021 20:20
@weiji14 weiji14 removed the final review call This PR requires final review and approval from a second reviewer label Dec 6, 2021
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022
…appingTools#1645)

Remove the pin to GMT 6.3 in the ci_tests_dev.yaml file
so that GMT 6.4 and above will be installed instead.
Also run tests on Windows Server 2022.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants