Skip to content

Commit 35c8a51

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 downgrade from 9.1.0 to 8.1.3
1 parent dd1904e commit 35c8a51

2 files changed

Lines changed: 319 additions & 340 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Changes = "https://github.com/tmux-python/libtmux/blob/master/CHANGES"
5252
[dependency-groups]
5353
dev = [
5454
# Docs
55-
"sphinx",
55+
"sphinx<9",
5656
"furo",
5757
"gp-libs",
5858
"sphinx-autobuild",
@@ -81,7 +81,7 @@ dev = [
8181
]
8282

8383
docs = [
84-
"sphinx",
84+
"sphinx<9",
8585
"furo",
8686
"gp-libs",
8787
"sphinx-autobuild",

0 commit comments

Comments
 (0)