From 519dbdfdf85e6c43a6e8cd3e4e67b006d7d311e2 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Tue, 7 Oct 2025 12:35:16 +0300 Subject: [PATCH 1/3] test on python 3.14 --- .github/workflows/ci.yml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24800a2..c5ebfc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 7b73e7e..ea100b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration", "Topic :: Utilities", From 0f72f5b05b67ae0330cddcdea9dbd0e1051b889a Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Tue, 7 Oct 2025 12:41:11 +0300 Subject: [PATCH 2/3] only release docker builds when we make a release --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bc3799a..9acfeea 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -53,7 +53,7 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64 - push: true + push: ${{ github.event_name == 'release' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha From 36a0992337cce6f9e1319bd68acd8d4f98270caf Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Tue, 7 Oct 2025 12:53:25 +0300 Subject: [PATCH 3/3] only do docker build on release, there is very little point in testing that on every merge to master if pypi packaging works --- .github/workflows/docker.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9acfeea..3a775d6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -3,13 +3,6 @@ name: Build and Push Docker Image on: release: types: [published] - push: - branches: - - main - paths: - - "Dockerfile" - - "src/**" - - "pyproject.toml" workflow_dispatch: env: @@ -53,7 +46,7 @@ jobs: with: context: . platforms: linux/amd64,linux/arm64 - push: ${{ github.event_name == 'release' }} + push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha