From 5a7742a83308743dfd5e9a1fab751e345757aab7 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 11 May 2023 17:22:47 +0100 Subject: [PATCH] Allow `pip install` to use setuptools_rust 1.6.0 (#15570) * Allow `pip install` to use setuptools_rust 1.6.0 This was bumped by dependabot in #15512, but we didn't bump also raise the version guard here. I don't know how we can avoid this happening in the future. Closes #15461. Spotted in [1] by @landryb. [1]: https://github.com/matrix-org/synapse/issues/15461#issuecomment-1543513934 * Changelog --- changelog.d/15570.misc | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/15570.misc diff --git a/changelog.d/15570.misc b/changelog.d/15570.misc new file mode 100644 index 0000000000..ee04509981 --- /dev/null +++ b/changelog.d/15570.misc @@ -0,0 +1 @@ +Allow `pip install` to use setuptools_rust 1.6.0 when building Synapse. diff --git a/pyproject.toml b/pyproject.toml index 640c6c4601..6bbc914af6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -368,7 +368,7 @@ furo = ">=2022.12.7,<2024.0.0" # 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.2.0,<=1.5.0", "setuptools_rust>=1.3,<=1.5.2"] +requires = ["poetry-core>=1.2.0,<=1.5.0", "setuptools_rust>=1.3,<=1.6.0"] build-backend = "poetry.core.masonry.api"