From 6edbbecce514549fc6ced9a79e2a039bef09c5f8 Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Thu, 19 Dec 2024 15:26:50 -0800 Subject: [PATCH 1/2] 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", From 1bc1c51d6f6c70cf4b60fa35583b6429a7f5384b Mon Sep 17 00:00:00 2001 From: Santiago Soler Date: Thu, 19 Dec 2024 15:31:51 -0800 Subject: [PATCH 2/2] Extend support for Python 3.13 (#451) Run tests on CI using Python 3.13 to ensure Pooch works properly on latest version of Python. --- .github/workflows/test.yml | 4 ++-- environment.yml | 2 +- pyproject.toml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4dbcebf1..2d4706d7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,9 +47,9 @@ jobs: - dependencies: oldest python: "3.9" - dependencies: latest - python: "3.11" + python: "3.13" - dependencies: optional - python: "3.11" + python: "3.13" # test on macos-13 (x86) using oldest dependencies and python 3.7 - os: macos-13 dependencies: oldest diff --git a/environment.yml b/environment.yml index 125bbb77..b4d56569 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - defaults dependencies: - - python==3.11 + - python==3.13 - pip # Run - requests diff --git a/pyproject.toml b/pyproject.toml index 58445092..b453da10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] requires-python = ">=3.9" dependencies = [