Skip to content

Commit

Permalink
Use PEP 735 groups instead of extra-dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
Doc, test and CI dependencies are not useful for published package.
CI includes doc group with hatch-vcs when publishing documentation.

Signed-off-by: Patrick ZAJDA <[email protected]>
  • Loading branch information
Nardol committed Jan 16, 2025
1 parent 5f50345 commit 7c24773
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"aiohttp>=3.8.0,<4.0",
]

[project.optional-dependencies]
[dependency-groups]
doc = [
"Sphinx==8.1.3",
"furo==2024.8.6",
Expand All @@ -51,6 +51,7 @@ test = [
"pytest-cov==6.0.0",
]
ci = [
{include-group = "doc"},
"hatch-vcs==0.4.0"
]

Expand Down
38 changes: 25 additions & 13 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7c24773

Please sign in to comment.