From 50936db2fc1a01df56eb42ba5428deb0bbb4b35c Mon Sep 17 00:00:00 2001 From: David Robertson Date: Tue, 7 Feb 2023 19:05:49 +0000 Subject: [PATCH] Revert "Allow poetry-core 1.5.0 (#14949)" This reverts commit 64a631879c8be583efe47ca48e39f6cdf6115645. --- pyproject.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1e59706104..05bab7d6ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,9 +127,7 @@ exclude = [ { path = "synapse/*.so", format = "sdist"} ] -[tool.poetry.build] -script = "build_rust.py" -generate-setup-file = true +build = "build_rust.py" [tool.poetry.scripts] synapse_homeserver = "synapse.app.homeserver:main" @@ -352,7 +350,7 @@ towncrier = ">=18.6.0rc1" # system changes. # We are happy to raise these upper bounds upon request, # provided we check that it's safe to do so (i.e. that CI passes). -requires = ["poetry-core>=1.0.0,<=1.5.0", "setuptools_rust>=1.3,<=1.5.2"] +requires = ["poetry-core>=1.0.0,<=1.3.2", "setuptools_rust>=1.3,<=1.5.2"] build-backend = "poetry.core.masonry.api"