Skip to content

Policy for minimum supported GMT versions #2967

Closed

Description

@seisman

With GMT 6.5.0 released, now PyGMT supports three GMT minor versions, 6.3, 6.4 and 6.5, although old GMT versions may have some bugs and miss some features. Supporting multiple GMT versions is a big burden for us maintainers, so we need to decide our policy for the minimum supported GMT versions.

Here are a few options:

  1. No policy, i.e., try our best to support the oldest GMT version, unless there is no way or very difficult to be backward-compatible
  2. Follow SPEC 0's recommendations for Python versions (Migrate from NEP 029 to SPEC 0 #2863), and support for GMT versions to be dropped 3 years after their initial release.
  3. Follow SPEC 0's recommendations for core package dependencies (Migrate from NEP 029 to SPEC 0 #2863), and support for GMT versions to be dropped 2 years after their initial release.

FYI, GMT usually has one release per year (https://github.com/GenericMappingTools/gmt/tags).

  • GMT 6.3.0 was released on Nov 19, 2021
  • GMT 6.4.0 was released on Jun 16, 2022
  • GMT 6.5.0 was released on Jan 7, 2024

Activity

  1. added
    discussions
    on Jan 8, 2024
  2. added this to the 0.12.0 milestone on Jan 8, 2024
  3. weiji14 commented on Feb 6, 2024

    @weiji14
    Member

    We can probably support about 2-3 minor GMT versions at a time, so maybe go with Option 2 (drop GMT versions after 3 years)? That's assuming that GMT continues to have a minor release every year, which means PyGMT will support at least 2 (or more) GMT minor versions at a time.

  4. seisman commented on Feb 6, 2024

    @seisman
    MemberAuthor

    I'm also in favor of option 2. Ping @GenericMappingTools/pygmt-maintainers for comments.

  5. added
    maintenance
    and removed
    discussions
    on Feb 6, 2024
  6. seisman commented on Feb 18, 2024

    @seisman
    MemberAuthor

    Ping @yvonnefroehlich @willschlitzer @michaelgrund for comments. Otherwise, we will go with option 2.

  7. yvonnefroehlich commented on Feb 18, 2024

    @yvonnefroehlich
    Member

    I feel PyGMT should support the last 2-3 GMT versions. From my experience, many users are not updating GMT immediately after a new release. I personally prefer to stay with the same GMT version for a publication, which can easily take a year (or more) to be finally published. So, I think option 2 is a fair compromise between supporting older GMT versions and the work for developers and maintainers.

  8. added
    help wanted
    on Feb 21, 2024
  9. seisman commented on Feb 21, 2024

    @seisman
    MemberAuthor

    I think we will go for option 2. Need to document the policy in README, doc/maintenance.md, doc/minversions.rst and also need to update the release checklist. Let's wait for #3056 and #3059 first.

  10. pinned this issue on Feb 21, 2024
  11. removed
    help wanted
    on Feb 27, 2024
  12. self-assigned this
    on Feb 27, 2024
  13. unpinned this issue on Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

maintenance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions