diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 806aa20545e..a85552d5ed7 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.9] + python-version: ['3.8', '3.9'] os: [ubuntu-latest, macOS-latest, windows-latest] # Is it a draft Pull Request (true or false)? isDraft: @@ -44,13 +44,13 @@ jobs: # - os: ubuntu-latest # python-version: 3.7 # isDraft: true - # Pair Python 3.7 with NumPy 1.19 and Python 3.9 with NumPy 1.21 + # Pair Python 3.8 with NumPy 1.19 and Python 3.9 with NumPy 1.21 # Only install optional packages on Python 3.9/NumPy 1.21 include: - - python-version: 3.7 + - python-version: '3.8' numpy-version: '1.19' optional-packages: '' - - python-version: 3.9 + - python-version: '3.9' numpy-version: '1.21' optional-packages: 'geopandas ipython' timeout-minutes: 30 diff --git a/doc/install.rst b/doc/install.rst index 41fc0e05fa2..27230aeb740 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -35,7 +35,7 @@ Start by looking at the tutorials on our sidebar, good luck! Which Python? ------------- -PyGMT is tested to run on **Python 3.7 or greater**. +PyGMT is tested to run on **Python 3.8 or greater**. We recommend using the `Anaconda `__ Python distribution to ensure you have all dependencies installed and the diff --git a/setup.py b/setup.py index 264f06355a3..7557aaf1e7d 100644 --- a/setup.py +++ b/setup.py @@ -27,14 +27,13 @@ "Intended Audience :: Education", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", f"License :: OSI Approved :: {LICENSE}", ] PLATFORMS = "Any" -PYTHON_REQUIRES = ">=3.7" +PYTHON_REQUIRES = ">=3.8" INSTALL_REQUIRES = ["numpy>=1.19", "pandas", "xarray", "netCDF4", "packaging"] # Configuration for setuptools-scm SETUP_REQUIRES = ["setuptools_scm"]