Skip to content

Commit 759bcba

Browse files
committed
py(deps[docs]): Pin sphinx<9 to avoid breaking changes
why: Sphinx 9.x introduced breaking changes that affect sphinxarg/ext.py (mock() function moved to internal _dynamic package) and mypy fails on PEP 695 type statement syntax. Sphinx 9 also drops Python 3.10/3.11 support (requires Python 3.12+). what: - Add sphinx<9 constraint to dev and docs dependency groups - Update uv.lock to use sphinx 8.x
1 parent 9a6b57f commit 759bcba

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Repository = "https://github.com/cihai/cihai-cli"
6666
[dependency-groups]
6767
dev = [
6868
# Docs
69-
"sphinx",
69+
"sphinx<9",
7070
"furo",
7171
"gp-libs",
7272
"sphinx-autobuild",
@@ -98,7 +98,7 @@ dev = [
9898
]
9999

100100
docs = [
101-
"sphinx",
101+
"sphinx<9",
102102
"furo",
103103
"gp-libs",
104104
"sphinx-autobuild",

uv.lock

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

0 commit comments

Comments
 (0)