Skip to content

Commit f7db9d9

Browse files
committed
docs: pin the Zensical toolchain exactly
Zensical is pre-1.0 and the build guards key on its rendering behavior (autorefs classes, compact-index handling), so toolchain bumps should be deliberate lockstep changes rather than incidental resolver upgrades. The pinned versions are what the lockfile already resolved.
1 parent d479b22 commit f7db9d9

2 files changed

Lines changed: 11 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,22 @@ docs = [
8282
# literate-nav) and llms.txt (formerly a hook) are generated by the
8383
# standalone scripts under scripts/docs/. See scripts/docs/build.sh.
8484
# 0.0.48 fixes relative/scoped cross-references for mkdocstrings-python,
85-
# which the mkdocstrings config in mkdocs.yml relies on.
86-
"zensical>=0.0.48",
85+
# which the mkdocstrings config in mkdocs.yml relies on. The toolchain is
86+
# pinned exactly: Zensical is pre-1.0 and the build guards key on its
87+
# rendering behavior, so bumps should be deliberate.
88+
"zensical==0.0.48",
8789
# Zensical's mkdocstrings compatibility layer targets the mkdocstrings 1.x /
8890
# mkdocstrings-python 2.0.5+ API (griffe 2 / griffelib); the older
8991
# mkdocstrings 0.30 / python 2.0.1 line renders API pages with an
9092
# unregistered-autorefs KeyError under Zensical.
91-
"mkdocstrings>=1.0.4",
92-
"mkdocstrings-python>=2.0.5",
93+
"mkdocstrings==1.0.4",
94+
"mkdocstrings-python==2.0.5",
9395
# scripts/docs/build_config.py and llms_txt.py read mkdocs.yml directly.
9496
"pyyaml>=6.0.2",
9597
# gen_ref_pages.py imports griffe directly. griffelib is not a typo: it is
9698
# griffe's successor distribution (same author) and still imports as
9799
# `griffe`; the old `griffe` distribution is the incompatible 1.x line.
98-
"griffelib>=2.1.0",
100+
"griffelib==2.1.0",
99101
]
100102
codegen = ["datamodel-code-generator==0.57.0"]
101103

uv.lock

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

0 commit comments

Comments
 (0)