Skip to content

Commit b77ca9c

Browse files
committed
py(deps[uv-sources]): override gp-sphinx workspace at local path for SEO branch
why: gp-sphinx 0.0.1a9 on PyPI still pulls in sphinxext-opengraph and no sitemap generator. The seo-packages branch in git-pull/gp-sphinx replaces sphinxext-opengraph with the lightweight gp-opengraph (no matplotlib) and adds gp-sitemap. To exercise that work end-to-end against libtmux-mcp's docs build before merge, point [tool.uv.sources] at the sibling /home/d/work/python/gp-sphinx repo so uv resolves gp-sphinx, gp-opengraph, and gp-sitemap from there instead of the published wheels. what: - Add a temporary [tool.uv.sources] table pinning gp-sphinx, gp-opengraph, and gp-sitemap to ../gp-sphinx/packages/<name> (editable). uv auto-resolves the other gp-sphinx workspace members (sphinx-fonts, sphinx-gp-theme, sphinx-autodoc-typehints-gp) to their local paths via workspace discovery - Refresh uv.lock: sphinxext-opengraph removed; gp-opengraph and gp-sitemap added - Comment in pyproject.toml flags the override as temporary; drop once seo-packages merges and a release is tagged
1 parent 62a7030 commit b77ca9c

2 files changed

Lines changed: 71 additions & 35 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ lint = [
109109
requires = ["hatchling"]
110110
build-backend = "hatchling.build"
111111

112+
# Temporary local overrides while the SEO packages are still on the
113+
# `seo-packages` branch of git-pull/gp-sphinx. Drop this table once the
114+
# branch is merged and a release is tagged on PyPI.
115+
[tool.uv.sources]
116+
gp-sphinx = { path = "../gp-sphinx/packages/gp-sphinx", editable = true }
117+
gp-opengraph = { path = "../gp-sphinx/packages/gp-opengraph", editable = true }
118+
gp-sitemap = { path = "../gp-sphinx/packages/gp-sitemap", editable = true }
119+
112120
[tool.mypy]
113121
strict = true
114122
python_version = "3.10"

uv.lock

Lines changed: 63 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)