Skip to content

Commit ed2e19d

Browse files
committed
refactor(deps): Rename sphinx-pytest-fixtures to sphinx-autodoc-pytest-fixtures
why: Follow sphinx-autodoc-* naming convention (like sphinx-autodoc-typehints). what: - Update dependency name in dev and docs groups - Update [tool.uv.sources] path - Update mypy module override - Update docs/conf.py extra_extensions
1 parent b04fdc9 commit ed2e19d

3 files changed

Lines changed: 25 additions & 25 deletions

File tree

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
source_branch="master",
3131
light_logo="img/libtmux.svg",
3232
dark_logo="img/libtmux.svg",
33-
extra_extensions=["sphinx_pytest_fixtures", "sphinx.ext.todo"],
33+
extra_extensions=["sphinx_autodoc_pytest_fixtures", "sphinx.ext.todo"],
3434
intersphinx_mapping={
3535
"python": ("https://docs.python.org/", None),
3636
"pytest": ("https://docs.pytest.org/en/stable/", None),

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Changes = "https://github.com/tmux-python/libtmux/blob/master/CHANGES"
5353
dev = [
5454
# Docs (via gp-sphinx)
5555
"gp-sphinx",
56-
"sphinx-pytest-fixtures",
56+
"sphinx-autodoc-pytest-fixtures",
5757
"sphinx-autobuild",
5858
"types-docutils",
5959
# Testing
@@ -75,7 +75,7 @@ dev = [
7575

7676
docs = [
7777
"gp-sphinx",
78-
"sphinx-pytest-fixtures",
78+
"sphinx-autodoc-pytest-fixtures",
7979
"sphinx-autobuild",
8080
]
8181
testing = [
@@ -108,7 +108,7 @@ build-backend = "hatchling.build"
108108
gp-sphinx = { path = "../gp-sphinx/packages/gp-sphinx", editable = true }
109109
sphinx-fonts = { path = "../gp-sphinx/packages/sphinx-fonts", editable = true }
110110
sphinx-gptheme = { path = "../gp-sphinx/packages/sphinx-gptheme", editable = true }
111-
sphinx-pytest-fixtures = { path = "../gp-sphinx/packages/sphinx-pytest-fixtures", editable = true }
111+
sphinx-autodoc-pytest-fixtures = { path = "../gp-sphinx/packages/sphinx-autodoc-pytest-fixtures", editable = true }
112112

113113
[tool.mypy]
114114
strict = true
@@ -123,7 +123,7 @@ module = ["sphinx_fonts"]
123123
ignore_missing_imports = true
124124

125125
[[tool.mypy.overrides]]
126-
module = ["sphinx_pytest_fixtures", "sphinx_pytest_fixtures.*"]
126+
module = ["sphinx_autodoc_pytest_fixtures", "sphinx_autodoc_pytest_fixtures.*"]
127127
ignore_missing_imports = true
128128

129129
[tool.coverage.run]

uv.lock

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

0 commit comments

Comments
 (0)