From e9a8a172e08d9e3bbfdfd09ca97dc1cedea806a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Aug 2026 20:08:12 +0000 Subject: [PATCH 1/4] Bump the dependencies group with 3 updates Bumps the dependencies group with 3 updates: [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit), [https://github.com/rvben/rumdl-pre-commit](https://github.com/rvben/rumdl-pre-commit) and [https://github.com/zizmorcore/zizmor-pre-commit](https://github.com/zizmorcore/zizmor-pre-commit). Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.15.22 to 0.16.0 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.0) Updates `https://github.com/rvben/rumdl-pre-commit` from v0.2.34 to 0.2.43 - [Release notes](https://github.com/rvben/rumdl-pre-commit/releases) - [Commits](https://github.com/rvben/rumdl-pre-commit/compare/v0.2.34...v0.2.43) Updates `https://github.com/zizmorcore/zizmor-pre-commit` from v1.27.0 to 1.28.0 - [Release notes](https://github.com/zizmorcore/zizmor-pre-commit/releases) - [Commits](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.27.0...v1.28.0) Bump the dependencies group with 3 updates Bumps the dependencies group with 3 updates: [pre-commit](https://github.com/pre-commit/pre-commit), [setuptools-scm](https://github.com/pypa/setuptools-scm) and [httpx2](https://github.com/pydantic/httpx2). Updates `pre-commit` from 4.6.0 to 4.6.1 - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v4.6.0...v4.6.1) Updates `setuptools-scm` from 10.2.0 to 10.2.1 - [Release notes](https://github.com/pypa/setuptools-scm/releases) - [Changelog](https://github.com/pypa/setuptools-scm/blob/main/RELEASE_SYSTEM.md) - [Commits](https://github.com/pypa/setuptools-scm/compare/setuptools-scm-v10.2.0...setuptools-scm-v10.2.1) Updates `httpx2` from 2.9.0 to 2.9.1 - [Release notes](https://github.com/pydantic/httpx2/releases) - [Changelog](https://github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md) - [Commits](https://github.com/pydantic/httpx2/compare/v2.9.0...v2.9.1) Bump the dependencies group with 2 updates Bumps the dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python). Updates `actions/checkout` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v7...3d3c42e5aac5ba805825da76410c181273ba90b1) Updates `actions/setup-python` from 6.3.0 to 7.0.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/ece7cb06caefa5fff74198d8649806c4678c61a1...5fda3b95a4ea91299a34e894583c3862153e4b97) --- updated-dependencies: - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.16.0 dependency-type: direct:production dependency-group: dependencies - dependency-name: https://github.com/rvben/rumdl-pre-commit dependency-version: 0.2.43 dependency-type: direct:production dependency-group: dependencies - dependency-name: https://github.com/zizmorcore/zizmor-pre-commit dependency-version: 1.28.0 dependency-type: direct:production dependency-group: dependencies - dependency-name: pre-commit dependency-version: 4.6.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: setuptools-scm dependency-version: 10.2.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: httpx2 dependency-version: 2.9.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- .github/workflows/update.yml | 2 +- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f3ef35..b643487 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: # export it as the toga-winforms-scoped pretend version. This ensures that later # modifications don't cause a `.devN+...` version. - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.X" @@ -120,7 +120,7 @@ jobs: python-version: ["3.11", "3.14"] steps: - name: Checkout - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: ${{ github.repository }} fetch-depth: 0 # Fetch all refs so setuptools_scm can generate the correct version number @@ -134,7 +134,7 @@ jobs: path: dist - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 582d2f8..faf3c85 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -26,7 +26,7 @@ jobs: persist-credentials: false - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.X" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0d54e48..569ca11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,16 +9,16 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.0 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.2.34 + rev: v0.2.43 hooks: - id: rumdl - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.27.0 + rev: v1.28.0 hooks: - id: zizmor diff --git a/pyproject.toml b/pyproject.toml index 5323a05..33f20eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ "setuptools==83.0.0", - "setuptools_scm==10.2.0", + "setuptools_scm==10.2.1", ] build-backend = "setuptools.build_meta" @@ -46,7 +46,7 @@ Source = "https://github.com/beeware/dotnet-WebView2.WinForms" # Extras used by developers *of* this library are pinned to specific versions to # ensure environment consistency. pre-commit = [ - "pre-commit == 4.6.0", + "pre-commit == 4.6.1", ] setuptools-scm = [ @@ -54,7 +54,7 @@ setuptools-scm = [ ] update = [ - "httpx2 == 2.9.0", + "httpx2 == 2.9.1", ] dev = [ From 50f3e288b65136a9f7c23a959ecb04194655f25e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 3 Aug 2026 08:14:30 +0800 Subject: [PATCH 2/4] Ruff fixes and ignores. --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 33f20eb..3d17ba8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,12 @@ extend-select = [ # "SIM", # flake8-simplify ] +[tool.ruff.lint.per-file-ignores] +# Ignores needed to pass the Ruff 0.16 update. +# The package name matches the "WebView2" product name, so it can't +# conform to standard Python module naming conventions. +"src/WebView2/__init__.py" = ["N999"] + [tool.rumdl] flavor = "mkdocs" include = ["**/*.md"] From 26305ac37646197aa59e3cec6b89d522e8a5fb62 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 3 Aug 2026 08:48:35 +0800 Subject: [PATCH 3/4] Move N999 module-naming ignore into its own block. --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3d17ba8..f7ece76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,9 +86,7 @@ extend-select = [ ] [tool.ruff.lint.per-file-ignores] -# Ignores needed to pass the Ruff 0.16 update. -# The package name matches the "WebView2" product name, so it can't -# conform to standard Python module naming conventions. +# PEP8 module naming conventions aren't appropriate "src/WebView2/__init__.py" = ["N999"] [tool.rumdl] From f1b57670019b9638bef8dac61ac9b858042d67e5 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 3 Aug 2026 08:53:04 +0800 Subject: [PATCH 4/4] Bump setuptools_scm pin --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f7ece76..155def5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,7 @@ pre-commit = [ ] setuptools-scm = [ - "setuptools_scm == 10.2.0", + "setuptools_scm == 10.2.1", ] update = [