From 76a01e54b38122e7204f65ffa954d03286cd8b1d Mon Sep 17 00:00:00 2001 From: jakeross Date: Fri, 26 Jun 2026 09:35:25 -0600 Subject: [PATCH] Bump base Python to 3.14 Raise requires-python to >=3.14 for nmuwd and die-orchestration, and align the toolchains: CI (cicd, orchestration-ci, publish-to-pypi), Dagster+ deploy workflows (branch_deployments, deploy), and the orchestration Dockerfile base image. Verified the full orchestration stack resolves, builds, and loads on 3.14.5, and backend tests (261) pass. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/branch_deployments.yml | 2 +- .github/workflows/cicd.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/orchestration-ci.yml | 2 +- .github/workflows/publish-to-pypi.yml | 4 ++-- orchestration/Dockerfile | 2 +- orchestration/pyproject.toml | 2 +- pyproject.toml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/branch_deployments.yml b/.github/workflows/branch_deployments.yml index 02ee707..63e55be 100644 --- a/.github/workflows/branch_deployments.yml +++ b/.github/workflows/branch_deployments.yml @@ -11,7 +11,7 @@ env: DAGSTER_CLOUD_URL: "http://nmbgmr-data-services.dagster.plus" DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.10' + PYTHON_VERSION: '3.14' DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' jobs: diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 978fe71..e2960f9 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -22,7 +22,7 @@ jobs: version: "latest" - name: Set up Python - run: uv python install 3.10 + run: uv python install 3.14 - name: Install dependencies run: uv sync --extra dev diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 954a93e..b5cb7ce 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,7 +13,7 @@ env: DAGSTER_CLOUD_URL: "http://nmbgmr-data-services.dagster.plus" DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.10' + PYTHON_VERSION: '3.14' DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' jobs: diff --git a/.github/workflows/orchestration-ci.yml b/.github/workflows/orchestration-ci.yml index 8cff5de..325139e 100644 --- a/.github/workflows/orchestration-ci.yml +++ b/.github/workflows/orchestration-ci.yml @@ -26,7 +26,7 @@ jobs: version: "latest" - name: Set up Python - run: uv python install 3.10 + run: uv python install 3.14 - name: Install root package deps run: uv sync --extra dev diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 9df9955..12a24e9 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -18,10 +18,10 @@ jobs: id-token: write steps: - uses: actions/checkout@master - - name: Set up Python 3.13 + - name: Set up Python 3.14 uses: actions/setup-python@v5 with: - python-version: 3.13 + python-version: 3.14 - name: Install pypa/build run: >- diff --git a/orchestration/Dockerfile b/orchestration/Dockerfile index 47e54f7..6c4ea11 100644 --- a/orchestration/Dockerfile +++ b/orchestration/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12-slim +FROM python:3.14-slim WORKDIR /app diff --git a/orchestration/pyproject.toml b/orchestration/pyproject.toml index a700805..271ee9d 100644 --- a/orchestration/pyproject.toml +++ b/orchestration/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" name = "die-orchestration" version = "0.1.0" description = "DIE Dagster orchestration (internal, not published)" -requires-python = ">=3.10" +requires-python = ">=3.14" dependencies = [ "dagster>=1.8", "dagster-cloud", diff --git a/pyproject.toml b/pyproject.toml index 3ea690d..58766bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "New Mexico Water Data Integration Engine" readme = "README.md" license = { text = "Apache-2.0" } authors = [{ name = "Jake Ross" }] -requires-python = ">=3.10" +requires-python = ">=3.14" classifiers = [ "Programming Language :: Python :: 3", "Operating System :: OS Independent",