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

Add a table for compatibility of PyGMT with Python and GMT #763

Merged
merged 4 commits into from
Dec 29, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ Other Python wrappers for GMT:

Documentation for other versions
--------------------------------

* `Development <https://www.pygmt.org/dev>`__ (reflects the *master* branch on
GitHub)
* `Latest release <https://www.pygmt.org/latest>`__
Expand All @@ -216,3 +217,16 @@ Documentation for other versions
* `v0.1.1 <https://www.pygmt.org/v0.1.1>`__
* `v0.1.0 <https://www.pygmt.org/v0.1.0>`__
* `v0.0.1a0 <https://www.pygmt.org/0.0.1a0>`__

Compatibility with Python and GMT versions
------------------------------------------

======= ========== =========
PyGMT GMT Python
======= ========== =========
Copy link
Member Author

Choose a reason for hiding this comment

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

We can add the 0.3.0 entry now or later.

Copy link
Member

Choose a reason for hiding this comment

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

Let's add it later, not too sure yet when we want to cut a 0.3.0 release?

Copy link
Member Author

@seisman seisman Dec 27, 2020

Choose a reason for hiding this comment

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

I think we can release v0.3.0 two weeks before GMT v6.2.0 (late Jan or early Feb).

0.2.1 >=6.1.1 3.6 - 3.9
Copy link
Member

Choose a reason for hiding this comment

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

Since we went no-arch in v0.2.1 (see #690), should the Python compatibility be >=3.6? Not sure how to test on Python 3.10 but it should technically work.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do Python 3.6 codes always work with future Python versions?

Copy link
Member

Choose a reason for hiding this comment

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

It should? I think async/await became reserved names in 3.7 but PyGMT doesn't use those, or any advanced stuff really. Things should be safe until Python 4 at least.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, changed to ">=3.6".

0.2.0 >=6.1.1 3.6 - 3.8
0.1.2 >=6.0.0 3.6 - 3.8
0.1.1 >=6.0.0 3.6 - 3.8
0.1.0 >=6.0.0 3.6 - 3.8
seisman marked this conversation as resolved.
Show resolved Hide resolved
======= ========== =========