Skip to content

Commit c43bb58

Browse files
committed
py(deps[uv]) Extend exclude-newer-package whitelist to gp-sphinx workspace
why: With gp-sphinx 0.0.1a10 just published (and any of its workspace siblings minted at the same time), the rolling exclude-newer = now − P3D window in the lockfile filters every release younger than 3 days. Until the window naturally clears, contributor uv sync --all-extras --dev --upgrade would fail with: × No solution found when resolving dependencies: ╰─▶ Because there is no version of gp-sphinx==0.0.1a10 ... hint: Consider using `exclude-newer-package` to override the cutoff for this package. The cooldown exists for supply-chain hygiene against unfamiliar upstreams. git-pull packages aren't an unfamiliar upstream — gp == git-pull, and so are we — and vcspull already uses the same [tool.uv.exclude-newer-package] override for libvcs, this commit extends it to cover the rest of the git-pull dep surface (gp-libs as a standalone utility, gp-sphinx plus its workspace siblings as the docs stack). what: - pyproject.toml: extend the existing [tool.uv.exclude-newer-package] block. libvcs stays in place; gp-libs leads as the standalone utility, gp-sphinx and its workspace packages (sphinx-autodoc-*, sphinx-gp-*, sphinx-ux-*, sphinx-fonts) follow in alphabetical order. - uv.lock: regenerated. uv writes a matching [options.exclude-newer-package] block; the 0.0.1a10 line resolves cleanly from PyPI.
1 parent f1dc861 commit c43bb58

2 files changed

Lines changed: 90 additions & 45 deletions

File tree

pyproject.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,23 @@ build-backend = "hatchling.build"
141141
# ``uv sync`` until the cooldown clears. ``false`` exempts libvcs from
142142
# any ``exclude-newer`` constraint (global or per-user) without
143143
# committing a date that would age into the lockfile.
144+
145+
gp-libs = false
146+
gp-sphinx = false
144147
libvcs = false
148+
sphinx-autodoc-api-style = false
149+
sphinx-autodoc-argparse = false
150+
sphinx-autodoc-docutils = false
151+
sphinx-autodoc-fastmcp = false
152+
sphinx-autodoc-pytest-fixtures = false
153+
sphinx-autodoc-sphinx = false
154+
sphinx-autodoc-typehints-gp = false
155+
sphinx-fonts = false
156+
sphinx-gp-opengraph = false
157+
sphinx-gp-sitemap = false
158+
sphinx-gp-theme = false
159+
sphinx-ux-autodoc-layout = false
160+
sphinx-ux-badges = false
145161

146162
[tool.mypy]
147163
python_version = "3.10"

uv.lock

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

0 commit comments

Comments
 (0)