Hello community,

here is the log from the commit of package python-fedmsg for openSUSE:Factory 
checked in at 2020-12-09 22:22:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fedmsg (Old)
 and      /work/SRC/openSUSE:Factory/.python-fedmsg.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fedmsg"

Wed Dec  9 22:22:14 2020 rev:4 rq:854265 version:1.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fedmsg/python-fedmsg.changes      
2020-05-28 09:17:23.792974654 +0200
+++ /work/SRC/openSUSE:Factory/.python-fedmsg.new.2328/python-fedmsg.changes    
2020-12-09 22:22:15.919726738 +0100
@@ -1,0 +2,11 @@
+Sun Nov 22 16:30:31 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Use PyPI source instead of upstream tagged tarball
+- Fix missing Recommends python-moksha.hub to be python-moksha-hub
+- Remove unpackaged and deprecated dependency m2ext
+- Add missing build dependencies M2Crypto, cryptography, service_identity
+- Add tests subpackage needed by fedmsg dependencies
+- Update to v1.1.2
+  * Fix a DOS bug when consuming non-dict JSON messages
+
+-------------------------------------------------------------------

Old:
----
  fedmsg-1.1.1.tar.gz

New:
----
  fedmsg-1.1.2.tar.gz

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

Other differences:
------------------
++++++ python-fedmsg.spec ++++++
--- /var/tmp/diff_new_pack.TJrzYG/_old  2020-12-09 22:22:16.623727451 +0100
+++ /var/tmp/diff_new_pack.TJrzYG/_new  2020-12-09 22:22:16.623727451 +0100
@@ -19,13 +19,12 @@
 %define commands announce check collectd config dg-replay gateway hub irc 
logger relay signing-relay tail trigger
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fedmsg
-Version:        1.1.1
+Version:        1.1.2
 Release:        0
 Summary:        Fedora Messaging Client API
 License:        LGPL-2.1-or-later
 URL:            https://github.com/fedora-infra/fedmsg
-# source from pypi is missing test fixtures
-Source:         
https://github.com/fedora-infra/fedmsg/archive/%{version}/fedmsg-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/f/fedmsg/fedmsg-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -41,24 +40,26 @@
 Recommends:     python-arrow
 Recommends:     python-click
 Recommends:     python-cryptography >= 1.6
-Recommends:     python-m2ext
-Recommends:     python-moksha.hub >= 1.3.0
+Recommends:     python-moksha-hub >= 1.3.0
 Recommends:     python-psutil
 Recommends:     python-pyOpenSSL >= 16.1.0
 Recommends:     python-service_identity
 BuildArch:      noarch
 # SECTION tests
+BuildRequires:  %{python_module M2Crypto}
 BuildRequires:  %{python_module SQLAlchemy}
 BuildRequires:  %{python_module arrow}
 BuildRequires:  %{python_module click}
+BuildRequires:  %{python_module cryptography}
 BuildRequires:  %{python_module kitchen}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module moksha-hub}
+BuildRequires:  %{python_module moksha-hub >= 1.3.0}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pygments}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pyzmq}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module service_identity}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module vcrpy}
 BuildRequires:  gpg2
@@ -84,6 +85,13 @@
 This package contains the common filesystem layout shared by the python2 and
 python3 versions of the fedmsg package.
 
+%package        tests
+Summary:        Test files for fedmsg
+Supplements:    %{python_module %{name}}
+
+%description    tests
+This package contains the tests for the fedmsg package.
+
 %prep
 %setup -q -n fedmsg-%{version}
 
@@ -97,15 +105,15 @@
 rm doc/_build/html/objects.inv
 
 %check
-%pytest fedmsg
+# test_config_single_file, or test_config_dir & test_config_file fail due to 
missing data files
+%pytest -rs fedmsg -k 'not (test_config_single_file or test_config_dir or 
test_config_file)'
 
 %install
 %python_install
 for c in %{commands}; do
   %python_clone -a %{buildroot}%{_bindir}/fedmsg-$c
 done
-%{python_expand # first remove the tests
-rm -r %{buildroot}%{$python_sitelib}/fedmsg/tests/
+%{python_expand rm 
%{buildroot}%{$python_sitelib}/fedmsg/tests/test_certs/gpg/pubring.gpg~
 %fdupes %{buildroot}%{$python_sitelib}
 }
 # system wide "config" files for fedmsg-base
@@ -126,6 +134,7 @@
 %license LICENSE
 %doc README.rst
 %{python_sitelib}/*
+%exclude %{python_sitelib}/*/tests/
 %python_alternative %{_bindir}/fedmsg-announce
 %python_alternative %{_bindir}/fedmsg-check
 %python_alternative %{_bindir}/fedmsg-collectd
@@ -140,6 +149,10 @@
 %python_alternative %{_bindir}/fedmsg-tail
 %python_alternative %{_bindir}/fedmsg-trigger
 
+%files %{python_files tests}
+%license LICENSE
+%{python_sitelib}/fedmsg/tests/
+
 %files -n %{name}-doc
 %license LICENSE
 %doc README.rst doc/_build/html

++++++ fedmsg-1.1.1.tar.gz -> fedmsg-1.1.2.tar.gz ++++++
++++ 5108 lines of diff (skipped)
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to