Hello community,

here is the log from the commit of package matrix-synapse for openSUSE:Factory 
checked in at 2019-06-30 14:40:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old)
 and      /work/SRC/openSUSE:Factory/.matrix-synapse.new.4615 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "matrix-synapse"

Sun Jun 30 14:40:55 2019 rev:22 rq:712357 version:1.0.0

Changes:
--------
New Changes file:

--- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes    
2019-02-24 17:15:58.084444485 +0100
+++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.4615/matrix-synapse.changes  
2019-06-30 14:40:57.151941024 +0200
@@ -1,0 +2,91 @@
+Fri Jun 28 08:16:05 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Obsolete the old split-Python packages, so that upgrading works smoothly.
+
+-------------------------------------------------------------------
+Tue Jun 25 10:48:03 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Un-Requires prometheus_client<0.4.0. The Requires made it impossible to use
+  matrix-synapse on openSUSE for very little good reason (prometheus metrics
+  will still work on post-0.4.0 prometheus_client, but with changed names).
+  Debian and many other distributions do the same here.
+  + 0001-requirements-prometheus_client.patch
+
+-------------------------------------------------------------------
+Wed Jun 12 02:26:48 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 1.0.0.
+
+  This is the first stable release of synapse. It includes a large number of
+  changes but the highlights are:
+
+  * Ability to configured default room version (with the default now being v4,
+    which has improved state resolution algorithms and event IDs).
+  * The complete removal of "perspectives" support, with all homeservers now
+       being required to use valid TLS certificates (there has been a 
transition
+       period for several months from the release of 0.99).
+  * Experimental support for "relations" (reactions and edits).
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------
+Fri May 31 00:04:50 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 0.99.5.2.
+
+  Fix bug where we leaked extremities when we soft failed events, leading to
+  performance degradation.
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------
+Tue May 28 01:18:34 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Rework testing to use a separate specfile for testing matrix-synapse.
+
+-------------------------------------------------------------------
+Thu May 23 00:13:47 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 0.99.5.1.
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------
+Wed May 15 13:19:23 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 0.99.4.
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------
+Wed May  8 00:47:56 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 0.99.3.2.
+
+  This includes two security fixes:
+    * Switch to using a cryptographically-secure random number generator for
+      token strings, ensuring they cannot be predicted by an attacker.
+    * Blacklist 0.0.0.0 and :: by default for URL previews.
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------
+Sun Apr 14 18:35:48 UTC 2019 - Aleksa Sarai <asa...@suse.com>
+
+- Update to 0.99.3.
+
+  The primary changes to previous versions are that self-signed certificates
+  will no longer be generated, and instead LetsEncrypt certificates will be
+  requested instead. Users are strongly recommended to update to this version,
+  because pre-0.99 servers (using self-signed certificates and the perspectives
+  system) will no longer be able to federate with post-1.0 servers.
+
+  The full changelog is included in
+  /usr/share/doc/packages/matrix-synapse/CHANGES.md.
+
+-------------------------------------------------------------------

Old:
----
  _multibuild
  matrix-synapse-0.34.1.1.obscpio

New:
----
  0001-requirements-prometheus_client.patch
  matrix-synapse-1.0.0.obscpio
  matrix-synapse-test.changes
  matrix-synapse-test.spec
  matrix-synapse.service

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

Other differences:
------------------
++++++ matrix-synapse-test.spec ++++++
#
# spec file for package matrix-synapse-test
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# 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
%define skip_python2 1
%endif

# Disable debug packages since we're not installing anything.
%define debug_package %{nil}

%define         pkgname matrix-synapse
Name:           %{pkgname}-test
Version:        1.0.0
Release:        0
Summary:        Test package for %{pkgname}
License:        Apache-2.0
BuildRequires:  %{pkgname} == %{version}
BuildRequires:  python-rpm-macros

%description
.

%prep
touch %{_sourcedir}/%{pkgname}

%build
%install

%check

