From 8f8064a70bcccb5c15ae2bc874601d33f6976fa7 Mon Sep 17 00:00:00 2001 From: Jeffrey 'Alex' Clark Date: Tue, 28 Jul 2026 15:13:13 -0400 Subject: [PATCH] Revert move from python-pillow.org to python-pillow.github.io This reverts commit c5474ed43363e24602c92e5ca7b37899ce37b9a5. python-pillow.org resolves correctly and python-pillow.github.io redirects to it, so revert the URLs back to python-pillow.org. Also updates .github/generate-sbom.py, which was added after the original migration and used the .github.io URL, for consistency. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/generate-sbom.py | 2 +- docs/handbook/tutorial.rst | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/generate-sbom.py b/.github/generate-sbom.py index 6fecfc29ae4..c4565e623f9 100755 --- a/.github/generate-sbom.py +++ b/.github/generate-sbom.py @@ -74,7 +74,7 @@ def generate(version: str) -> dict: "licenses": [{"license": {"id": "MIT-CMU"}}], "purl": purl, "externalReferences": [ - {"type": "website", "url": "https://python-pillow.github.io"}, + {"type": "website", "url": "https://python-pillow.org"}, {"type": "vcs", "url": "https://github.com/python-pillow/Pillow"}, {"type": "documentation", "url": "https://pillow.readthedocs.io"}, { diff --git a/docs/handbook/tutorial.rst b/docs/handbook/tutorial.rst index 28c0abe4437..219f751171d 100644 --- a/docs/handbook/tutorial.rst +++ b/docs/handbook/tutorial.rst @@ -677,7 +677,7 @@ Reading from URL from PIL import Image from urllib.request import urlopen - url = "https://python-pillow.github.io/assets/images/pillow-logo.png" + url = "https://python-pillow.org/assets/images/pillow-logo.png" img = Image.open(urlopen(url)) diff --git a/pyproject.toml b/pyproject.toml index eb53829d21f..76182deb21c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ urls."Release notes" = "https://pillow.readthedocs.io/en/stable/releasenotes/ind urls.Changelog = "https://github.com/python-pillow/Pillow/releases" urls.Documentation = "https://pillow.readthedocs.io" urls.Funding = "https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=pypi" -urls.Homepage = "https://python-pillow.github.io" +urls.Homepage = "https://python-pillow.org" urls.Mastodon = "https://fosstodon.org/@pillow" urls.Source = "https://github.com/python-pillow/Pillow"