From cf4c896868846ea01dda67b421abd0bb19ba1812 Mon Sep 17 00:00:00 2001 From: julianz- <6255571+julianz-@users.noreply.github.com> Date: Fri, 27 Feb 2026 11:36:08 -0800 Subject: [PATCH] Fixes the missing source_url warning raised by jaraco.packaging.sphinx Version 10.4.0 of jaraco.packaging.sphinx introduced the requirement to provide a source_url. This commit adds the url to pyproject.toml but to avoid duplication on the PyPI homepage we remove the repo url which was the same. --- docs/changelog-fragments.d/817.packaging.rst | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docs/changelog-fragments.d/817.packaging.rst diff --git a/docs/changelog-fragments.d/817.packaging.rst b/docs/changelog-fragments.d/817.packaging.rst new file mode 100644 index 0000000000..3592439c03 --- /dev/null +++ b/docs/changelog-fragments.d/817.packaging.rst @@ -0,0 +1,4 @@ +Fixed the source code repository URL not being correctly +exposed in the project metadata. + +-- by :user:`julianz-` diff --git a/pyproject.toml b/pyproject.toml index 04787b6a4c..ff1fb40e56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,11 +61,11 @@ email = "team@cherrypy.dev" [project.urls] Homepage = "https://cheroot.cherrypy.dev" +"Source" = "https://github.com/cherrypy/cheroot" "Chat: Matrix" = "https://matrix.to/#/#cherrypy-space:matrix.org" "CI: GitHub" = "https://github.com/cherrypy/cheroot/actions" "Docs: RTD" = "https://cheroot.cherrypy.dev" "GitHub: issues" = "https://github.com/cherrypy/cheroot/issues" -"GitHub: repo" = "https://github.com/cherrypy/cheroot" "Tidelift: funding" = "https://tidelift.com/subscription/pkg/pypi-cheroot?utm_source=pypi-cheroot&utm_medium=referral&utm_campaign=pypi" [project.readme]