Use poetry-core as build backend

The poetry build backend was split into the package poetry-core.

See also
https://python-poetry.org/docs/pyproject/#poetry-and-pep-517
https://github.com/NixOS/nixpkgs/issues/103325
This commit is contained in:
Kerstin Humm 2024-08-30 13:09:24 +02:00
parent 3a3ab9515a
commit 8eba567205

View file

@ -1,6 +1,6 @@
[build-system]
requires = ["poetry>=1.0.0", "babel", "setuptools; python_version>='3.12'"]
build-backend = "poetry.masonry.api"
requires = ["poetry-core>=1.0.0", "babel", "setuptools; python_version>='3.12'"]
build-backend = "poetry.core.masonry.api"
[tool]
[tool.poetry]