# Generate a sample config.
%{python_flavor} -m synapse.app.homeserver \
        --generate-config \
        --server localhost \
        --config-path dummy-homeserver.yaml \
        --report-stats no

# Start synapse and try to register a user (basic smoke-test).
# register_new_matrix_user doesn't seem to work inside check so we have to
# manually run the module.
synctl start dummy-homeserver.yaml
sleep 2s
%{python_flavor} -m synapse._scripts.register_new_matrix_user \
        http://localhost:8008 \
        --config dummy-homeserver.yaml \
        --admin --user opensuse --password opensuse
synctl stop dummy-homeserver.yaml

%changelog
++++++ matrix-synapse.spec ++++++
--- /var/tmp/diff_new_pack.ONpS7Q/_old  2019-06-30 14:40:58.323943013 +0200
+++ /var/tmp/diff_new_pack.ONpS7Q/_new  2019-06-30 14:40:58.327943020 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package matrix
+# spec file for package matrix-synapse
 #
 # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -16,233 +16,224 @@
 #
 
 
+# These come from matrix-synapse's CONDITIONAL_REQUIREMENTS.
+%bcond_without email_notifs
+%bcond_without ldap
+%bcond_without postgres
+%bcond_without acme
+%bcond_without saml
+%bcond_without url_preview
+# sentry-sdk isn't packaged on openSUSE.
+%bcond_with    sentry
+
 ## Package updates
 #
 # * Update version in _service to the most recent released one
 # * Call `osc service dr`
 # * Update changelog manually from
-#   https://github.com/matrix-org/synapse/releases
-#   or synapse/CHANGES.rst
+#   https://github.com/matrix-org/synapse/releases or synapse/CHANGES.md
 # * Commit+submit
 
-# Define just "test" as a package in _multibuild file to distinguish test
-# instructions here
-%if "@BUILD_FLAVOR@" == ""
-%define _test 0
-%define name_ext %nil
-%else
-%define _test 1
-%define name_ext -test
-%endif
-
-# openSUSE Leap 42.3 have an older version of python-rpm-macros and need a
-# different files section which can not be applied for all python flavors.
-# Also openSUSE Leap 42.3 has python3.4 and only 3.5 or above is supported by
-# matrix, hence sticking to python2
+# 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
-%define default_python_version python2
 %else
-%define default_python_version python3
+%define skip_python2 1
 %endif
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define         github_user matrix-org
 %define         modname synapse
-%define         short_name matrix-synapse
-Name:           %{short_name}%{?name_ext}
-Version:        0.34.1.1
+%define         pkgname matrix-synapse
+Name:           %{pkgname}
+Version:        1.0.0
 Release:        0
 Summary:        Matrix protocol reference homeserver
 License:        Apache-2.0
 Group:          Productivity/Networking/Instant Messenger
-Source0:        %{short_name}-%{version}.tar.xz
-Url:            https://github.com/matrix-org/synapse
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?_test}
-BuildRequires:  %{short_name} == %{version}
-%else
+URL:            https://github.com/matrix-org/synapse
+Source0:        %{pkgname}-%{version}.tar.xz
+Source50:       %{pkgname}.service
+Patch1:         0001-requirements-prometheus_client.patch
 BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module psutil} >= 2.0.0
+BuildRequires:  %{python_module psutil >= 2.0.0}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module treq} >= 15.1.0
+BuildRequires:  %{python_module treq >= 15.1.0}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  unzip
 %{?systemd_requires}
 Requires(pre):  shadow
-Requires:       python-Pillow >= 3.1.2
+%ifpython3
+Requires:       %{python_flavor} >= 3.5
+%endif
+# NOTE: Keep this is in the same order as synapse/python_dependencie.py.
+Requires:       python-Pillow >= 4.3.0
 Requires:       python-PyNaCl >= 1.2.1
