Skip to content

Commit e374455

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 5bd3f4d commit e374455

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
@@ -48,7 +48,7 @@ Changes = "https://github.com/git-pull/gp-libs/blob/master/CHANGES"
4848
[dependency-groups]
4949
dev = [
5050
# Docs
51-
"sphinx",
51+
"sphinx<9",
5252
"furo",
5353
"gp-libs",
5454
"sphinx-autobuild",
@@ -77,7 +77,7 @@ dev = [
7777
]
7878

7979
docs = [
80-
"sphinx",
80+
"sphinx<9",
8181
"furo",
8282
"gp-libs",
8383
"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)