Hello community, here is the log from the commit of package matrix-synapse for openSUSE:Factory checked in at 2019-01-08 12:26:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/matrix-synapse (Old) and /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "matrix-synapse" Tue Jan 8 12:26:49 2019 rev:19 rq:661967 version:0.34.0 Changes: -------- --- /work/SRC/openSUSE:Factory/matrix-synapse/matrix-synapse.changes 2018-11-22 13:27:18.669888028 +0100 +++ /work/SRC/openSUSE:Factory/.matrix-synapse.new.28833/matrix-synapse.changes 2019-01-08 12:28:50.656248207 +0100 @@ -1,0 +2,56 @@ +Sat Dec 29 10:11:21 UTC 2018 - Oliver Kurz <ok...@suse.com> + +- Switch to python3 by default on newer product versions as suggested by upstream + +------------------------------------------------------------------- +Sun Dec 23 10:00:29 UTC 2018 - ec...@opensuse.org + +- Update to 0.34.0 + Synapse 0.34.0 is the first release to fully support Python 3. + Synapse will now run on Python versions 3.5 or 3.6 + (as well as 2.7). Support for Python 3.7 remains experimental. + + * Features + - Add 'sandbox' to CSP for media reprository (#4284) + - Make the new landing page prettier. (#4294) + - Fix deleting E2E room keys when using old SQLite versions. (#4295) + - Add a welcome page for the client API port. Credit to @krombel! (#4289) + - Remove Matrix console from the default distribution (#4290) + - Add option to track MAU stats (but not limit people) (#3830) + - Add an option to enable recording IPs for appservice users (#3831) + - Rename login type m.login.cas to m.login.sso (#4220) + - Add an option to disable search for homeservers that may not be interested in it. (#4230) + * Bugfixes + - Pushrules can now again be made with non-ASCII rule IDs. (#4165) + - The media repository now no longer fails to decode UTF-8 filenames when downloading remote media. (#4176) + - URL previews now correctly decode non-UTF-8 text if the header contains a <meta http-equiv="Content-Type" header. (#4183) + - Fix an issue where public consent URLs had two slashes. (#4192) + - Fallback auth now accepts the session parameter on Python 3. (#4197) + - Remove riot.im from the list of trusted Identity Servers in the default configuration (#4207) + - fix start up failure when mau_limit_reserved_threepids set and db is postgres (#4211) + - Fix auto join failures for servers that require user consent (#4223) + - Fix exception caused by non-ascii event IDs (#4241) + - Pushers can now be unsubscribed from on Python 3. (#4250) + - Fix UnicodeDecodeError when postgres is configured to give non-English errors (#4253) + * Internal Changes + - Debian packages utilising a virtualenv with bundled dependencies can now be built. (#4212) + - Disable pager when running git-show in CI (#4291) + - A coveragerc file has been added. (#4180) + - Add a GitHub pull request template and add multiple issue templates (#4182) + - Update README to reflect the fact that #1491 is fixed (#4188) + - Run the AS senders as background processes to fix warnings (#4189) + - Add some diagnostics to the tests to detect logcontext problems (#4190) + - Add missing jpeg package prerequisite for OpenBSD in README. (#4193) + - Add a note saying you need to manually reclaim disk space after using the Purge History API (#4200) + - More logcontext checking in unittests (#4205) + - Ignore __pycache__ directories in the database schema folder (#4214) + - Add note to UPGRADE.rst about removing riot.im from list of trusted identity servers (#4224) + - Added automated coverage reporting to CI. (#4225) + - Garbage-collect after each unit test to fix logcontext leaks (#4227) + - add more detail to logging regarding "More than one row matched" error (#4234) + - Drop sent_transactions table (#4244) + - Add a basic .editorconfig (#4257) + - Update README.rst and UPGRADE.rst for Python 3. (#4260) + - Remove obsolete verbose and log_file settings from homeserver.yaml for Docker image. (#4261) + +------------------------------------------------------------------- Old: ---- matrix-synapse-0.33.9.obscpio New: ---- matrix-synapse-0.34.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ matrix-synapse.spec ++++++ --- /var/tmp/diff_new_pack.MOthfx/_old 2019-01-08 12:28:51.272247534 +0100 +++ /var/tmp/diff_new_pack.MOthfx/_new 2019-01-08 12:28:51.272247534 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,9 +36,14 @@ %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 +# 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 %if 0%{?suse_version} < 1500 %define skip_python3 1 +%define default_python_version python2 +%else +%define default_python_version python3 %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -46,7 +51,7 @@ %define modname synapse %define short_name matrix-synapse Name: %{short_name}%{?name_ext} -Version: 0.33.9 +Version: 0.34.0 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 @@ -67,39 +72,37 @@ BuildRequires: unzip %{?systemd_requires} Requires(pre): shadow +Requires: python-Pillow >= 3.1.2 +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-bcrypt +Requires: python-bcrypt >= 3.1.0 Requires: python-canonicaljson >= 1.1.3 -Requires: python-frozendict >= 0.4 +Requires: python-daemonize => 2.3.1 +Requires: python-frozendict >= 1 Requires: python-jsonschema >= 2.5.1 -Requires: python-msgpack >= 0.3.0 +Requires: python-msgpack >= 0.4.2 +Requires: python-netaddr >= 0.7.18 Requires: python-phonenumbers >= 8.2.0 -Requires: python-prometheus_client +Requires: python-prometheus_client >= 0.0.18 Requires: python-psutil >= 2.0.0 -Requires: python-signedjson >= 1.0.0 -Requires: python-treq >= 15.1.0 -Requires: python-unpaddedbase64 >= 1.1.0 -# original from python_requirements.py -#BuildRequires: python-PyNaCl == 0.3.0 -Requires: python-Pillow -Requires: python-PyNaCl -Requires: python-PyYAML -Requires: python-Twisted >= 16.0.0 -Requires: python-daemonize -Requires: python-netaddr -Requires: python-pyOpenSSL >= 0.15 -Requires: python-pyasn1 +Requires: python-pyOpenSSL >= 16.0.0 +Requires: python-pyasn1 >= 0.1.9 Requires: python-pydenticon -Requires: python-pymacaroons-pynacl +Requires: python-pymacaroons-pynacl >= 0.9.3 Requires: python-pysaml2 >= 3.0.0 -Requires: python-service_identity >= 1.0.0 -Requires: python-sortedcontainers +Requires: python-service_identity >= 16.0.0 +Requires: python-signedjson >= 1.0.0 +Requires: python-sortedcontainers >= 1.4.4 +Requires: python-treq >= 15.1.0 Requires: python-ujson +Requires: python-unpaddedbase64 >= 1.1.0 Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch -%if "%{python_flavor}" == "python2" +%if "%{python_flavor}" == "%{default_python_version}" Provides: matrix-synapse = %{version} %endif %endif @@ -137,9 +140,6 @@ do sed -i '1d' synapse/$i.py done -# patch the version requirement as it would be hard to supply exactly this -# version as dependency -sed -i 's/nacl==0.3.0/nacl>=0.3.0/g' synapse/python_dependencies.py for i in scripts/move_remote_media_to_new_store.py do sed -i 's@#!/usr/bin/env python@#!/usr/bin/python@g' $i @@ -150,7 +150,7 @@ %build %if 0%{?_test} [ -e $(readlink -f /usr/lib/systemd/system/synapse.service) ] || (echo "systemd service symlink is broken" && exit 1) -python -m synapse.app.homeserver --generate-config --server localhost --config-path homeserver.yaml --report-stats=no +%{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 @@ -228,8 +228,10 @@ %python_alternative %{_sbindir}/rcsynapse %python_alternative %{_unitdir}/synapse.service %config %python_alternative %{_sysconfdir}/synapse/log_config.yaml -%python2_only %{_bindir}/sync_room_to_group.pl -%python2_only %{_bindir}/move_remote_media_to_new_store.py +%if "%{python_flavor}" == "%{default_python_version}" +%{_bindir}/sync_room_to_group.pl +%{_bindir}/move_remote_media_to_new_store.py +%endif %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.MOthfx/_old 2019-01-08 12:28:51.308247495 +0100 +++ /var/tmp/diff_new_pack.MOthfx/_new 2019-01-08 12:28:51.308247495 +0100 @@ -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">v0.33.9</param> + <param name="revision">v0.34.0</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> ++++++ matrix-synapse-0.33.9.obscpio -> matrix-synapse-0.34.0.obscpio ++++++ ++++ 6214 lines of diff (skipped) ++++++ matrix-synapse.obsinfo ++++++ --- /var/tmp/diff_new_pack.MOthfx/_old 2019-01-08 12:28:51.604247172 +0100 +++ /var/tmp/diff_new_pack.MOthfx/_new 2019-01-08 12:28:51.604247172 +0100 @@ -1,5 +1,5 @@ name: matrix-synapse -version: 0.33.9 -mtime: 1542652994 -commit: 47e26f5a4d89588ba02d75380ce5a19ca7356093 +version: 0.34.0 +mtime: 1545317741 +commit: d731b75c7bcada708f1acbb83e2521da6a7d97a9