-Requires:       python-PyYAML => 3.11
-Requires:       python-Twisted >= 17.1
-Requires:       python-Twisted >= 17.1.0
-Requires:       python-attrs >= 16.0.0
+Requires:       python-PyYAML >= 3.11
+Requires:       python-Twisted >= 18.7.0
+Requires:       python-attrs >= 17.4.0
 Requires:       python-bcrypt >= 3.1.0
 Requires:       python-canonicaljson >= 1.1.3
-Requires:       python-daemonize => 2.3.1
+Requires:       python-daemonize >= 2.3.1
 Requires:       python-frozendict >= 1
+Requires:       python-idna >= 2
 Requires:       python-jsonschema >= 2.5.1
-Requires:       python-msgpack >= 0.4.2
+Requires:       python-msgpack >= 0.5.0
 Requires:       python-netaddr >= 0.7.18
 Requires:       python-phonenumbers >= 8.2.0
-Requires:       python-prometheus_client >= 0.0.18
 Requires:       python-psutil >= 2.0.0
 Requires:       python-pyOpenSSL >= 16.0.0
 Requires:       python-pyasn1 >= 0.1.9
-Requires:       python-pydenticon
-Requires:       python-pymacaroons-pynacl >= 0.9.3
-Requires:       python-pysaml2 >= 3.0.0
-Requires:       python-service_identity >= 16.0.0
+Requires:       python-pyasn1-modules >= 0.0.7
+Requires:       python-pymacaroons >= 0.13.0
+Requires:       python-service_identity >= 18.1.0
 Requires:       python-signedjson >= 1.0.0
+Requires:       python-six >= 1.10
 Requires:       python-sortedcontainers >= 1.4.4
-Requires:       python-treq >= 15.1.0
-Requires:       python-ujson
+Requires:       python-treq >= 15.1
 Requires:       python-unpaddedbase64 >= 1.1.0
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
-# used for URL preview API
-Recommends:     %{python_module lxml}
-BuildArch:      noarch
-%if "%{python_flavor}" == "%{default_python_version}"
-Provides:       matrix-synapse = %{version}
+# NOTE: This requirement is needed in order for Prometheus metrics to work (the
+#       metric names changed after the 0.4.0 update), but we can no longer
+#       fulfill it on any openSUSE distributions. This is being tracked by
+#       upstream:
+#         <https://github.com/matrix-org/synapse/issues/4221>
+#       but with few updates.
+#Requires:       python-prometheus_client < 0.4.0
+Requires:       python-prometheus_client >= 0.0.18
+# Specify all CONDITIONAL_REQUIREMENTS (we Require them to avoid no-recommends
+# breaking very commonly-used bits of matrix-synapse such as postgresql).
+%if %{with email_notifs}
+Requires:       python-Jinja2 >= 2.9
+Requires:       python-bleach >= 1.4.3
+%endif
+%if %{with ldap}
+Requires:       python-matrix-synapse-ldap3 >= 0.1
+%endif
+%if %{with postgres}
+Requires:       python-psycopg2 >= 2.7
+%endif
+%if %{with acme}
+Requires:       python-txacme >= 0.9.2
 %endif
+%if %{with saml}
+Requires:       python-pysaml2 >= 4.5.0
 %endif
+%if %{with url_preview}
+Requires:       python-lxml >= 3.5.0
+%endif
+%if %{with sentry}
+Requires:       python-sentry-sdk >= 0.7.2
+%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}
+Obsoletes:      python2-matrix-synapse < %{version}
+Provides:       python2-matrix-synapse = %{version}
+Obsoletes:      python3-matrix-synapse < %{version}
+Provides:       python3-matrix-synapse = %{version}
 
-%if 0%{?_test}
-%else
 %python_subpackages
-%endif
 
 %description
 Synapse is a Python-based reference "homeserver" implementation of
 Matrix. Matrix is a system for federated Instant Messaging and VoIP.
 
 %prep
-%if 0%{?_test}
-# workaround to prevent post/install failing assuming this file for whatever
-# reason
-touch %{_sourcedir}/%{modname}
-%else
 %setup -q
