Hello community,
here is the log from the commit of package matrix-synapse for openSUSE:Factory
checked in at 2019-07-08 15:11:59
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
and /work/SRC/openSUSE:Factory/.matrix-synapse.new.4615 (New)
Package is "matrix-synapse"
Mon Jul 8 15:11:59 2019 rev:23 rq:713866 version:1.1.0
Changes:
--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes
2019-06-30 14:40:57.151941024 +0200
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.4615/matrix-synapse.changes
2019-07-09 09:58:50.632793277 +0200
@@ -1,0 +2,23 @@
+Fri Jul 5 15:29:57 UTC 2019 - Aleksa Sarai
+
+- Update to 1.1.0.
+
+ As of v1.1.0, Synapse no longer supports Python 2, nor Postgres version 9.4.
+ Thus, we no longer package a Python 2 version of this package. Some other key
+ changes include:
+
+ * Add monthly active users to phonehome stats.
+ * Allow server admins to define implementations of extra rules for allowing
+or denying incoming events.
+ * Add --data-dir and --open-private-ports options.
+ * The minimum TLS version used for outgoing federation requests can now be
+set with federation_client_minimum_tls_version.
+ * Optimise devices changed query to not pull unnecessary rows from the
+database, reducing database load.
+
+ The full changelog is included in
+ /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+- Rebase patches:
+ * 0001-requirements-prometheus_client.patch
+
+---
Old:
matrix-synapse-1.0.0.obscpio
New:
matrix-synapse-1.1.0.obscpio
Other differences:
--
++ matrix-synapse-test.spec ++
--- /var/tmp/diff_new_pack.4DsMUa/_old 2019-07-09 09:58:52.920797052 +0200
+++ /var/tmp/diff_new_pack.4DsMUa/_new 2019-07-09 09:58:52.960797118 +0200
@@ -32,7 +32,7 @@
%define pkgname matrix-synapse
Name: %{pkgname}-test
-Version:1.0.0
+Version:1.1.0
Release:0
Summary:Test package for %{pkgname}
License:Apache-2.0
++ matrix-synapse.spec ++
--- /var/tmp/diff_new_pack.4DsMUa/_old 2019-07-09 09:58:53.248797593 +0200
+++ /var/tmp/diff_new_pack.4DsMUa/_new 2019-07-09 09:58:53.272797632 +0200
@@ -23,6 +23,7 @@
%bcond_without acme
%bcond_without saml
%bcond_without url_preview
+%bcond_without jwt
# sentry-sdk isn't packaged on openSUSE.
%bcond_withsentry
@@ -34,22 +35,14 @@
# https://github.com/matrix-org/synapse/releases or synapse/CHANGES.md
# * Commit+submit
-# synapse only supports python >= 3.5, which is not available on pre-15 Leap.
-# However, future versions of matrix-synapse will no longer support python2 and
-# continued use of python2 is not recommended, so on newer distributions we
-# only use python3. As a result, at no point do we have two versions of the
-# matrix-synapse package.
-%if 0%{?suse_version} < 1500
-%define skip_python3 1
-%else
+# Synapse 1.1.0 and onwards only supports Python >= 3.5.
%define skip_python2 1
-%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname synapse
%define pkgname matrix-synapse
Name: %{pkgname}
-Version:1.0.0
+Version:1.1.0
Release:0
Summary:Matrix protocol reference homeserver
License:Apache-2.0
@@ -81,9 +74,9 @@
Requires: python-canonicaljson >= 1.1.3
Requires: python-daemonize >= 2.3.1
Requires: python-frozendict >= 1
-Requires: python-idna >= 2
+Requires: python-idna >= 2.5
Requires: python-jsonschema >= 2.5.1
-Requires: python-msgpack >= 0.5.0
+Requires: python-msgpack >= 0.5.2
Requires: python-netaddr >= 0.7.18
Requires: python-phonenumbers >= 8.2.0
Requires: python-psutil >= 2.0.0
@@ -129,17 +122,14 @@
%if %{with sentry}
Requires: python-sentry-sdk >= 0.7.2
%endif
+%if %{with jwt}
+Requires: python-PyJWT >= 1.6.4
+%endif
BuildArch: noarch
-# There is only ever one version of matrix-synapse in a given distribution. In
-# order to make upgrading work seamlessly from the split-Python setup, we
-# Obsolete the old versions and Provide the upgrade. It's a little bit dodgy,
-# but it'll work well enough for us to eventually transition away from Python2
-# matrix-synapse entirely.
Provides: matrix-synapse = %{version}
+# We only provide/obsolete python2 to ensure that users upgrade.
Obsoletes: python2-matrix-synapse < %{version}
Provides: python2-matrix-synapse = %{version}
-Obsoletes: python3-matrix-synapse < %{version}
-Provides: python3-matrix-synapse = %{version}
%python_subpackages
++ 0001-requirements-prometheus_client.patch +