diff --git a/pyproject.toml b/pyproject.toml index a0029cec..57009786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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] diff --git a/uv.lock b/uv.lock index 4824db3d..1dedc52f 100644 --- a/uv.lock +++ b/uv.lock @@ -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" },