From 1f41236ffa228f1da9b14ba41ebd92d4474e763a Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Tue, 18 Nov 2025 16:51:54 -0600 Subject: [PATCH 1/2] Add Python 3.14 support --- .github/workflows/build_workflow.yml | 8 ++++---- conda/dev.yml | 2 +- pyproject.toml | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index ace0d1d..aff4078 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -37,10 +37,10 @@ jobs: - name: Checkout Code Repository uses: actions/checkout@v3 - - name: Set up Python 3.13 + - name: Set up Python 3.14 uses: actions/setup-python@v4 with: - python-version: 3.13 + python-version: 3.14 # Run all pre-commit hooks on all the files. # Getting only staged files can be tricky in case a new PR is opened @@ -57,7 +57,7 @@ jobs: timeout-minutes: 15 strategy: matrix: - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] defaults: run: shell: bash -l {0} @@ -93,7 +93,7 @@ jobs: # Ensure we have the right Python version python --version # Fix pip issues for Python 3.12+ - if [[ "${{ matrix.python-version }}" == "3.12" ]] || [[ "${{ matrix.python-version }}" == "3.13" ]]; then + if [[ "${{ matrix.python-version }}" == "3.12" ]] || [[ "${{ matrix.python-version }}" == "3.13" ]] || [[ "${{ matrix.python-version }}" == "3.14" ]]; then python -m ensurepip --upgrade || true python -m pip install --upgrade --force-reinstall pip setuptools wheel fi diff --git a/conda/dev.yml b/conda/dev.yml index 0c812ef..91bd1ba 100644 --- a/conda/dev.yml +++ b/conda/dev.yml @@ -10,7 +10,7 @@ channels: dependencies: # Build # ======================= - - python >=3.11,<3.14 + - python >=3.11,<3.15 - pip - setuptools >= 60 # Base diff --git a/pyproject.toml b/pyproject.toml index 6a04641..4b86e7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,12 +7,13 @@ authors = [ description = "A package for providing extra functionality on top of external packages" license = {file = "LICENSE"} readme = "README.md" -requires-python = ">=3.11,<3.14" +requires-python = ">=3.11,<3.15" classifiers = [ # these are only for searching/browsing projects on PyPI "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", ] @@ -98,7 +99,7 @@ exclude = ''' ''' [tool.mypy] -python_version = 3.13 +python_version = 3.14 check_untyped_defs = true ignore_missing_imports = true warn_unused_ignores = true From e74152a4c0f50e2847ef1182a963aac20e49326c Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Mon, 2 Mar 2026 12:30:43 -0800 Subject: [PATCH 2/2] Address review comments --- .github/workflows/build_workflow.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build_workflow.yml b/.github/workflows/build_workflow.yml index aff4078..fba6fca 100644 --- a/.github/workflows/build_workflow.yml +++ b/.github/workflows/build_workflow.yml @@ -92,11 +92,6 @@ jobs: conda list # Ensure we have the right Python version python --version - # Fix pip issues for Python 3.12+ - if [[ "${{ matrix.python-version }}" == "3.12" ]] || [[ "${{ matrix.python-version }}" == "3.13" ]] || [[ "${{ matrix.python-version }}" == "3.14" ]]; then - python -m ensurepip --upgrade || true - python -m pip install --upgrade --force-reinstall pip setuptools wheel - fi - if: ${{ needs.check-jobs-to-skip.outputs.should_skip != 'true' }} name: Show Conda Environment Info