]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔧 Set minimal hatchling version needed to build the package (#9240)
authorMichał Górny <mgorny@gentoo.org>
Thu, 22 Jun 2023 11:35:12 +0000 (13:35 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2023 11:35:12 +0000 (13:35 +0200)
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 <tiangolo@gmail.com>
pyproject.toml

index 2f68a7efa233869bfc33cb53b7746e67b562a971..5c0d3c48ecfd98e0d957d7bf2f0bc319ec05b16b 100644 (file)
@@ -1,5 +1,5 @@
 [build-system]
-requires = ["hatchling"]
+requires = ["hatchling >= 1.13.0"]
 build-backend = "hatchling.build"
 
 [project]