Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Allow poetry-core 1.5.0 (matrix-org#14949)
Browse files Browse the repository at this point in the history
  • Loading branch information
icp1994 authored Feb 6, 2023
1 parent d0fa217 commit 64a6318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/14949.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update build system requirements to allow building with poetry-core==1.5.0.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"


Expand Down

0 comments on commit 64a6318

Please sign in to comment.