Skip to content

Commit

Permalink
Mark tomli as a dev dependency, instead of a main dependency
Browse files Browse the repository at this point in the history
tomli is only needed for the tests, not for the actual package. Mark it
as a dev dependency, so that the generated wheel does not needlessly
depend on tomli.
  • Loading branch information
tbleher committed Feb 2, 2024
1 parent 88902f9 commit c9ed0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.7, <3.13"
tomli = { version = "^2.0.1", python = "<3.11" }

[tool.poetry.group.dev.dependencies]
pytest = "*"
tox = ">=3.27,<5.0"
tomli = { version = "^2.0.1", python = "<3.11" }

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit c9ed0fe

Please sign in to comment.