Skip to content

Commit

Permalink
Workaround: babel depends on setuptools without declaring it
Browse files Browse the repository at this point in the history
  • Loading branch information
oprypin committed Oct 14, 2023
1 parent 79ae55e commit d410942
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ dependencies = [
[project.optional-dependencies]
i18n = [
"babel >=2.9.0",
"setuptools; python_version >= '3.12'" # Workaround: babel doesn't declare its dependency
]
min-versions = [
"click ==7.0",
Expand Down Expand Up @@ -100,6 +101,7 @@ exclude = ["/mkdocs/tests/integration", "*.po", "*.pot", "babel.cfg"]
[tool.hatch.build.hooks.custom]
dependencies = [
"babel",
"setuptools; python_version >= '3.12'" # Workaround: babel doesn't declare its dependency
]

[tool.hatch.envs.default.scripts]
Expand Down

0 comments on commit d410942

Please sign in to comment.