From 348dcad2feb8fad622cd71575ab974e307f50d67 Mon Sep 17 00:00:00 2001 From: jan iversen Date: Sat, 13 Jun 2026 19:19:24 +0200 Subject: [PATCH] Update CI actions and pyproject. --- .github/workflows/ci.yml | 9 ++++---- .github/workflows/clean_workflow_runs.yml | 2 +- pyproject.toml | 27 ++++++++++++----------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59ae2c7c9..33f882eb0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: branches: - dev - master - - wait_next_API tags: - v* pull_request: @@ -44,10 +43,10 @@ jobs: steps: - name: Checkout repo from github - uses: actions/checkout@v4.2.2 + uses: actions/checkout@v6.0.3 - name: Install uv - uses: astral-sh/setup-uv@v8.0.0 + uses: astral-sh/setup-uv@v8.2.0 with: python-version: ${{ matrix.python }} enable-cache: true @@ -102,10 +101,10 @@ jobs: analyze: name: Analyze Python if: github.event.pull_request.draft == false - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest timeout-minutes: 10 steps: - - uses: actions/checkout@v4.2.2 + - uses: actions/checkout@v6.0.3 - uses: github/codeql-action/init@v4 with: languages: python diff --git a/.github/workflows/clean_workflow_runs.yml b/.github/workflows/clean_workflow_runs.yml index c682a24d6..c9edfb51d 100644 --- a/.github/workflows/clean_workflow_runs.yml +++ b/.github/workflows/clean_workflow_runs.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Delete old workflow runs - uses: Mattraks/delete-workflow-runs@v2 + uses: Mattraks/delete-workflow-runs@v2.1.0 with: token: ${{ github.token }} repository: ${{ github.repository }} diff --git a/pyproject.toml b/pyproject.toml index 5fbc253f4..592320d96 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,30 +47,31 @@ serial = [ ] simulator = [ "aiohttp>=3.8.6;python_version<'3.12'", - "aiohttp>=3.13.2;python_version>='3.12'" + "aiohttp>=3.14.1;python_version>='3.12'" ] documentation = [ "recommonmark>=0.7.1", - "Sphinx>=7.3.7", - "sphinx-rtd-theme>=2.0.0" + "Sphinx>=7.3.7;python_version<'3.12'", + "Sphinx>=9.1.0;python_version>='3.12'", + "sphinx-rtd-theme>=3.1.0" ] development = [ - "build>=1.4.0", - "codespell>=2.3.0", - "coverage>=7.13.3", - "pylint>=4.0.4", - "pytest>=9.0.2", - "pytest-asyncio>=1.2.0", - "pytest-cov>=7.0.0", + "build>=1.5.0", + "codespell>=2.4.2", + "coverage>=7.14.3", + "pylint>=4.0.6", + "pytest>=9.1.1", + "pytest-asyncio>=1.4.0", + "pytest-cov>=7.1.0", "pytest-profiling>=1.7.0;python_version<'3.13'", "pytest-timeout>=2.3.1", "pytest-xdist>=3.6.1", - "pytest-aiohttp>=1.0.5", - "ruff>=0.15.0", + "pytest-aiohttp>=1.1.1", + "ruff>=0.15.20", "twine>=6.2.0", "types-Pygments", "types-pyserial", - "zuban>=0.4.2" + "zuban>=0.9.0" ] all = [ "pymodbus[serial, simulator, documentation, development]"