From 3e278c8805704a2f5252888ae1aa9982232f8fcd Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Fri, 23 Aug 2024 13:29:01 -0300 Subject: [PATCH 1/2] Drop support for Python 3.7 and 3.8 They are outside of our support range and are causing problems with the GitHub Actions workflows on OSX. --- .github/workflows/test.yml | 4 ++-- doc/compatibility.rst | 4 +++- doc/install.rst | 2 +- pyproject.toml | 12 +++++------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f0586d..72de465 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,9 +39,9 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python: ["3.7", "3.12"] + python: ["3.9", "3.12"] include: - - python: "3.7" + - python: "3.9" dependencies: oldest - python: "3.12" dependencies: latest diff --git a/doc/compatibility.rst b/doc/compatibility.rst index eee424b..c8d367f 100644 --- a/doc/compatibility.rst +++ b/doc/compatibility.rst @@ -56,4 +56,6 @@ releases to ensure compatibility: * - **Python version** - **Last compatible release** * - 3.7 - - Not yet released + - v0.5.0 + * - 3.8 + - v0.5.0 diff --git a/doc/install.rst b/doc/install.rst index 8c964e5..5f66ff3 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -42,7 +42,7 @@ There are different ways to install xlandsat: Which Python? ------------- -You'll need **Python >= 3.7**. +You'll need **Python >= 3.9**. See :ref:`python-versions` if you require support for older versions. Dependencies diff --git a/pyproject.toml b/pyproject.toml index 1f96fb3..610f94d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,19 +19,17 @@ classifiers = [ "Topic :: Software Development :: Libraries", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -requires-python = ">=3.7" +requires-python = ">=3.9" dependencies = [ - "numpy>=1.19", - "scipy>=1.5", - "xarray>=0.16", - "scikit-image>=0.18", + "numpy>=1.23", + "scipy>=1.9", + "xarray>=2022.6.0", + "scikit-image>=0.19", "pooch>=1.3.0", ] From aa8f8df823b312542fa6070610f804a25b662280 Mon Sep 17 00:00:00 2001 From: Leonardo Uieda Date: Fri, 23 Aug 2024 13:51:14 -0300 Subject: [PATCH 2/2] bump scikit-image --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 610f94d..eec2097 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "numpy>=1.23", "scipy>=1.9", "xarray>=2022.6.0", - "scikit-image>=0.19", + "scikit-image>=0.20", "pooch>=1.3.0", ]