Commit 6c0a0b2
committed
py(deps[uv]) Whitelist git-pull packages from exclude-newer cooldown
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 — so the cooldown adds friction without
adding safety. Every workspace release would otherwise block every
contributor's sync for three days.
vcspull solved the identical pattern for libvcs in
~/work/python/vcspull/pyproject.toml; this commit mirrors that
approach, extended to cover the full git-pull dep surface
(gp-libs as a standalone utility, gp-sphinx plus its workspace
siblings as the docs stack).
what:
- pyproject.toml: add a [tool.uv.exclude-newer-package] block
exempting every git-pull-authored package from the cooldown.
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. Comment cites the
vcspull/libvcs precedent so future maintainers know why the
override exists.
- uv.lock: regenerated. uv writes a matching
[options.exclude-newer-package] block; the 0.0.1a10 line
resolves cleanly from PyPI.1 parent 742cc95 commit 6c0a0b2
2 files changed
Lines changed: 102 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
116 | 139 | | |
117 | 140 | | |
118 | 141 | | |
| |||
0 commit comments