Skip to content

Commit 55d75fa

Browse files
committed
py(deps): gp-sphinx 0.0.1a6 -> 0.0.1a7
why: Pick up the sphinx-argparse-neo multi-page duplicate-label scoping fix landed in gp-sphinx PR #16, and finish the migration away from the in-tree docs/_ext/fastmcp_autodoc extension that moved to the gp-sphinx sphinx-autodoc-fastmcp package. The [tool.uv.sources] block pinned gp-sphinx / sphinx-autodoc-api-style / sphinx-autodoc-fastmcp at ../gp-sphinx/packages/*, which only resolves in the local dev workspace — CI has been failing at the uv sync step continuously since the block was introduced. Alongside that block, docs(conf): Use sphinx_autodoc_fastmcp and remove local _ext deleted docs/_ext/fastmcp_autodoc.py but left the tests/docs/_ext harness pointing at it, so once CI could actually install deps it would fail again at pytest collection on ImportError: fastmcp_autodoc. what: - Drop the [tool.uv.sources] block so all three packages resolve from PyPI in every environment - Bump gp-sphinx and sibling package pins from 0.0.1a6 to 0.0.1a7 - Remove the orphaned tests/docs/_ext/ harness (test_fastmcp_autodoc, conftest that added the removed docs/_ext to sys.path, and the tests/docs package markers); equivalent coverage now lives in gp-sphinx's sphinx-autodoc-fastmcp test suite - Drop the dead fastmcp_autodoc and tests.docs.* entries from the mypy overrides table - Regenerate uv.lock
1 parent 3c11ee1 commit 55d75fa

6 files changed

Lines changed: 46 additions & 770 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,12 @@ Changes = "https://github.com/tmux-python/libtmux-mcp/blob/master/CHANGES"
5353
[project.scripts]
5454
libtmux-mcp = "libtmux_mcp:main"
5555

56-
# Sibling clone: ../gp-sphinx (git-pull/gp-sphinx). Override PyPI pins for local dev.
57-
[tool.uv.sources]
58-
gp-sphinx = { path = "../gp-sphinx/packages/gp-sphinx", editable = true }
59-
sphinx-autodoc-api-style = { path = "../gp-sphinx/packages/sphinx-autodoc-api-style", editable = true }
60-
sphinx-autodoc-fastmcp = { path = "../gp-sphinx/packages/sphinx-autodoc-fastmcp", editable = true }
61-
6256
[dependency-groups]
6357
dev = [
6458
# Docs
65-
"gp-sphinx==0.0.1a6",
66-
"sphinx-autodoc-api-style==0.0.1a6",
67-
"sphinx-autodoc-fastmcp==0.0.1a6",
59+
"gp-sphinx==0.0.1a7",
60+
"sphinx-autodoc-api-style==0.0.1a7",
61+
"sphinx-autodoc-fastmcp==0.0.1a7",
6862
"gp-libs",
6963
"sphinx-autobuild",
7064
# Testing
@@ -85,9 +79,9 @@ dev = [
8579
]
8680

8781
docs = [
88-
"gp-sphinx==0.0.1a6",
89-
"sphinx-autodoc-api-style==0.0.1a6",
90-
"sphinx-autodoc-fastmcp==0.0.1a6",
82+
"gp-sphinx==0.0.1a7",
83+
"sphinx-autodoc-api-style==0.0.1a7",
84+
"sphinx-autodoc-fastmcp==0.0.1a7",
9185
"gp-libs",
9286
"sphinx-autobuild",
9387
]
@@ -123,13 +117,9 @@ files = [
123117
]
124118

125119
[[tool.mypy.overrides]]
126-
module = ["fastmcp_autodoc", "sphinx_autodoc_fastmcp", "sphinx_autodoc_fastmcp.*", "docutils", "docutils.*"]
120+
module = ["sphinx_autodoc_fastmcp", "sphinx_autodoc_fastmcp.*", "docutils", "docutils.*"]
127121
ignore_missing_imports = true
128122

129-
[[tool.mypy.overrides]]
130-
module = ["tests.docs.*"]
131-
disable_error_code = ["untyped-decorator"]
132-
133123
[tool.coverage.run]
134124
branch = true
135125
parallel = true

tests/docs/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/docs/_ext/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/docs/_ext/conftest.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)