From 31d2b2fa9eca963646908ce6e6ba7f663f674a23 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 16 Jan 2022 00:42:07 +0100 Subject: [PATCH 1/2] feat: use poetry-core as build backend --- openapi_python_client/templates/pyproject.toml.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi_python_client/templates/pyproject.toml.jinja b/openapi_python_client/templates/pyproject.toml.jinja index a64a8c759..0f104dccd 100644 --- a/openapi_python_client/templates/pyproject.toml.jinja +++ b/openapi_python_client/templates/pyproject.toml.jinja @@ -19,8 +19,8 @@ attrs = ">=20.1.0,<22.0.0" python-dateutil = "^2.8.0" [build-system] -requires = ["poetry>=1.0"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" {% endif %} [tool.black] From b24ff31a945ceec929902f6b1bcbbc44a785a7d9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 16 Jan 2022 00:53:08 +0100 Subject: [PATCH 2/2] feat: use poetry-core --- end_to_end_tests/golden-record/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/end_to_end_tests/golden-record/pyproject.toml b/end_to_end_tests/golden-record/pyproject.toml index 027c6f05e..1e77df4ce 100644 --- a/end_to_end_tests/golden-record/pyproject.toml +++ b/end_to_end_tests/golden-record/pyproject.toml @@ -18,8 +18,8 @@ attrs = ">=20.1.0,<22.0.0" python-dateutil = "^2.8.0" [build-system] -requires = ["poetry>=1.0"] -build-backend = "poetry.masonry.api" +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" [tool.black] line-length = 120