-for i in \
-    app/client_reader \
-    app/event_creator \
-    app/federation_sender \
-    app/synchrotron \
-    app/pusher \
-    app/media_repository \
-    app/homeserver \
-    app/appservice \
-    app/federation_reader \
-    app/frontend_proxy \
-    app/user_dir \
-    push/pusherpool \
-    util/versionstring
-do
-    sed -i '1d' synapse/$i.py
-done
-for i in scripts/move_remote_media_to_new_store.py
-do
-    sed -i '1s@#!/usr/bin/env python@#!/usr/bin/python@g' $i
-done
-sed -i '1s@#!/usr/bin/env perl@#!/usr/bin/perl@g' scripts/sync_room_to_group.pl
-sed -i 's@msgpack-python@msgpack@g' synapse/python_dependencies.py
-sed -i 
's@Group=nogroup@Group=synapse@g;s@/opt/synapse/env/bin@/usr/bin@g;s@WorkingDirectory=/opt/synapse@WorkingDirectory=/var/lib/synapse@g;s@/opt/synapse/homeserver.yaml@/etc/synapse/homeserver.yaml@g'
 contrib/systemd/*.service
-%endif
+%patch1 -p1
+
+# Remove all un-needed #!-lines.
+find synapse/ -type f -exec sed -i '1{/^#!/d}' {} \;
+# Replace all #!/usr/bin/env lines to use #!/usr/bin/$1 directly.
+find ./ -type f -exec \
+       sed -i '1s|^#!/usr/bin/env |#!/usr/bin/|' {} \;
+# Force the usage of python_flavor.
+find ./ -type f \
+       -exec sed -i '1s|^#!/usr/bin/python$|#!/usr/bin/%{python_flavor}|' {} \;
+
+# Update the python flavour in the service file.
+sed -i 's|@PYTHON_FLAVOR@|%{python_flavor}|g' %{S:50}
 
 %build
-%if 0%{?_test}
-[ -e $(readlink -f /usr/lib/systemd/system/%{short_name}.service) ] || (echo 
"systemd service symlink is broken" && exit 1)
-%{default_python_version} -m synapse.app.homeserver --generate-config --server 
localhost --config-path homeserver.yaml --report-stats=no
-# Disable the web client which would need python-matrix-synapse-angular-client
-# as a dependency for this test which is not available in all repos and we do
-# not want to rely on it
-# https://github.com/matrix-org/synapse/issues/2113
-sed -e 's/\(web_client: \).*$/\1False/' -e '/- webclient  # The bundled 
webclient/d' -e 's/- names: \[client, webclient\]/- names: [client]/' -i 
homeserver.yaml
-synctl start
-register_new_matrix_user --config homeserver.yaml --user opensuse --password 
opensuse --admin https://localhost:8448
-synctl stop
-%else
 %python_build
-%endif
 
 %install
-%if 0%{?_test}
-# disable debug packages in package test to prevent error about missing files
-%define debug_package %{nil}
-%else
-%python_install
+# We install scripts into /usr/lib to avoid silly conflicts with other pkgs.
+install -d -m 0755 %{buildroot}%{_libexecdir}/%{pkgname}
+%python_install "--install-scripts=%{_libexecdir}/%{pkgname}/"
+
+# While we provide a systemd service, link synctl so it's simpler to use.
+install -d -m 0755 %{buildroot}%{_bindir}
+ln -s %{_libexecdir}/%{pkgname}/synctl %{buildroot}%{_bindir}/synctl
+
+# Install default matrix-synapse configuration.
+# TODO: Switch to the debian default config.
+install -d -m 0755 %{buildroot}%{_sysconfdir}/%{pkgname}/conf.d
+install -D -m 0644 docs/sample_config.yaml 
%{buildroot}%{_sysconfdir}/%{pkgname}/homeserver.yaml
+install -D -m 0644 contrib/systemd/log_config.yaml 
%{buildroot}%{_sysconfdir}/%{pkgname}/log.yaml
 
-mkdir -p "%{buildroot}%{_sysconfdir}/synapse"
-install -m 0644 contrib/systemd/log_config.yaml \
-             "%{buildroot}%{_sysconfdir}/synapse"
-mkdir -p %{buildroot}%{_sbindir}
-ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{short_name}
+# Man pages.
+install -D -m 0644 -t %{buildroot}%{_mandir}/man1 debian/*.1
 
-mkdir -p "%{buildroot}%{_unitdir}"
-install -m 0644 contrib/systemd/%{short_name}.service \
-             "%{buildroot}%{_unitdir}"
+# Runtime-dir.
+mkdir -p %{buildroot}%{_rundir}/%{pkgname}
 
-mkdir -p "%{buildroot}%{_rundir}/synapse"
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+# system configuration.
+mkdir -p %{buildroot}%{_sbindir}
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{pkgname}
+install -D -m 0644 contrib/systemd/%{pkgname}.service 
%{buildroot}%{_unitdir}/%{pkgname}.service
 
-for p in hash_password register_new_matrix_user synapse_port_db synctl ; do
-    %python_clone -a %{buildroot}%{_bindir}/$p
-done
-%python_clone -a %{buildroot}%{_sbindir}/rc%{short_name}
-%python_clone -a %{buildroot}%{_unitdir}/%{short_name}.service
-sed -i 's@/usr/bin/python@/usr/bin/python2@g' 
%{buildroot}%{_unitdir}/%{short_name}.service-2*
-%if "%{python_flavor}" == "python3"
-sed -i 's@/usr/bin/python@/usr/bin/python3@g' 
%{buildroot}%{_unitdir}/%{short_name}.service-3*
-%endif
-%python_clone -a %{buildroot}%{_sysconfdir}/synapse/log_config.yaml
+# User directory.
+install -d -m 0755 %{buildroot}%{_rundir}/%{pkgname}
+install -d -m 0750 %{buildroot}%{_localstatedir}/lib/%{pkgname}
 
-# User Directory
-install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{modname}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %pre
 getent group synapse >/dev/null || groupadd -r synapse
 getent passwd synapse >/dev/null || \
     /usr/sbin/useradd -r -g synapse -s /sbin/nologin -c 'Matrix Synapse' \
         -d %{_localstatedir}/lib/synapse synapse
-%service_add_pre %{short_name}.service
+%service_add_pre %{pkgname}.service
 
 %post
-%{python_install_alternative synctl hash_password register_new_matrix_user 
synapse_port_db %{_sbindir}/rc%{short_name} %{_unitdir}/%{short_name}.service 
%{_sysconfdir}/synapse/log_config.yaml}
-%service_add_post %{short_name}.service
+%service_add_post %{pkgname}.service
 
 %preun
-%service_del_preun %{short_name}.service
+%service_del_preun %{pkgname}.service
 
 %postun
-%python_uninstall_alternative synctl
-%service_del_postun %{short_name}.service
+%service_del_postun %{pkgname}.service
 
 %if 0%{?suse_version} < 1500
-%files -n %name
+%files -n %{pkgname}
 %else
 %files %{python_files}
 %endif
 %defattr(-,root,root,-)
-%doc *.rst
+%doc *.rst CHANGES.md
 %license LICENSE
-%dir %{_sysconfdir}/synapse
-%dir %attr(0750,%{modname},%{modname}) %{_localstatedir}/lib/%{modname}
+%dir %{_sysconfdir}/%{pkgname}
+%dir %{_sysconfdir}/%{pkgname}/conf.d
+%config(noreplace) %{_sysconfdir}/%{pkgname}/*.yaml
+%dir %attr(0750,%{modname},%{modname}) %{_localstatedir}/lib/%{pkgname}
 %{python_sitelib}
-%python_alternative %{_bindir}/hash_password
-%python_alternative %{_bindir}/register_new_matrix_user
-%python_alternative %{_bindir}/synapse_port_db
-%python_alternative %{_bindir}/synctl
-%python_alternative %{_sbindir}/rc%{short_name}
-%python_alternative %{_unitdir}/%{short_name}.service
-%config %python_alternative %{_sysconfdir}/synapse/log_config.yaml
-%if "%{python_flavor}" == "%{default_python_version}"
-%{_bindir}/generate_config
-%{_bindir}/sync_room_to_group.pl
-%{_bindir}/move_remote_media_to_new_store.py
-%endif
-
-%endif
+# Python helper scripts.
+%{_bindir}/synctl
+%{_libexecdir}/%{pkgname}
+# systemd service.
+%{_sbindir}/rc%{pkgname}
+%{_unitdir}/%{pkgname}.service
+# Man pages.
+%{_mandir}/man*/*
 
 %changelog

