From 915063376c3bfaa0423a5aec15af84e03f646ccb Mon Sep 17 00:00:00 2001 From: Cora Schneck <22159116+cyschneck@users.noreply.github.com> Date: Mon, 22 Apr 2024 16:02:05 -0600 Subject: [PATCH] Drop Python 3.9 Support (#599) * remove 3.9 support and workflows * update release-notes.rst --- .github/workflows/ci-release.yml | 2 +- .github/workflows/ci.yml | 2 +- build_envs/docs.yml | 2 +- build_envs/environment.yml | 2 +- docs/release-notes.rst | 2 ++ setup.cfg | 3 +-- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index cfd898e9..359a47ec 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: checkout uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797ac4f0..0edaefd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-14", "windows-latest" ] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - name: checkout uses: actions/checkout@v4 diff --git a/build_envs/docs.yml b/build_envs/docs.yml index 2064823c..50cf37ce 100644 --- a/build_envs/docs.yml +++ b/build_envs/docs.yml @@ -2,7 +2,7 @@ name: gc-docs channels: - conda-forge dependencies: - - python>=3.9,<3.13 + - python>=3.10,<3.13 - pre_commit - geocat-datafiles - geocat-viz diff --git a/build_envs/environment.yml b/build_envs/environment.yml index 903602d1..a5e986d6 100644 --- a/build_envs/environment.yml +++ b/build_envs/environment.yml @@ -2,7 +2,7 @@ name: geocat_comp_build channels: - conda-forge dependencies: - - python>=3.9,<3.13 # minimum support 3.9 + - python>=3.10,<3.13 # minimum support 3.10 - cf_xarray>=0.3.1 # min version 0.3.1 for dependencies - cftime - dask diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 64d8f2a3..3638519e 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -11,8 +11,10 @@ Upcoming release Internal Changes ^^^^^^^^^^^^^^^^ +* Drop Python 3.9 Support by `Cora Schneck`_ in (:pr:`599`) * Reduce DeprecationWarnings in testing by `Cora Schneck`_ in (:pr:`582`) + v2024.03.0 (March 29, 2024) --------------------------- This release includes a bug fix for ``delta_pressure``. diff --git a/setup.cfg b/setup.cfg index 77037c1f..3fcbc5e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,7 +15,6 @@ classifiers = Intended Audience :: Science/Research Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 @@ -24,7 +23,7 @@ classifiers = [options] zip_safe = False include_package_data = True -python_requires = >=3.9, <3.13 +python_requires = >=3.10, <3.13 packages = find_namespace: setup_requires = setuptools_scm