mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Workaround: babel depends on setuptools without declaring it
https://github.com/python-babel/babel/issues/1031
This commit is contained in:
@@ -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",
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user