public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/matrix-synapse] rawhide: 1.160.0
@ 2026-09-03 19:40 Gwyn Ciesla
0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-09-03 19:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/matrix-synapse
Branch : rawhide
Commit : 08c714a786b6644901e1a847f8f892422be8258c
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2026-09-03T14:40:43-05:00
Stats : +7/-190 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/matrix-synapse/c/08c714a786b6644901e1a847f8f892422be8258c?branch=rawhide
Log:
1.160.0
---
diff --git a/matrix-synapse-1.159-pyo3-Disable-abi3-feature.patch b/matrix-synapse-1.159-pyo3-Disable-abi3-feature.patch
index c12ae34..a18e563 100644
--- a/matrix-synapse-1.159-pyo3-Disable-abi3-feature.patch
+++ b/matrix-synapse-1.159-pyo3-Disable-abi3-feature.patch
@@ -55,12 +55,10 @@ index a9e9265daf..65d9ac301d 100644
- setup_kwargs.setdefault("options", {}).setdefault("bdist_wheel", {})[
- "py_limited_api"
- ] = py_limited_api
-diff --git a/rust/Cargo.toml b/rust/Cargo.toml
-index 8199a4e02b..9eae4cc297 100644
---- a/rust/Cargo.toml
-+++ b/rust/Cargo.toml
-@@ -34,8 +34,6 @@ mime = "0.3.17"
- pyo3 = { version = "0.28.3", features = [
+--- a/rust/Cargo.toml~ 2026-09-02 16:23:38.000000000 -0500
++++ b/rust/Cargo.toml 2026-09-03 08:20:34.984809655 -0500
+@@ -34,8 +34,6 @@
+ pyo3 = { version = "0.29.0", features = [
"macros",
"anyhow",
- "abi3",
@@ -68,6 +66,3 @@ index 8199a4e02b..9eae4cc297 100644
# So we can pass `bytes::Bytes` directly back to Python efficiently,
# https://docs.rs/pyo3/latest/pyo3/bytes/index.html
"bytes",
---
-2.53.0
-
diff --git a/matrix-synapse-1.159-pyo3_pythonize_0.29.patch b/matrix-synapse-1.159-pyo3_pythonize_0.29.patch
deleted file mode 100644
index a125433..0000000
--- a/matrix-synapse-1.159-pyo3_pythonize_0.29.patch
+++ /dev/null
@@ -1,178 +0,0 @@
-From 11de9503fb053dcc2ad47b8038a4b98631842950 Mon Sep 17 00:00:00 2001
-From: Andrew Ferrazzutti <andrewf@element.io>
-Date: Thu, 20 Aug 2026 07:49:03 -0400
-Subject: [PATCH] Update Rust dependencies for security fixes (#20131)
-
----
- Cargo.lock | 29 ++++++++++++++---------------
- changelog.d/20131.misc | 1 +
- changelog.d/20131.misc.1 | 1 +
- rust/Cargo.toml | 6 +++---
- rust/src/deferred.rs | 2 +-
- rust/src/storage/db/mod.rs | 3 ++-
- 6 files changed, 22 insertions(+), 20 deletions(-)
- create mode 100644 changelog.d/20131.misc
- create mode 100644 changelog.d/20131.misc.1
-
-diff --git a/Cargo.lock b/Cargo.lock
-index 50daff2dd90..3cb739d4952 100644
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -843,9 +843,9 @@ dependencies = [
-
- [[package]]
- name = "pyo3"
--version = "0.28.3"
-+version = "0.29.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
-+checksum = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b"
- dependencies = [
- "anyhow",
- "bytes",
-@@ -859,18 +859,18 @@ dependencies = [
-
- [[package]]
- name = "pyo3-build-config"
--version = "0.28.3"
-+version = "0.29.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
-+checksum = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9"
- dependencies = [
- "target-lexicon",
- ]
-
- [[package]]
- name = "pyo3-ffi"
--version = "0.28.3"
-+version = "0.29.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
-+checksum = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327"
- dependencies = [
- "libc",
- "pyo3-build-config",
-@@ -889,9 +889,9 @@ dependencies = [
-
- [[package]]
- name = "pyo3-macros"
--version = "0.28.3"
-+version = "0.29.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
-+checksum = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c"
- dependencies = [
- "proc-macro2",
- "pyo3-macros-backend",
-@@ -901,22 +901,21 @@ dependencies = [
-
- [[package]]
- name = "pyo3-macros-backend"
--version = "0.28.3"
-+version = "0.29.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
-+checksum = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952"
- dependencies = [
- "heck",
- "proc-macro2",
-- "pyo3-build-config",
- "quote",
- "syn 2.0.104",
- ]
-
- [[package]]
- name = "pythonize"
--version = "0.28.0"
-+version = "0.29.0"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "0b79f670c9626c8b651c0581011b57b6ba6970bb69faf01a7c4c0cfc81c43f95"
-+checksum = "6ec376e1216e0c929a74964ce2020012a1a39f32d80e78aa688721219ea7fb89"
- dependencies = [
- "pyo3",
- "serde",
-@@ -1193,9 +1192,9 @@ dependencies = [
-
- [[package]]
- name = "rustls-webpki"
--version = "0.103.13"
-+version = "0.103.14"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
-+checksum = "0527518605e68109d875e248ea259b6758801cf165e4b2c2733ae3b51f12535a"
- dependencies = [
- "ring",
- "rustls-pki-types",
-diff --git a/changelog.d/20131.misc b/changelog.d/20131.misc
-new file mode 100644
-index 00000000000..a90fd7d4ada
---- /dev/null
-+++ b/changelog.d/20131.misc
-@@ -0,0 +1 @@
-+Update rustls-webpki to address GHSA-82j2-j2ch-gfr8.
-diff --git a/changelog.d/20131.misc.1 b/changelog.d/20131.misc.1
-new file mode 100644
-index 00000000000..c0c211ed8cd
---- /dev/null
-+++ b/changelog.d/20131.misc.1
-@@ -0,0 +1 @@
-+Update pyo3 to address GHSA-36hh-v3qg-5jq4 and GHSA-chgr-c6px-7xpp.
-diff --git a/rust/Cargo.toml b/rust/Cargo.toml
-index 612ab09f6d0..f6b12c4c1b0 100644
---- a/rust/Cargo.toml
-+++ b/rust/Cargo.toml
-@@ -31,7 +31,7 @@ http = "1.1.0"
- lazy_static = "1.4.0"
- log = "0.4.17"
- mime = "0.3.17"
--pyo3 = { version = "0.28.3", features = [
-+pyo3 = { version = "0.29.0", features = [
- "macros",
- "anyhow",
- # So we can pass `bytes::Bytes` directly back to Python efficiently,
-@@ -40,8 +40,8 @@ pyo3 = { version = "0.28.3", features = [
- # https://docs.rs/pyo3/latest/pyo3/bytes/index.html
- "bytes",
- ] }
--pyo3-log = "0.13.3"
--pythonize = { version = "0.28.0", features = ["arbitrary_precision"] }
-+pyo3-log = "0.13.4"
-+pythonize = { version = "0.29.0", features = ["arbitrary_precision"] }
- regex = "1.6.0"
- sha2 = "0.10.8"
- serde = { version = "1.0.144", features = ["derive", "rc"] }
-diff --git a/rust/src/deferred.rs b/rust/src/deferred.rs
-index 62a1ce6b903..3da5defb83b 100644
---- a/rust/src/deferred.rs
-+++ b/rust/src/deferred.rs
-@@ -141,7 +141,7 @@ pub(crate) async fn run_python_awaitable<F>(
- make_awaitable: F,
- ) -> PyResult<Py<PyAny>>
- where
-- F: for<'py> Fn(Python<'py>) -> PyResult<Bound<'py, PyAny>> + Send + 'static,
-+ F: for<'py> Fn(Python<'py>) -> PyResult<Bound<'py, PyAny>> + Send + Sync + 'static,
- {
- // Resolves when the awaitable completes; carries the resolved value or error.
- let (tx, rx) = oneshot::channel::<PyResult<Py<PyAny>>>();
-diff --git a/rust/src/storage/db/mod.rs b/rust/src/storage/db/mod.rs
-index fd40d52f082..175f66e76d5 100644
---- a/rust/src/storage/db/mod.rs
-+++ b/rust/src/storage/db/mod.rs
-@@ -32,7 +32,7 @@ pub mod python_db_pool;
- /// It may be invoked multiple times under certain failure modes (serialization
- /// and deadlock errors), so it is `Fn` rather than `FnOnce`.
- pub type ErasedInteraction =
-- Box<dyn for<'txn> Fn(&'txn mut dyn Transaction) -> BoxFuture<'txn, ErasedResult> + Send>;
-+ Box<dyn for<'txn> Fn(&'txn mut dyn Transaction) -> BoxFuture<'txn, ErasedResult> + Send + Sync>;
-
- /// The type-erased *result* of an [`ErasedInteraction`]
- /// [`DatabasePool::run_interaction_erased`].
-@@ -114,6 +114,7 @@ pub trait DatabasePoolExt: DatabasePool {
- R: Send + 'static,
- F: for<'txn> Fn(&'txn mut dyn Transaction) -> BoxFuture<'txn, anyhow::Result<R>>
- + Send
-+ + Sync
- + 'static,
- {
- // Erase the concrete return type `R` into `Box<dyn Any>` so we can call
diff --git a/matrix-synapse.spec b/matrix-synapse.spec
index 4f15d18..c878f6c 100644
--- a/matrix-synapse.spec
+++ b/matrix-synapse.spec
@@ -4,7 +4,7 @@
%bcond saml2 0
Name: matrix-synapse
-Version: 1.159.0
+Version: 1.160.0
Release: %autorelease
Summary: A Matrix reference homeserver written in Python using Twisted
License: AGPL-3.0-or-later
@@ -20,7 +20,6 @@ Source3: matrix-synapse.sysusers
Patch1: matrix-synapse-1.159-pyo3-Disable-abi3-feature.patch
Patch2: matrix-synapse-1.159-Build-RustExtension-with-debug-symbols.patch
Patch3: matrix-synapse-1.151.0-no_parameterized.patch
-Patch4: matrix-synapse-1.159-pyo3_pythonize_0.29.patch
ExclusiveArch: %{rust_arches}
Recommends: %{name}+postgres
@@ -136,6 +135,7 @@ rm -f \
tests/rest/client/sliding_sync/test_connection_tracking.py \
tests/rest/client/sliding_sync/test_extension_account_data.py \
tests/rest/client/sliding_sync/test_extension_e2ee.py \
+ tests/rest/client/sliding_sync/test_extension_profiles.py \
tests/rest/client/sliding_sync/test_extension_receipts.py \
tests/rest/client/sliding_sync/test_extension_sticky_events.py \
tests/rest/client/sliding_sync/test_extension_thread_subscriptions.py \
diff --git a/sources b/sources
index 6606c70..dfd3b41 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (synapse-1.159.0.tar.gz) = 0c08207d0b0408ec6bc7a8f25a652a87e3676f698e017674201cc76562dd780dde5123fb138fb244bc7a2c8fac6cc669c5699f53c41b473d1b32f855502b49b0
+SHA512 (synapse-1.160.0.tar.gz) = 33ae8e0cfad53ba57223b6e54c48d3f1e770dd282db8a6a867a63575ca07eb3503001c6676d431310d5db13f0b0fc05ebdf7f0c58ae6cc1aba8bd18860294f10
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 19:40 [rpms/matrix-synapse] rawhide: 1.160.0 Gwyn Ciesla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox