chore: set setuptools minimum version to 50.0.0

This commit is contained in:
Éloi Rivard 2024-10-31 19:24:13 +01:00
parent 2a5ca26a59
commit 0656811313
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling", "babel", "setuptools; python_version>='3.12'"]
requires = ["hatchling", "babel", "setuptools >= 50.0.0; python_version>='3.12'"]
build-backend = "hatchling.build"
[project]
@ -96,7 +96,7 @@ dev = [
# https://github.com/python-babel/babel/blob/40e60a1f6cf178d9f57fcc14f157ea1b2ab77361/CHANGES.rst?plain=1#L22-L24
# and neither python 3.12 due to PEP 632
# https://peps.python.org/pep-0632/
"setuptools; python_version>='3.12'"
"setuptools >= 50.0.0; python_version>='3.12'"
]
doc = [
@ -144,7 +144,7 @@ artifacts = ["canaille/translations/*/LC_MESSAGES/*.mo"]
[tool.hatch.build.hooks.custom]
dependencies = [
"Babel>=2.6.0",
"setuptools; python_version>='3.12'",
"setuptools >= 50.0.0; python_version>='3.12'",
]
[tool.coverage.run]

View file

@ -234,7 +234,7 @@ dev = [
{ name = "pytest-lazy-fixtures", specifier = ">=1.0.7" },
{ name = "pytest-smtpd", specifier = ">=0.1.0" },
{ name = "pytest-xdist", specifier = ">=3.3.1" },
{ name = "setuptools", marker = "python_full_version >= '3.12'" },
{ name = "setuptools", marker = "python_full_version >= '3.12'", specifier = ">=50.0.0" },
{ name = "slapd", specifier = ">=0.1.5" },
{ name = "time-machine", specifier = ">=2.14.1" },
{ name = "toml", specifier = ">=0.10.0" },