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 <[email protected]> + +- 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_with sentry @@ -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 ++++++ --- /var/tmp/diff_new_pack.4DsMUa/_old 2019-07-09 09:58:53.468797956 +0200 +++ /var/tmp/diff_new_pack.4DsMUa/_new 2019-07-09 09:58:53.492797996 +0200 @@ -1,6 +1,6 @@ -From 14cf846bc75af19feff1265e17e846c8bf6426ff Mon Sep 17 00:00:00 2001 +From b63db241da89e789e2d9771c9bc513450e31e381 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai <[email protected]> -Date: Tue, 25 Jun 2019 22:21:30 +1000 +Date: Mon, 8 Jul 2019 01:37:07 +1000 Subject: [PATCH] requirements: remove prometheus_client<0.4.0 requirement This is needed in order to make synapse work on openSUSE. Debian has @@ -12,18 +12,18 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py -index 7dfa78dadb8b..3630072effb6 100644 +index 6324c00ef184..5c1c196d5fb5 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py -@@ -70,7 +70,7 @@ REQUIREMENTS = [ +@@ -67,7 +67,7 @@ REQUIREMENTS = [ "six>=1.10", # prometheus_client 0.4.0 changed the format of counter metrics # (cf https://github.com/matrix-org/synapse/issues/4001) - "prometheus_client>=0.0.18,<0.4.0", + "prometheus_client>=0.0.18", - # we use attr.s(slots), which arrived in 16.0.0 # Twisted 18.7.0 requires attrs>=17.4.0 + "attrs>=17.4.0", -- -2.21.0 +2.22.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.4DsMUa/_old 2019-07-09 09:58:53.704798345 +0200 +++ /var/tmp/diff_new_pack.4DsMUa/_new 2019-07-09 09:58:53.716798365 +0200 @@ -5,7 +5,7 @@ <param name="url">git://github.com/matrix-org/synapse.git</param> <param name="scm">git</param> <param name="versionrewrite-pattern">v(.*)</param> - <param name="revision">v1.0.0</param> + <param name="revision">v1.1.0</param> </service> <service name="set_version" mode="disabled"/> <service name="tar" mode="buildtime"/> ++++++ matrix-synapse-1.0.0.obscpio -> matrix-synapse-1.1.0.obscpio ++++++ /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse-1.0.0.obscpio /work/SRC/openSUSE:Factory/.matrix-synapse.new.4615/matrix-synapse-1.1.0.obscpio differ: char 48, line 1 ++++++ matrix-synapse.obsinfo ++++++ --- /var/tmp/diff_new_pack.4DsMUa/_old 2019-07-09 09:58:54.100798998 +0200 +++ /var/tmp/diff_new_pack.4DsMUa/_new 2019-07-09 09:58:54.116799025 +0200 @@ -1,5 +1,5 @@ name: matrix-synapse -version: 1.0.0 -mtime: 1560269401 -commit: 97174780ce726962ca1beb3788b62f16e9fad270 +version: 1.1.0 +mtime: 1562237707 +commit: 54283f3ed49ce40059e9f0746f2ded08ce3a5b9e
