Skip to content

Commit 87ceaad

Browse files
committed
Add sphinx plugin as a virtual dependency
Ensures its version specifiers are respected in the main lockfile, but does not add it as an `install-requires`: https://docs.astral.sh/uv/concepts/projects/dependencies/#virtual-dependencies
1 parent 7b58470 commit 87ceaad

File tree

2 files changed

+57
-114
lines changed

2 files changed

+57
-114
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ build-backend = "uv_build"
4646
module-root = ""
4747
module-name = "pydispatch"
4848

49+
[tool.uv.sources]
50+
python-dispatch-sphinx = { path = "sphinx-plugin", package = false }
51+
4952

5053
[tool.pytest.ini_options]
5154
testpaths = ["tests", "doc", "pydispatch"]
@@ -74,4 +77,5 @@ test = [
7477

7578
dev = [
7679
{include-group = "test"},
80+
"python-dispatch-sphinx",
7781
]

uv.lock

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

0 commit comments

Comments
 (0)