From 3f514ee69a7c61d7bfa9e2d85ebbdee56cdaa17e Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Tue, 7 May 2024 09:58:29 -0700 Subject: [PATCH 1/6] Drop support for Python 3.8 --- .github/workflows/test.yml | 2 +- doc/compatibility.rst | 2 ++ doc/install.rst | 2 +- pyproject.toml | 3 +-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 35077777f..801404781 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,7 @@ jobs: - optional include: - dependencies: oldest - python: "3.8" + python: "3.9" - dependencies: latest python: "3.11" - dependencies: optional diff --git a/doc/compatibility.rst b/doc/compatibility.rst index 336bbed61..fcdc3a629 100644 --- a/doc/compatibility.rst +++ b/doc/compatibility.rst @@ -64,3 +64,5 @@ following releases to ensure compatibility: - 0.4.0 * - 3.7 - 0.6.0 + * - 3.8 + - 0.7.0 diff --git a/doc/install.rst b/doc/install.rst index 32d7729e4..c723f98d7 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -42,7 +42,7 @@ There are different ways to install Harmonica: Which Python? ------------- -You'll need **Python 3.8 or greater**. +You'll need **Python 3.9 or greater**. See :ref:`python-versions` if you require support for older versions. Dependencies diff --git a/pyproject.toml b/pyproject.toml index 5734f718f..7fad25d35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,12 +22,11 @@ classifiers = [ "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "numpy >= 1.21", "pandas >= 1.1", From 61655dcc598232d4536fd55f26382538998c5e09 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Tue, 11 Jun 2024 15:37:22 -0700 Subject: [PATCH 2/6] Update test action: bump 3.8 to 3.9 --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 560366cc4..bf2c7ca61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,10 +49,10 @@ jobs: python: "3.11" - dependencies: optional python: "3.11" - # test on macos-13 (x86) using oldest dependencies and python 3.8 + # test on macos-13 (x86) using oldest dependencies and python 3.9 - os: macos-13 dependencies: oldest - python: "3.8" + python: "3.9" exclude: # don't test on macos-latest (arm64) with oldest dependencies - os: macos-latest From 1f1447d17f7266e35e917d2673066d7e5f6899a5 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Tue, 11 Jun 2024 15:54:03 -0700 Subject: [PATCH 3/6] Bump minimum version of Numba Use the first Numba version to support Python 3.9. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7fad25d35..0e22d9572 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ dependencies = [ "pandas >= 1.1", "scipy >= 1.5", "scikit-learn >= 0.24", - "numba >= 0.52", + "numba >= 0.53", "xarray >= 0.16", "verde >= 1.7", "xrft >= 1.0", From de8d94f7cf542ab6d2444e7c2ab81948c689e54e Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Wed, 12 Jun 2024 12:00:07 -0700 Subject: [PATCH 4/6] Bump SciPy version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0e22d9572..369172b9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ requires-python = ">=3.9" dependencies = [ "numpy >= 1.21", "pandas >= 1.1", - "scipy >= 1.5", + "scipy >= 1.9", "scikit-learn >= 0.24", "numba >= 0.53", "xarray >= 0.16", From fc314dd4afc9f643778b61d217a32f1880d94174 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Wed, 12 Jun 2024 14:48:02 -0700 Subject: [PATCH 5/6] Bump minimum required pandas version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 369172b9f..4f0fea956 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ requires-python = ">=3.9" dependencies = [ "numpy >= 1.21", - "pandas >= 1.1", + "pandas >= 1.4", "scipy >= 1.9", "scikit-learn >= 0.24", "numba >= 0.53", From 8b568463784d5eae5a4340f7506939b24e39d0bd Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Wed, 12 Jun 2024 17:23:04 -0700 Subject: [PATCH 6/6] Fix version in compatibility list --- doc/compatibility.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/compatibility.rst b/doc/compatibility.rst index fcdc3a629..9acaeb1ed 100644 --- a/doc/compatibility.rst +++ b/doc/compatibility.rst @@ -65,4 +65,4 @@ following releases to ensure compatibility: * - 3.7 - 0.6.0 * - 3.8 - - 0.7.0 + - 0.6.0