Skip to content

Commit b303aed

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 with compatible sphinx version
1 parent 9544c23 commit b303aed

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
@@ -64,7 +64,7 @@ Changes = "https://github.com/vcs-python/libvcs/blob/master/CHANGES"
6464
[dependency-groups]
6565
dev = [
6666
# Docs
67-
"sphinx",
67+
"sphinx<9",
6868
"furo",
6969
"gp-libs",
7070
"sphinx-autobuild",
@@ -91,7 +91,7 @@ dev = [
9191
]
9292

9393
docs = [
94-
"sphinx",
94+
"sphinx<9",
9595
"furo",
9696
"gp-libs",
9797
"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)