++++++ 0001-requirements-prometheus_client.patch ++++++
>From 14cf846bc75af19feff1265e17e846c8bf6426ff Mon Sep 17 00:00:00 2001
From: Aleksa Sarai <cyp...@cyphar.com>
Date: Tue, 25 Jun 2019 22:21:30 +1000
Subject: [PATCH] requirements: remove prometheus_client<0.4.0 requirement

This is needed in order to make synapse work on openSUSE. Debian has
similar patches.

Signed-off-by: Aleksa Sarai <cyp...@cyphar.com>
---
 synapse/python_dependencies.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 7dfa78dadb8b..3630072effb6 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -70,7 +70,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
-- 
2.21.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.ONpS7Q/_old  2019-06-30 14:40:58.419943176 +0200
+++ /var/tmp/diff_new_pack.ONpS7Q/_new  2019-06-30 14:40:58.419943176 +0200
@@ -5,10 +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">v0.34.1.1</param>
-    <!-- The git changelog of matrix-org/synapse does not seem to be very 
usable. Use the changelog provided on the github release page -->
-    <param name="changesgenerate">disable</param>
-    <param name="changesauthor">ok...@suse.com</param>
+    <param name="revision">v1.0.0</param>
   </service>
   <service name="set_version" mode="disabled"/>
   <service name="tar" mode="buildtime"/>

