From 6edbbecce514549fc6ced9a79e2a039bef09c5f8 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Thu, 19 Dec 2024 15:26:50 -0800 Subject: [PATCH] Drop support for Python 3.7 and 3.8 (#450) Drop support for Python <=3.8 since they have all reach their EOL. --- .github/workflows/test.yml | 4 ++-- doc/install.rst | 2 +- pyproject.toml | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 727d9bf8..4dbcebf1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,7 @@ jobs: - optional include: - dependencies: oldest - python: "3.7" + python: "3.9" - dependencies: latest python: "3.11" - dependencies: optional @@ -53,7 +53,7 @@ jobs: # test on macos-13 (x86) using oldest dependencies and python 3.7 - os: macos-13 dependencies: oldest - python: "3.7" + python: "3.9" exclude: # don't test on macos-latest (arm64) with oldest dependencies - os: macos-latest diff --git a/doc/install.rst b/doc/install.rst index 4961ae12..6bb5f52e 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -47,7 +47,7 @@ There are different ways to install Pooch: Which Python? ------------- -You'll need **Python >= 3.7**. See :ref:`python-versions` if you +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 1bfb3adb..58445092 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,13 +21,11 @@ classifiers = [ "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries", "Programming Language :: Python :: 3 :: Only", - "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", ] -requires-python = ">=3.7" +requires-python = ">=3.9" dependencies = [ "platformdirs >= 2.5.0", "packaging >= 20.0",