From 5093c7435a6930f25c433b834914278002676985 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 Jul 2026 08:24:47 +0800 Subject: [PATCH 1/4] Correct project URLS. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fc373d0..d34a6c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,10 +37,10 @@ dependencies = [ ] [project.urls] -Homepage = "https://github.com/beeware/webview2-runtime" +Homepage = "https://github.com/beeware/WebView2.runtime" Funding = "https://beeware.org/contributing/membership/" -Tracker = "https://github.com/beeware/webview2-runtime/issues" -Source = "https://github.com/beeware/webview2-runtime" +Tracker = "https://github.com/beeware/WebView2.runtime/issues" +Source = "https://github.com/beeware/WebView2.runtime" [dependency-groups] # Extras used by developers *of* this library are pinned to specific versions to From b54979f694555cc167cd538ca332fcdcd08bcfd3 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 Jul 2026 16:09:41 +0800 Subject: [PATCH 2/4] Rename project. --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 10 +++++----- pyproject.toml | 10 +++++----- src/WebView2/__init__.py | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aac479b..3b8232f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,7 +141,7 @@ jobs: - name: Install Dependencies run: | python -m pip install -U pip - python -m pip install --pre -f ./dist WebView2.runtime + python -m pip install --pre -f ./dist dotNET.WebView2.WinForms - name: Test package run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4df3a1..492933b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: run: | gh release create "${GITHUB_REF_NAME}" \ --title "${VERSION}" \ - --notes "v${VERSION} of the Microsoft WebView2 runtime." \ + --notes "Includes v${VERSION} of the Microsoft WebView2 runtime." \ --draft \ --verify-tag \ dist/* diff --git a/README.md b/README.md index 79453f9..66ed7d9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ -# WebView2.runtime +# dotNET.WebView2.WinForms [Generic BeeWare Logo](https://beeware.org/) -[![Python Versions](https://img.shields.io/pypi/pyversions/WebView2.runtime.svg)](https://pypi.python.org/pypi/WebView2.runtime) [![PyPI Version](https://img.shields.io/pypi/v/WebView2.runtime.svg)](https://pypi.python.org/pypi/WebView2.runtime) [![Maturity](https://img.shields.io/pypi/status/WebView2.runtime.svg)](https://pypi.python.org/pypi/WebView2.runtime) [![BSD License](https://img.shields.io/pypi/l/WebView2.runtime.svg)](https://github.com/beeware/WebView2.runtime/blob/main/LICENSE) [![Discord server](https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic)](https://beeware.org/bee/chat/) +[![Python Versions](https://img.shields.io/pypi/pyversions/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![PyPI Version](https://img.shields.io/pypi/v/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![Maturity](https://img.shields.io/pypi/status/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![BSD License](https://img.shields.io/pypi/l/dotNET.WebView2.WinForms.svg)](https://github.com/beeware/dotNET.WebView2.WinForms/blob/main/LICENSE) [![Discord server](https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic)](https://beeware.org/bee/chat/) -This is the [Microsoft WebView2 runtime](https://www.nuget.org/packages/Microsoft.Web.WebView2) binaries, packaged with a light [Python.NET](http://pythonnet.github.io) wrapper, to enable easy use of WebView2 in Winforms applications. +This package contains the [Microsoft.Web.WebView2](https://www.nuget.org/packages/Microsoft.Web.WebView2) binaries, packaged with a light [Python.NET](http://pythonnet.github.io) wrapper. It provides a WebView2 WinForms control. For details on usage and distribution, see [the Microsoft WebView2 documentation](https://docs.microsoft.com/en-us/microsoft-edge/webview2/) @@ -12,7 +12,7 @@ Before use, the end-user must have the WebView2 Runtime installed. [Details can ## Usage -Once installed in an environment that also has Python.NET installed, importing the WebView2 package will load the WebView2 assemblies. The `Microsoft.Web.WebView2` libraries can then be imported and used: +Once installed in an environment that also has Python.NET installed, importing the `WebView2` package will load the WebView2 assemblies. The `Microsoft.Web.WebView2` libraries can then be imported and used: # Load the WebView2 assemblies import WebView2 @@ -47,4 +47,4 @@ We foster a welcoming and respectful community as described in our [BeeWare Comm ## Contributing -If you experience problems with this package, [log them on GitHub](https://github.com/beeware/WebView2.runtime/issues). If you want to contribute, please [fork the project](https://github.com/beeware/WebView2.runtime) and [submit a pull request](https://github.com/beeware/WebView2.runtime/pulls). +If you experience problems with this package, [log them on GitHub](https://github.com/beeware/dotNET.WebView2.WinForms/issues). If you want to contribute, please [fork the project](https://github.com/beeware/dotNET.WebView2.WinForms) and [submit a pull request](https://github.com/beeware/dotNET.WebView2.WinForms/pulls). diff --git a/pyproject.toml b/pyproject.toml index d34a6c2..2ac71de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,9 +6,9 @@ requires = [ build-backend = "setuptools.build_meta" [project] -name = "WebView2.runtime" +name = "dotNET.WebView2.WinForms" dynamic = ["version"] -description = "A Python package providing the Microsoft.Web.WebView2 runtime DLLs" +description = "Python.NET bindings to the Microsoft.Web.WebView2 Winforms component" readme = "README.md" requires-python = ">=3.10" license = "BSD-3-Clause" @@ -37,10 +37,10 @@ dependencies = [ ] [project.urls] -Homepage = "https://github.com/beeware/WebView2.runtime" +Homepage = "https://github.com/beeware/dotNET.WebView2.WinForms" Funding = "https://beeware.org/contributing/membership/" -Tracker = "https://github.com/beeware/WebView2.runtime/issues" -Source = "https://github.com/beeware/WebView2.runtime" +Tracker = "https://github.com/beeware/dotNET.WebView2.WinForms/issues" +Source = "https://github.com/beeware/dotNET.WebView2.WinForms" [dependency-groups] # Extras used by developers *of* this library are pinned to specific versions to diff --git a/src/WebView2/__init__.py b/src/WebView2/__init__.py index 29a7c99..1fdd932 100644 --- a/src/WebView2/__init__.py +++ b/src/WebView2/__init__.py @@ -5,7 +5,7 @@ import clr -__version__ = version("WebView2.runtime") +__version__ = version("dotNET.WebView2.WinForms") WEBVIEW2_DIR = Path(__file__).parent From f0683c2a3f554cd4cefcf0086161a3c6ebf92266 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 Jul 2026 16:35:28 +0800 Subject: [PATCH 3/4] Correct workflows. --- .github/workflows/check-pr-template.yml | 2 +- .github/workflows/update.yml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/check-pr-template.yml b/.github/workflows/check-pr-template.yml index 54e66f4..0382c56 100644 --- a/.github/workflows/check-pr-template.yml +++ b/.github/workflows/check-pr-template.yml @@ -10,5 +10,5 @@ jobs: check-pr-template: name: Check PR template permissions: - pull-requests: read + contents: read uses: beeware/.github/.github/workflows/pr-checklist.yml@84508d17a1d29ee3b82ce2e467dcd38c4a0c6a5a # main diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e433d26..582d2f8 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -23,9 +23,6 @@ jobs: with: repository: ${{ github.repository }} fetch-depth: 0 # Fetch all refs so update.py can compare against release tags - # Don't persist the token in .git/config (avoids the artipacked - # credential-leak vector); pushes are authenticated via the gh - # credential helper configured in "Configure git" below. persist-credentials: false - name: Set up Python From 22880d09008b8ee9896e84cbb3ebc8dba10bb912 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 28 Jul 2026 16:45:15 +0800 Subject: [PATCH 4/4] Rename to dotnet-WebView2.WinForms --- .github/workflows/ci.yml | 2 +- README.md | 6 +++--- pyproject.toml | 8 ++++---- src/WebView2/__init__.py | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3b8232f..5f3ef35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -141,7 +141,7 @@ jobs: - name: Install Dependencies run: | python -m pip install -U pip - python -m pip install --pre -f ./dist dotNET.WebView2.WinForms + python -m pip install --pre -f ./dist dotnet-WebView2.WinForms - name: Test package run: | diff --git a/README.md b/README.md index 66ed7d9..015d6cb 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# dotNET.WebView2.WinForms +# dotnet-WebView2.WinForms [Generic BeeWare Logo](https://beeware.org/) -[![Python Versions](https://img.shields.io/pypi/pyversions/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![PyPI Version](https://img.shields.io/pypi/v/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![Maturity](https://img.shields.io/pypi/status/dotNET.WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotNET.WebView2.WinForms) [![BSD License](https://img.shields.io/pypi/l/dotNET.WebView2.WinForms.svg)](https://github.com/beeware/dotNET.WebView2.WinForms/blob/main/LICENSE) [![Discord server](https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic)](https://beeware.org/bee/chat/) +[![Python Versions](https://img.shields.io/pypi/pyversions/dotnet-WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotnet-WebView2.WinForms) [![PyPI Version](https://img.shields.io/pypi/v/dotnet-WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotnet-WebView2.WinForms) [![Maturity](https://img.shields.io/pypi/status/dotnet-WebView2.WinForms.svg)](https://pypi.python.org/pypi/dotnet-WebView2.WinForms) [![BSD License](https://img.shields.io/pypi/l/dotnet-WebView2.WinForms.svg)](https://github.com/beeware/dotnet-WebView2.WinForms/blob/main/LICENSE) [![Discord server](https://img.shields.io/discord/836455665257021440?label=Discord%20Chat&logo=discord&style=plastic)](https://beeware.org/bee/chat/) This package contains the [Microsoft.Web.WebView2](https://www.nuget.org/packages/Microsoft.Web.WebView2) binaries, packaged with a light [Python.NET](http://pythonnet.github.io) wrapper. It provides a WebView2 WinForms control. @@ -47,4 +47,4 @@ We foster a welcoming and respectful community as described in our [BeeWare Comm ## Contributing -If you experience problems with this package, [log them on GitHub](https://github.com/beeware/dotNET.WebView2.WinForms/issues). If you want to contribute, please [fork the project](https://github.com/beeware/dotNET.WebView2.WinForms) and [submit a pull request](https://github.com/beeware/dotNET.WebView2.WinForms/pulls). +If you experience problems with this package, [log them on GitHub](https://github.com/beeware/dotnet-WebView2.WinForms/issues). If you want to contribute, please [fork the project](https://github.com/beeware/dotnet-WebView2.WinForms) and [submit a pull request](https://github.com/beeware/dotnet-WebView2.WinForms/pulls). diff --git a/pyproject.toml b/pyproject.toml index 2ac71de..5323a05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ build-backend = "setuptools.build_meta" [project] -name = "dotNET.WebView2.WinForms" +name = "dotnet-WebView2.WinForms" dynamic = ["version"] description = "Python.NET bindings to the Microsoft.Web.WebView2 Winforms component" readme = "README.md" @@ -37,10 +37,10 @@ dependencies = [ ] [project.urls] -Homepage = "https://github.com/beeware/dotNET.WebView2.WinForms" +Homepage = "https://github.com/beeware/dotnet-WebView2.WinForms" Funding = "https://beeware.org/contributing/membership/" -Tracker = "https://github.com/beeware/dotNET.WebView2.WinForms/issues" -Source = "https://github.com/beeware/dotNET.WebView2.WinForms" +Tracker = "https://github.com/beeware/dotnet-WebView2.WinForms/issues" +Source = "https://github.com/beeware/dotnet-WebView2.WinForms" [dependency-groups] # Extras used by developers *of* this library are pinned to specific versions to diff --git a/src/WebView2/__init__.py b/src/WebView2/__init__.py index 1fdd932..557da71 100644 --- a/src/WebView2/__init__.py +++ b/src/WebView2/__init__.py @@ -5,7 +5,7 @@ import clr -__version__ = version("dotNET.WebView2.WinForms") +__version__ = version("dotnet-WebView2.WinForms") WEBVIEW2_DIR = Path(__file__).parent