summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-02-07 20:24:38 +0000
committerDavid Robertson <davidr@element.io>2023-02-07 20:24:38 +0000
commit2629f7f85291d0f0f0b57fccb713c1822cd7926a (patch)
tree879c7cea8e1778a3c2be4079d5eafb2408756248
parentDon't test pypy3.8 wheels either (diff)
downloadsynapse-2629f7f85291d0f0f0b57fccb713c1822cd7926a.tar.xz
Revert "Revert "Allow poetry-core 1.5.0 (#14949)""
does this break it?

This reverts commit 50936db2fc1a01df56eb42ba5428deb0bbb4b35c.
-rw-r--r--pyproject.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 05bab7d6ac..1e59706104 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -127,7 +127,9 @@ exclude = [
     { path = "synapse/*.so", format = "sdist"}
 ]
 
-build = "build_rust.py"
+[tool.poetry.build]
+script = "build_rust.py"
+generate-setup-file = true
 
 [tool.poetry.scripts]
 synapse_homeserver = "synapse.app.homeserver:main"
@@ -350,7 +352,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.3.2", "setuptools_rust>=1.3,<=1.5.2"]
+requires = ["poetry-core>=1.0.0,<=1.5.0", "setuptools_rust>=1.3,<=1.5.2"]
 build-backend = "poetry.core.masonry.api"