++++++ matrix-synapse-0.34.1.1.obscpio -> matrix-synapse-1.0.0.obscpio ++++++
/work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse-0.34.1.1.obscpio 
/work/SRC/openSUSE:Factory/.matrix-synapse.new.4615/matrix-synapse-1.0.0.obscpio
 differ: char 21, line 1

++++++ matrix-synapse.obsinfo ++++++
--- /var/tmp/diff_new_pack.ONpS7Q/_old  2019-06-30 14:40:58.495943305 +0200
+++ /var/tmp/diff_new_pack.ONpS7Q/_new  2019-06-30 14:40:58.495943305 +0200
@@ -1,5 +1,5 @@
 name: matrix-synapse
-version: 0.34.1.1
-mtime: 1547132350
-commit: 5c792ee5c39d0660c7ca1341ee12556358a262c8
+version: 1.0.0
+mtime: 1560269401
+commit: 97174780ce726962ca1beb3788b62f16e9fad270
 

++++++ matrix-synapse.service ++++++
[Unit]
Description=Synapse Matrix homeserver

[Service]
Type=simple
SyslogIdentifier=matrix-synapse
Restart=on-failure
RestartSec=3

User=synapse
Group=synapse
WorkingDirectory=/var/lib/matrix-synapse

ExecStartPre=@PYTHON_FLAVOR@ -m synapse.app.homeserver 
--config-path=/etc/matrix-synapse/homeserver.yaml 
--config-path=/etc/matrix-synapse/conf.d/ --generate-keys
ExecStart=@PYTHON_FLAVOR@ -m synapse.app.homeserver 
--config-path=/etc/matrix-synapse/homeserver.yaml 
--config-path=/etc/matrix-synapse/conf.d/

# Adjust the cache factor if necessary.
#Environment=SYNAPSE_CACHE_FACTOR=2.0

[Install]
WantedBy=multi-user.target


Reply via email to