Closed
Description
Description of the desired feature
Python 3.9 has been released on 2020-10-05. Should check to see if pygmt works well with Python 3.9. See also previous issue for Python 3.8 at #340.
Links:
- https://blog.python.org/2020/10/python-390-is-now-available-and-you-can.html
- PEP 596 -- Python 3.9 Release Schedule at https://www.python.org/dev/peps/pep-0596/
- https://realpython.com/python39-new-features/
- PEP 602 -- Annual Release Cycle for Python at https://www.python.org/dev/peps/pep-0602/
Drop Python 3.6 support?
Also, just bringing up the topic of whether we should follow NEP 29 — Recommend Python and Numpy version support as a community policy standard as noted before in #340 (comment). This would mean dropping support for Python 3.6.
In practice, we'll need to follow in the footsteps of our dependent packages:
- pandas 1.2 dropped Python 3.6 at Drop Python 3.6 support pandas-dev/pandas#35214
- xarray is less aggressive, they're thinking about it at Consider revising our minimum dependency version policy pydata/xarray#4179
Some options we can take are:
- Agressive option - Do a PyGMT v0.2.1 release which is the last version to support Python 3.6, and state that PyGMT v0.3.0 requires Python 3.7 or newer.
- Less aggressive option - Still support Python 3.6 for PyGMT v0.3.0 (but maybe drop it from our test suite to save on CI resources).
Are you willing to help implement and maintain this feature? Yes