Increase required flit_core version to 3.11

Needed since Flask 3.1.1 after having set the "license" keyword to an
SPDX license expression. Avoids this possible build error:

  flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>

Fixes: 0109e496f ("use uv").
This commit is contained in:
Markus Heidelberg 2025-12-17 15:44:15 +01:00 committed by David Lord
parent 5559ef42b5
commit fe3b215d3a
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926

View file

@ -84,7 +84,7 @@ Chat = "https://discord.gg/pallets"
flask = "flask.cli:main" flask = "flask.cli:main"
[build-system] [build-system]
requires = ["flit_core<4"] requires = ["flit_core>=3.11,<4"]
build-backend = "flit_core.buildapi" build-backend = "flit_core.buildapi"
[tool.flit.module] [tool.flit.module]