Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package matrix-synapse for openSUSE:Factory 
checked in at 2026-01-28 15:10:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
 and      /work/SRC/openSUSE:Factory/.matrix-synapse.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matrix-synapse"

Wed Jan 28 15:10:58 2026 rev:149 rq:1329530 version:1.146.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes    
2026-01-14 16:22:09.202626627 +0100
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.1928/matrix-synapse.changes  
2026-01-28 15:13:57.583007558 +0100
@@ -1,0 +2,84 @@
+Tue Jan 27 16:17:47 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 1.146.0
+  - Deprecations and Removals
+    - MSC2697 (Dehydrated devices) has been removed, as the MSC is
+      closed. Developers should migrate to MSC3814. (#19346)
+    - Support for Ubuntu 25.04 (Plucky Puffin) has been dropped.
+      Synapse no longer builds debian packages for Ubuntu 25.04.
+  - Features
+    - Add a new config option enable_local_media_storage which
+      controls whether media is additionally stored locally when
+      using configured media_storage_providers. Setting this to
+      false allows off-site media storage without a local cache.
+      Contributed by Patrice Brend'amour @dr.allgood. (#19204)
+    - Stabilise support for MSC4312's m.oauth User-Interactive Auth
+      stage for resetting cross-signing identity with the OAuth 2.0
+      API. The old, unstable name (org.matrix.cross_signing_reset)
+      is now deprecated and will be removed in a future release.
+      (#19273)
+    - Refactor Grafana dashboard to use server_name label (instead
+      of instance). (#19337)
+  - Bugfixes
+    - Fix joining a restricted v12 room locally when no local room
+      creator is present but local users with sufficient power
+      levels are. Contributed by @nexy7574. (#19321)
+    - Fixed parallel calls to /_matrix/media/v1/create being
+      ratelimited for appservices even if rate_limited: false was
+      set in the registration. Contributed by @tulir @ Beeper.
+      (#19335)
+    - Fix a bug introduced in 1.61.0 where a user's membership in a
+      room was accidentally ignored when considering access to
+      historical state events in rooms with the "shared" history
+      visibility. Contributed by Lukas Tautz. (#19353)
+    - MSC4140: Store the JSON content of scheduled delayed events
+      as text instead of a byte array. This fixes the inability to
+      schedule a delayed event with non-ASCII characters in its
+      content. (#19360)
+    - Always rollback database transactions when retrying (avoid
+      orphaned connections). (#19372)
+    - Fix InFlightGauge typing to allow upgrading to
+      prometheus_client 0.24. (#19379)
+  - Updates to the Docker image
+    - Add Prometheus HTTP service discovery endpoint for easy
+      discovery of all workers when using the
+      docker/Dockerfile-workers image (see the Metrics section of
+      our Docker testing docs). (#19336)
+  - Improved Documentation
+    - Remove docs on legacy metric names (no longer in the codebase
+      since 2022-12-06). (#19341)
+    - Clarify how the estimated value of room complexity is
+      calculated internally. (#19384)
+  - Internal Changes
+    - Add an internal cancel_task API to the task scheduler.
+      (#19310)
+    - Tweak docstrings and signatures of auth_types_for_event and
+      get_catchup_room_event_ids. (#19320)
+    - Replace usage of deprecated assertEquals with assertEqual in
+      unit test code. (#19345)
+    - Drop support for Ubuntu 25.04 'Plucky Puffin', add support
+      for Ubuntu 25.10 'Questing Quokka'. (#19348)
+    - Revert "Add an Admin API endpoint for listing quarantined
+      media (#19268)". (#19351)
+    - Bump mdbook from 0.4.17 to 0.5.2 and remove our custom
+      table-of-contents plugin in favour of the new default
+      functionality. (#19356)
+    - Replace deprecated usage of PyGitHub's GitRelease.title with
+      .name in release script. (#19358)
+    - Update the Element logo in Synapse's README to be an absolute
+      URL, allowing it to render on other sites (such as PyPI).
+      (#19368)
+    - Apply minor tweaks to v1.145.0 changelog. (#19376)
+    - Update Grafana dashboard syntax to use the latest from
+      importing/exporting with Grafana 12.3.1. (#19381)
+    - Warn about skipping reactor metrics when using unknown
+      reactor type. (#19383)
+    - Add support for reactor metrics with the ProxiedReactor used
+      in worker Complement tests. (#19385)
+- Also set RUSTFLAGS to the %{build_rustflags}. This adds
+  cargo-packaging.
+- Import 2 patches from fedora to fix debugsymbols
+  0001-pyo3-Disable-abi3-feature.patch
+  0002-Build-RustExtension-with-debug-symbols.patch
+
+-------------------------------------------------------------------

Old:
----
  matrix-synapse-1.145.0.obscpio

New:
----
  0001-pyo3-Disable-abi3-feature.patch
  0002-Build-RustExtension-with-debug-symbols.patch
  matrix-synapse-1.146.0.obscpio

----------(New B)----------
  New:- Import 2 patches from fedora to fix debugsymbols
  0001-pyo3-Disable-abi3-feature.patch
  0002-Build-RustExtension-with-debug-symbols.patch
  New:  0001-pyo3-Disable-abi3-feature.patch
  0002-Build-RustExtension-with-debug-symbols.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ matrix-synapse-test.spec ++++++
--- /var/tmp/diff_new_pack.gaL01a/_old  2026-01-28 15:14:40.948814075 +0100
+++ /var/tmp/diff_new_pack.gaL01a/_new  2026-01-28 15:14:40.948814075 +0100
@@ -27,7 +27,7 @@
 
 %define         pkgname matrix-synapse
 Name:           %{pkgname}-test
-Version:        1.145.0
+Version:        1.146.0
 Release:        0
 Summary:        Test package for %{pkgname}
 License:        AGPL-3.0-or-later

++++++ matrix-synapse.spec ++++++
--- /var/tmp/diff_new_pack.gaL01a/_old  2026-01-28 15:14:41.340830406 +0100
+++ /var/tmp/diff_new_pack.gaL01a/_new  2026-01-28 15:14:41.344830572 +0100
@@ -19,6 +19,9 @@
 %bcond_without use_poetry_for_dependencies
 
 # NOTE: Keep this is in the same order as pyproject.toml.
+# keep in sync with poetry.lock
+# if we do not have the version yet for the locked version
+# add it as TODO
 %if %{with use_poetry_for_dependencies}
 %global Twisted_version               24.7.0
 %global Jinja2_version                3.1.5
@@ -109,7 +112,7 @@
 # via jaeger-client
 %global tornado_version               6.0
 %else
-# some version locks based on poetry.lock
+# some version locks based on pyproject.toml
 %global Jinja2_version                3.0
 %global Pillow_version                10.0.1
 %global PyYAML_version                5.3
@@ -227,7 +230,7 @@
 %define         pkgname matrix-synapse
 %define         eggname matrix_synapse
 Name:           %{pkgname}
-Version:        1.145.0
+Version:        1.146.0
 Release:        0
 Summary:        Matrix protocol reference homeserver
 License:        AGPL-3.0-or-later
@@ -245,6 +248,8 @@
 # to clean up your working copy afterwards: git reset --hard ; rm -rv .pc 
patches
 Source99:       series
 Patch0:         matrix-synapse-1.4.1-paths.patch
+Patch1:         0001-pyo3-Disable-abi3-feature.patch
+Patch2:         0002-Build-RustExtension-with-debug-symbols.patch
 # https://github.com/matrix-org/synapse/pull/10719
 # disable by marking as source until we get a decision upstream
 Source100:      10719-Fix-instert-of-duplicate-key-into-event_json.patch
@@ -253,6 +258,7 @@
 BuildRequires:  %{use_python}-poetry-core >= 1.1.0
 BuildRequires:  %{use_python}-setuptools
 BuildRequires:  %{use_python}-wheel
+BuildRequires:  cargo-packaging
 #global rust_version 1.84
 %if "%{?rust_version}" == ""
 BuildRequires:  cargo
@@ -432,6 +438,7 @@
 sed -i 's|@PYTHON_FLAVOR@|%{__python3}|g' %{S:50}
 
 %build
+export RUSTFLAGS="%{build_rustflags}"
 %pyproject_wheel
 %sysusers_generate_pre %{SOURCE47} %{name}
 

++++++ 0001-pyo3-Disable-abi3-feature.patch ++++++
>From 09fad3a6461efd63a59560f2e1f2e16a1e2c0821 Mon Sep 17 00:00:00 2001
From: "Kai A. Hiller" <[email protected]>
Date: Fri, 8 Sep 2023 14:10:56 +0200
Subject: [PATCH 1/2] pyo3: Disable abi3 feature

Fedora does not require compatibility with Python versions different to
the one at compile time.
---
 build_rust.py   | 22 ++--------------------
 rust/Cargo.toml |  2 --
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/build_rust.py b/build_rust.py
index a9e9265daf..65d9ac301d 100644
--- a/build_rust.py
+++ b/build_rust.py
@@ -1,10 +1,8 @@
 # A build script for poetry that adds the rust extension.
 
-import itertools
 import os
 from typing import Any
 
-from packaging.specifiers import SpecifierSet
 from setuptools_rust import Binding, RustExtension
 
 
@@ -16,27 +14,11 @@ def build(setup_kwargs: dict[str, Any]) -> None:
         target="synapse.synapse_rust",
         path=cargo_toml_path,
         binding=Binding.PyO3,
-        # This flag is a no-op in the latest versions. Instead, we need to
-        # specify this in the `bdist_wheel` config below.
-        py_limited_api=True,
+        # This flag is a no-op in the latest versions.
+        py_limited_api=False,
         # We always build in release mode, as we can't distinguish
         # between using `poetry` in development vs production.
         debug=False,
     )
     setup_kwargs.setdefault("rust_extensions", []).append(extension)
     setup_kwargs["zip_safe"] = False
-
-    # We look up the minimum supported Python version with
-    # `python_requires` (e.g. ">=3.10.0,<4.0.0") and finding the first Python
-    # version that matches. We then convert that into the `py_limited_api` 
form,
-    # e.g. cp310 for Python 3.10.
-    py_limited_api: str
-    python_bounds = SpecifierSet(setup_kwargs["python_requires"])
-    for minor_version in itertools.count(start=10):
-        if f"3.{minor_version}.0" in python_bounds:
-            py_limited_api = f"cp3{minor_version}"
-            break
-
-    setup_kwargs.setdefault("options", {}).setdefault("bdist_wheel", {})[
-        "py_limited_api"
-    ] = py_limited_api
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index e8321d159b..eeeb512920 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -33,8 +33,6 @@ mime = "0.3.17"
 pyo3 = { version = "0.26.0", features = [
     "macros",
     "anyhow",
-    "abi3",
-    "abi3-py310",
 ] }
 pyo3-log = "0.13.1"
 pythonize = "0.26.0"
-- 
2.51.1


++++++ 0002-Build-RustExtension-with-debug-symbols.patch ++++++
>From 6452deb91594dd1ba8b2ed27e937033110c19f54 Mon Sep 17 00:00:00 2001
From: "Kai A. Hiller" <[email protected]>
Date: Wed, 29 Mar 2023 12:28:31 +0200
Subject: [PATCH 2/2] Build RustExtension with debug symbols

---
 build_rust.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build_rust.py b/build_rust.py
index 65d9ac301d..ecc98a5ec8 100644
--- a/build_rust.py
+++ b/build_rust.py
@@ -3,7 +3,7 @@
 import os
 from typing import Any
 
-from setuptools_rust import Binding, RustExtension
+from setuptools_rust import Binding, RustExtension, Strip
 
 
 def build(setup_kwargs: dict[str, Any]) -> None:
@@ -19,6 +19,7 @@ def build(setup_kwargs: dict[str, Any]) -> None:
         # We always build in release mode, as we can't distinguish
         # between using `poetry` in development vs production.
         debug=False,
+        strip=Strip.No,
     )
     setup_kwargs.setdefault("rust_extensions", []).append(extension)
     setup_kwargs["zip_safe"] = False
-- 
2.51.1


++++++ _service ++++++
--- /var/tmp/diff_new_pack.gaL01a/_old  2026-01-28 15:14:42.152864233 +0100
+++ /var/tmp/diff_new_pack.gaL01a/_new  2026-01-28 15:14:42.184865567 +0100
@@ -4,11 +4,11 @@
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="url">https://github.com/element-hq/synapse.git</param>
     <param name="scm">git</param>
-    <param name="revision">v1.145.0</param>
+    <param name="revision">v1.146.0</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="versionrewrite-replacement">\1</param>
     <!--
-    <param name="revision">v1.146.0rc1</param>
+    <param name="revision">v1.147.0rc1</param>
     <param name="versionrewrite-pattern">v([\.\d]+)(rc.*)</param>
     <param name="versionrewrite-replacement">\1~\2</param>
     -->

++++++ matrix-synapse-1.145.0.obscpio -> matrix-synapse-1.146.0.obscpio ++++++
++++ 17510 lines of diff (skipped)

++++++ matrix-synapse.obsinfo ++++++
--- /var/tmp/diff_new_pack.gaL01a/_old  2026-01-28 15:14:48.257118523 +0100
+++ /var/tmp/diff_new_pack.gaL01a/_new  2026-01-28 15:14:48.265118855 +0100
@@ -1,5 +1,5 @@
 name: matrix-synapse
-version: 1.145.0
-mtime: 1768318694
-commit: 27223a349c0cb5268782dc07b20f3450580165dc
+version: 1.146.0
+mtime: 1769528702
+commit: 53e8a3c14abd30a4499e7d4c0014e7233186ec65
 

++++++ series ++++++
--- /var/tmp/diff_new_pack.gaL01a/_old  2026-01-28 15:14:48.389124021 +0100
+++ /var/tmp/diff_new_pack.gaL01a/_new  2026-01-28 15:14:48.405124688 +0100
@@ -1,3 +1,4 @@
 matrix-synapse-1.4.1-paths.patch
-bump-dependencies.patch
+0001-pyo3-Disable-abi3-feature.patch
+0002-Build-RustExtension-with-debug-symbols.patch
 

++++++ vendor.tar.zst ++++++
/work/SRC/openSUSE:Factory/matrix-synapse/vendor.tar.zst 
/work/SRC/openSUSE:Factory/.matrix-synapse.new.1928/vendor.tar.zst differ: char 
7, line 1

Reply via email to