0001-Switch-build-backend-to-poetry-core.patch 1002 B

12345678910111213141516171819202122232425262728293031
  1. From 76c1c545bad28f592405ca1e5bcf6081051c946a Mon Sep 17 00:00:00 2001
  2. From: James Hilliard <james.hilliard1@gmail.com>
  3. Date: Tue, 13 Feb 2024 13:37:00 -0700
  4. Subject: [PATCH] Switch build-backend to poetry-core
  5. poetry-core is the lightweight counterpart of poetry that is intended
  6. to be used as a build-backend. Unlike poetry, it does not require
  7. installing all the dependencies of the package manager, making
  8. the builds much faster. The generated artifacts are the same.
  9. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
  10. Upstream: https://github.com/vpoulailleau/simplelogging/pull/230
  11. ---
  12. pyproject.toml | 4 ++--
  13. 1 file changed, 2 insertions(+), 2 deletions(-)
  14. diff --git a/pyproject.toml b/pyproject.toml
  15. index a89ab64..79403cb 100644
  16. --- a/pyproject.toml
  17. +++ b/pyproject.toml
  18. @@ -55,5 +55,5 @@ commands =
  19. """
  20. [build-system]
  21. -requires = ["poetry>=0.12"]
  22. -build-backend = "poetry.masonry.api"
  23. +requires = ["poetry-core>=1.0.0"]
  24. +build-backend = "poetry.core.masonry.api"
  25. --
  26. 2.34.1