From 791fd0b4c53dfcaddd1eae27c51e75ac2eca81b3 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Tue, 11 Feb 2025 14:18:53 -0700 Subject: [PATCH] Python 3.13 support and testing (#688) * Python 3.13 * update release notes --- .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 | 1 + setup.cfg | 3 ++- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index 457bd98a..eda82ce7 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - name: checkout uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0abdaa8f..82c2f302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - name: checkout uses: actions/checkout@v4 diff --git a/build_envs/docs.yml b/build_envs/docs.yml index 50cf37ce..1c4ddb3f 100644 --- a/build_envs/docs.yml +++ b/build_envs/docs.yml @@ -2,7 +2,7 @@ name: gc-docs channels: - conda-forge dependencies: - - python>=3.10,<3.13 + - python>=3.10,<3.14 - pre_commit - geocat-datafiles - geocat-viz diff --git a/build_envs/environment.yml b/build_envs/environment.yml index 17fd8925..92085496 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.10,<3.13 # minimum support 3.10 + - python>=3.10,<3.14 # 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 5103e243..5de26816 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -13,6 +13,7 @@ vYYYY.MM.## (unreleased) Maintenance ^^^^^^^^^^^ +* Add support and testing for Python 3.13 by`Katelyn FitzGerald`_ in (:pr:`687`) * Remove NumPy version pin by `Katelyn FitzGerald`_ in (:pr:`686`) v2025.01.0 (January 28, 2025) diff --git a/setup.cfg b/setup.cfg index 53019f95..0f2a0426 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,12 +18,13 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Scientific/Engineering [options] zip_safe = False include_package_data = True -python_requires = >=3.10, <3.13 +python_requires = >=3.10, <3.14 packages = find_namespace: setup_requires = setuptools_scm