From 4e5fc715cc9cec33fa3e53cb204c6846b4508489 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 Dec 2025 20:11:27 +0100 Subject: [PATCH 1/5] CI: Modernize OS runner and Python versions --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 14 +++++++++----- setup.cfg | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e173853..8a77dad 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: '3.11' + python-version: '3.14' cache: 'pip' cache-dependency-path: 'setup.cfg' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a128614..eccb182 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,6 @@ name: Test on: pull_request: - branches: ~ paths: - '.github/workflows/test.yml' - 'pyproject.toml' @@ -32,11 +31,16 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-22.04"] + os: [ + 'ubuntu-latest', + ] python-version: [ - '3.7', '3.13', - 'pypy-3.9', 'pypy-3.10', + '3.14', + 'pypy-3.11', ] + include: + - os: 'ubuntu-22.04' + python-version: '3.7' steps: - uses: actions/checkout@v5 @@ -56,7 +60,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --editable=.[test,develop] + python -m pip install --editable='.[test,develop]' - name: Check code style if: matrix.python-version != '3.7' && matrix.python-version != 'pypy-3.7' diff --git a/setup.cfg b/setup.cfg index 25912fd..4a9e439 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,6 +37,7 @@ classifiers = Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: 3.13 + Programming Language :: Python :: 3.14 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Communications From 4d3f1be4927f312fd70e76615f311e0c20f23977 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 Dec 2025 20:16:57 +0100 Subject: [PATCH 2/5] CI: Improve Dependabot configuration --- .github/dependabot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8efce62..ac401ef 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,10 +5,10 @@ version: 2 updates: - - package-ecosystem: "pip" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "pip" + directory: "/" schedule: - interval: "weekly" + interval: "daily" - package-ecosystem: "github-actions" directory: "/" From 3887dd31021b940a1a3c583e52ef2caddaf44000 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 Dec 2025 20:17:31 +0100 Subject: [PATCH 3/5] CI: Adjust GitHub org name for `release-github` job --- .github/workflows/release-github.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-github.yml b/.github/workflows/release-github.yml index 1102fdd..4a7c3a6 100644 --- a/.github/workflows/release-github.yml +++ b/.github/workflows/release-github.yml @@ -37,7 +37,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | $(go env GOPATH)/bin/github-release -v release \ - --user panodata \ + --user grafana-toolbox \ --repo grafana-client \ --tag ${{ steps.version.outputs.VERSION }} \ --name ${{ steps.version.outputs.VERSION }} From c66392357bed34c4232a204977507f35450c6560 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 Dec 2025 20:17:54 +0100 Subject: [PATCH 4/5] CI: Don't limit runs to `test.yml` --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eccb182..0598fb8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: pull_request: paths: - - '.github/workflows/test.yml' + - '.github/workflows/**' - 'pyproject.toml' - 'setup.cfg' - '**.py' @@ -12,7 +12,7 @@ on: push: branches: [ main ] paths: - - '.github/workflows/test.yml' + - '.github/workflows/**' - 'pyproject.toml' - 'setup.cfg' - '**.py' From b2e4aa0dd347cb003a446b3273a6d02142c2f8ec Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 3 Dec 2025 20:18:32 +0100 Subject: [PATCH 5/5] Project: Bundle `build` and `twine` packages into `release` extra --- setup.cfg | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 4a9e439..883f11d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -85,12 +85,13 @@ test = requests-mock<2 develop = - build<2 poethepoet<1 pip-review<2 # Use `pip-review --local --interactive` to upgrade outdated packages. ruff<0.15;python_version>='3.7' - twine<7 +release = + build<2 + twine<7 [options.packages.find] where = .