summarylogtreecommitdiffstats
path: root/poetry-core.patch
blob: eca231beb792e2655e339ee6be47139d9ab369f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
From 9e3dda0efb54fee6934c744a13a7336d24c6e9e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Thu, 27 Jan 2022 10:33:08 +0100
Subject: [PATCH] Switch build-backend to poetry-core

poetry-core is the lightweight counterpart of poetry that is intended
to be used as a build-backend.  Unlike poetry, it does not require
installing all the dependencies of the package manager, making
the builds much faster.  The generated artifacts are the same.
---
 pyproject-whl.toml | 4 ++--
 pyproject.toml     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pyproject-whl.toml b/pyproject-whl.toml
index 3c186b7..7242e38 100644
--- a/pyproject-whl.toml
+++ b/pyproject-whl.toml
@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0"
 pytest = "==6.0.1"
 
 [build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
diff --git a/pyproject.toml b/pyproject.toml
index bdcd0ce..bf5518c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0"
 pytest = "==6.0.1"
 
 [build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
-- 
2.44.0