From: Michał Górny Date: Thu, 22 Jun 2023 11:35:12 +0000 (+0200) Subject: 🔧 Set minimal hatchling version needed to build the package (#9240) X-Git-Tag: 0.98.0~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74de9a7b1575d0570f4fe01ea8d1227abbfe9121;p=thirdparty%2Ffastapi%2Ffastapi.git 🔧 Set minimal hatchling version needed to build the package (#9240) Set minimal hatchling version needed to build the package Set the minimal hatchling version that is needed to build fastapi to 1.13.0. Older versions fail to build because they do not recognize the trove classifiers used, e.g. 1.12.2 yields: ValueError: Unknown classifier in field `project.classifiers`: Framework :: Pydantic Co-authored-by: Sebastián Ramírez --- diff --git a/pyproject.toml b/pyproject.toml index 2f68a7efa2..5c0d3c48ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling >= 1.13.0"] build-backend = "hatchling.build" [project]