From 4d49644857668ab8101c067f60b13ee5bef571e6 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Tue, 10 Feb 2026 09:03:48 -0500 Subject: [PATCH] synapse: update to 1.147.0. --- srcpkgs/synapse/patches/no-setuptools-rust.patch | 14 ++++++++++++++ srcpkgs/synapse/template | 9 ++++----- 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/synapse/patches/no-setuptools-rust.patch diff --git a/srcpkgs/synapse/patches/no-setuptools-rust.patch b/srcpkgs/synapse/patches/no-setuptools-rust.patch new file mode 100644 index 00000000000000..37e3da379a0d20 --- /dev/null +++ b/srcpkgs/synapse/patches/no-setuptools-rust.patch @@ -0,0 +1,14 @@ +setuptools_rust is not needed at runtime + +diff --git a/pyproject.toml b/pyproject.toml +index df10bdf..d8c657f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -92,7 +92,6 @@ dependencies = [ + # This isn't really a dev-dependency, as `poetry install --without dev` will fail, + # but the alternative is to add it to the main list of deps where it isn't + # needed. +- "setuptools_rust>=1.3", + + # This is used for parsing multipart responses + "python-multipart>=0.0.9", diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template index f8f05499402dca..2f8821f2022aad 100644 --- a/srcpkgs/synapse/template +++ b/srcpkgs/synapse/template @@ -1,6 +1,6 @@ # Template file for 'synapse' pkgname=synapse -version=1.146.0 +version=1.147.0 revision=1 build_style=python3-pep517 build_helper=rust @@ -15,9 +15,8 @@ depends="python3-jsonschema python3-immutabledict python3-unpaddedbase64 python3-saml2 python3-treq python3-macaroons python3-sortedcontainers python3-typing_extensions python3-cryptography python3-ijson python3-matrix-common python3-packaging python3-pydantic - python3-python-multipart python3-setuptools-rust python3-rpds-py python3-cffi - python3-parsing python3-pyrsistent python3-requests python3-urllib3 - python3-zope.interface" + python3-python-multipart python3-rpds-py python3-cffi python3-parsing + python3-pyrsistent python3-requests python3-urllib3 python3-zope.interface" checkdepends="$depends python3-parameterized python3-idna python3-txredisapi python3-hiredis xmlsec1" short_desc="Matrix reference homeserver" @@ -26,7 +25,7 @@ license="AGPL-3.0-or-later" homepage="https://element-hq.github.io/synapse" changelog="https://raw.githubusercontent.com/element-hq/synapse/develop/CHANGES.md" distfiles="https://github.com/element-hq/synapse/archive/refs/tags/v${version}.tar.gz" -checksum=7791f0ee45659eea19c057cb9a00a9bc1f51d71bb8cc3b4cfa180b8cdb4e0438 +checksum=a31e45e62301f156df3fef1f5404e41949d45d53d69a780018c24da1dfb770b3 system_accounts="synapse" synapse_homedir="/var/lib/synapse"