Skip to content

Commit 08220ca

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. what: - Add sphinx<9 constraint to dev and docs dependency groups - Update uv.lock to use sphinx 8.x
1 parent 70e2b23 commit 08220ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dev = [
5858
# Docs
5959
"aafigure",
6060
"pillow",
61-
"sphinx",
61+
"sphinx<9",
6262
"furo",
6363
"gp-libs",
6464
"sphinx-autobuild",
@@ -92,7 +92,7 @@ dev = [
9292
docs = [
9393
"aafigure",
9494
"pillow",
95-
"sphinx",
95+
"sphinx<9",
9696
"furo",
9797
"gp-libs",
9898
"sphinx-autobuild",

uv.lock

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

0 commit comments

Comments
 (0)