commit python-fedora-messaging for openSUSE:Factory

2022-12-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-12-15 19:25:40

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1835 (New)


Package is "python-fedora-messaging"

Thu Dec 15 19:25:40 2022 rev:8 rq:1043076 version:3.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2022-10-29 20:18:19.254598802 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1835/python-fedora-messaging.changes
2022-12-15 19:26:10.580387827 +0100
@@ -1,0 +2,8 @@
+Thu Dec 15 09:16:19 UTC 2022 - Daniel Garcia 
+
+- Remove python_module macro definition
+- More specific python_sitelib in %files
+- Remove not needed python-six requirement
+- Add update alternatives requirement
+
+---



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.jWOYQb/_old  2022-12-15 19:26:10.964390012 +0100
+++ /var/tmp/diff_new_pack.jWOYQb/_new  2022-12-15 19:26:10.968390034 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fedora-messaging
 Version:3.2.0
 Release:0
@@ -36,7 +35,6 @@
 Requires:   python-pyOpenSSL
 Requires:   python-pytz
 Requires:   python-service_identity
-Requires:   python-six
 Requires:   python-toml
 BuildArch:  noarch
 # SECTION test requirements
@@ -53,11 +51,12 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytz}
 BuildRequires:  %{python_module service_identity}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module toml}
 BuildRequires:  %{python_module towncrier}
 BuildRequires:  %{python_module treq}
 # /SECTION
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -96,6 +95,7 @@
 %doc README.rst
 %license LICENSE
 %python_alternative %{_bindir}/fedora-messaging
-%{python_sitelib}/*
+%{python_sitelib}/fedora_messaging
+%{python_sitelib}/fedora_messaging-%{version}*-info
 
 %changelog


commit python-fedora-messaging for openSUSE:Factory

2022-10-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-10-29 20:16:56

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275 (New)


Package is "python-fedora-messaging"

Sat Oct 29 20:16:56 2022 rev:7 rq:1032091 version:3.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2022-10-12 18:27:21.774042699 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275/python-fedora-messaging.changes
2022-10-29 20:18:19.254598802 +0200
@@ -1,0 +2,10 @@
+Fri Oct 28 17:02:11 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to version 3.2.0 
+  Features
+  * Add a priority property to messages, and a default priority in the 
configuration (#275)
+  * Add a message schema attribute and some documentation to help deprecate 
and upgrade message schemas (#227)
+  Other Changes
+  * Use tomllib from the standard library on Python 3.11 and above, fallback 
to tomli otherwise. (PR#274)
+
+---

Old:

  fedora_messaging-3.1.0.tar.gz

New:

  fedora_messaging-3.2.0.tar.gz



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.iU9cza/_old  2022-10-29 20:18:19.970602617 +0200
+++ /var/tmp/diff_new_pack.iU9cza/_new  2022-10-29 20:18:19.974602638 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fedora-messaging
-Version:3.1.0
+Version:3.2.0
 Release:0
 Summary:Python tools for Fedora's messaging infrastructure
 License:GPL-2.0-or-later

++ fedora_messaging-3.1.0.tar.gz -> fedora_messaging-3.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.1.0/PKG-INFO 
new/fedora_messaging-3.2.0/PKG-INFO
--- old/fedora_messaging-3.1.0/PKG-INFO 2022-09-13 12:48:49.819445400 +0200
+++ new/fedora_messaging-3.2.0/PKG-INFO 2022-10-17 15:12:28.002483400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: fedora_messaging
-Version: 3.1.0
+Version: 3.2.0
 Summary: A set of tools for using Fedora's messaging infrastructure
 Home-page: https://github.com/fedora-infra/fedora-messaging
 Maintainer: Fedora Infrastructure Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.1.0/docs/changelog.rst 
new/fedora_messaging-3.2.0/docs/changelog.rst
--- old/fedora_messaging-3.1.0/docs/changelog.rst   2022-09-13 
11:47:42.0 +0200
+++ new/fedora_messaging-3.2.0/docs/changelog.rst   2022-10-17 
12:41:11.0 +0200
@@ -4,6 +4,39 @@
 
 .. towncrier release notes start
 
+3.2.0 (2022-10-17)
+==
+
+Features
+
+
+* Add a priority property to messages, and a default priority in the
+  configuration
+  (`PR#275 `_)
+* Add a message schema attribute and some documentation to help deprecate and
+  upgrade message schemas
+  (`#227 `_)
+
+Other Changes
+-
+
+* Use tomllib from the standard library on Python 3.11 and above,
+  fallback to tomli otherwise.
+  (`PR#274 `_)
+
+Contributors
+
+
+Many thanks to the contributors of bug reports, pull requests, and pull request
+reviews for this release:
+
+* Akashdeep Dhar
+* Aur??lien Bompard
+* Erol Keskin
+* Miro Hron??ok
+* Stephen Coady
+
+
 3.1.0 (2022-09-13)
 ==
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.1.0/docs/messages.rst 
new/fedora_messaging-3.2.0/docs/messages.rst
--- old/fedora_messaging-3.1.0/docs/messages.rst2021-12-03 
12:54:18.0 +0100
+++ new/fedora_messaging-3.2.0/docs/messages.rst2022-10-17 
12:41:11.0 +0200
@@ -118,3 +118,32 @@
 .. _the fedora-messaging repository: 
https://github.com/fedora-infra/fedora-messaging/tree/master/docs/sample_schema_package/
 .. _CookieCutter: https://cookiecutter.readthedocs.io
 .. _template repository: 
https://github.com/fedora-infra/cookiecutter-message-schemas
+
+
+
+Upgrade and deprecation
+===
+
+Message schema classes should not be modified in a backwards-incompatible 
fashion. To facilitate the
+evolution of schemas, we recommend including the schema version in the topic 
itself, such as
+``myservice.myevent.v1``.
+
+When a 

commit python-fedora-messaging for openSUSE:Factory

2022-10-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-10-12 18:25:35

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275 (New)


Package is "python-fedora-messaging"

Wed Oct 12 18:25:35 2022 rev:6 rq:1010015 version:3.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2022-08-03 21:16:58.591485928 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2275/python-fedora-messaging.changes
2022-10-12 18:27:21.774042699 +0200
@@ -1,0 +2,7 @@
+Wed Oct 12 03:16:41 UTC 2022 - Yogalakshmi Arunachalam 
+
+- Update to version 3.1.0 
+  * Add the app_name and agent_name properties to message schemas (#272)
+  * Added "groups" property to message schemas. This property can be used if 
an event affects a list of groups. (#252)
+
+---

Old:

  fedora_messaging-3.0.2.tar.gz

New:

  fedora_messaging-3.1.0.tar.gz



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.4IIeCX/_old  2022-10-12 18:27:22.170043571 +0200
+++ /var/tmp/diff_new_pack.4IIeCX/_new  2022-10-12 18:27:22.174043580 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fedora-messaging
-Version:3.0.2
+Version:3.1.0
 Release:0
 Summary:Python tools for Fedora's messaging infrastructure
 License:GPL-2.0-or-later

++ fedora_messaging-3.0.2.tar.gz -> fedora_messaging-3.1.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.0.2/PKG-INFO 
new/fedora_messaging-3.1.0/PKG-INFO
--- old/fedora_messaging-3.0.2/PKG-INFO 2022-05-19 13:20:53.186045000 +0200
+++ new/fedora_messaging-3.1.0/PKG-INFO 2022-09-13 12:48:49.819445400 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: fedora_messaging
-Version: 3.0.2
+Version: 3.1.0
 Summary: A set of tools for using Fedora's messaging infrastructure
 Home-page: https://github.com/fedora-infra/fedora-messaging
 Maintainer: Fedora Infrastructure Team
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.0.2/docs/build-schemas-list.py 
new/fedora_messaging-3.1.0/docs/build-schemas-list.py
--- old/fedora_messaging-3.0.2/docs/build-schemas-list.py   2022-05-12 
14:34:18.0 +0200
+++ new/fedora_messaging-3.1.0/docs/build-schemas-list.py   2022-09-13 
11:47:42.0 +0200
@@ -9,9 +9,11 @@
 from collections import defaultdict
 from dataclasses import dataclass
 from subprocess import run
-from textwrap import wrap
+from textwrap import dedent
 from urllib.parse import urljoin
 
+from sphinx.ext.napoleon.docstring import GoogleDocstring
+
 
 SCHEMAS_FILE = "schema-packages.txt"
 DOC_FILE = "schemas.rst"
@@ -50,6 +52,8 @@
 class Schema:
 topic: str
 package: str
+app_name: str
+category: str
 doc: str
 
 
@@ -60,11 +64,12 @@
 
 
 def activate_venv(dirname):
-prev_length = len(sys.path)
-site.addsitepackages(None, [dirname])
-# Put the new paths in front
-sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]
+# Remove system site-packages from the path
+for spdir in site.getsitepackages():
+if spdir in sys.path:
+sys.path.remove(spdir)
 sys.prefix = sys.exec_prefix = dirname
+site.addsitepackages(set(sys.path), [dirname])
 site.PREFIXES = [dirname]
 site.ENABLE_USER_SITE = False
 os.environ["VIRTUAL_ENV"] = dirname
@@ -82,6 +87,20 @@
 run([pip, "-q", "install", package], check=True)
 
 
+def extract_docstring(cls):
+if not cls.__doc__:
+return None
+gds = GoogleDocstring(dedent(cls.__doc__), obj=cls)
+doc = []
+for line in gds.lines():
+if line.startswith(".. "):
+break
+if not line:
+continue
+doc.append(line)
+return " ".join(doc)
+
+
 def get_schemas():
 import pkg_resources
 
@@ -94,9 +113,21 @@
 print(f"The {target} schema has no declared topic, skipping.")
 continue
 package_name = entry_point.dist.project_name
-doc = " ".join(wrap(msg_cls.__doc__)) if msg_cls.__doc__ else None
+doc = extract_docstring(msg_cls)
+category = _get_category(msg_cls.topic)
+try:
+app_name = msg_cls().app_name
+except Exception:
+# Sometimes we can't instantiate schema classes without an actual 
body
+   

commit python-fedora-messaging for openSUSE:Factory

2022-08-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-08-03 21:16:43

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1533 (New)


Package is "python-fedora-messaging"

Wed Aug  3 21:16:43 2022 rev:5 rq:992422 version:3.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2022-05-04 15:11:14.388178604 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1533/python-fedora-messaging.changes
2022-08-03 21:16:58.591485928 +0200
@@ -1,0 +2,8 @@
+Wed Aug  3 03:12:42 UTC 2022 - Steve Kowalik 
+
+- Update to 3.0.2:
+  * Add packit configuration.
+  * Correct sync list, add issue repo and version info
+- Remove unneeded BuildRequires on mock. 
+
+---

Old:

  fedora_messaging-3.0.0.tar.gz

New:

  fedora_messaging-3.0.2.tar.gz



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.RAqnED/_old  2022-08-03 21:16:59.755488983 +0200
+++ /var/tmp/diff_new_pack.RAqnED/_new  2022-08-03 21:16:59.763489004 +0200
@@ -18,11 +18,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fedora-messaging
-Version:3.0.0
+Version:3.0.2
 Release:0
 Summary:Python tools for Fedora's messaging infrastructure
 License:GPL-2.0-or-later
-Group:  Development/Languages/Python
 URL:https://github.com/fedora-infra/fedora-messaging
 Source: 
https://files.pythonhosted.org/packages/source/f/fedora_messaging/fedora_messaging-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
@@ -48,7 +47,6 @@
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module crochet}
 BuildRequires:  %{python_module jsonschema}
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pika >= 1.0.1}
 BuildRequires:  %{python_module pyOpenSSL}
 BuildRequires:  %{python_module pytest-twisted}

++ fedora_messaging-3.0.0.tar.gz -> fedora_messaging-3.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fedora_messaging-3.0.0/PKG-INFO 
new/fedora_messaging-3.0.2/PKG-INFO
--- old/fedora_messaging-3.0.0/PKG-INFO 2021-12-14 10:51:48.828251600 +0100
+++ new/fedora_messaging-3.0.2/PKG-INFO 2022-05-19 13:20:53.186045000 +0200
@@ -1,45 +1,11 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: fedora_messaging
-Version: 3.0.0
+Version: 3.0.2
 Summary: A set of tools for using Fedora's messaging infrastructure
 Home-page: https://github.com/fedora-infra/fedora-messaging
 Maintainer: Fedora Infrastructure Team
 Maintainer-email: infrastruct...@lists.fedoraproject.org
 License: GPLv2+
-Description: Fedora Messaging
-
-
-.. image:: https://img.shields.io/pypi/v/fedora-messaging.svg
-:target: https://pypi.org/project/fedora-messaging/
-
-.. image:: https://img.shields.io/pypi/pyversions/fedora-messaging.svg
-:target: https://pypi.org/project/fedora-messaging/
-
-.. image:: 
https://readthedocs.org/projects/fedora-messaging/badge/?version=latest
-:alt: Documentation Status
-:target: 
https://fedora-messaging.readthedocs.io/en/latest/?badge=latest
-
-.. image:: 
https://codecov.io/gh/fedora-infra/fedora-messaging/branch/master/graph/badge.svg
-  :target: https://codecov.io/gh/fedora-infra/fedora-messaging
-
-This package provides tools and APIs to make using Fedora's messaging
-infrastructure easier. These include a framework for declaring message 
schemas,
-a set of synchronous APIs to publish messages to AMQP brokers, a set of
-asynchronous APIs to consume messages, and services to easily run 
consumers.
-
-This library is designed to be a replacement for the `PyZMQ`_-backed 
`fedmsg`_
-library in Fedora Infrastructure.
-
-To get started, check out our `user guide`_.
-
-Looking to contribute? We appreciate it! Check out the `contributor 
guide`_.
-
-
-.. _`user guide`: 
https://fedora-messaging.readthedocs.io/en/latest/#user-guide
-.. _`contributor guide`: 
https://fedora-messaging.readthedocs.io/en/latest/contributing.html
-.. _`PyZMQ`: https://pyzmq.readthedocs.io/
-.. _`fedmsg`: https://github.com/fedora-infra/fedmsg/
-
 Keywords: fedora
 Platform: Fedora
 

commit python-fedora-messaging for openSUSE:Factory

2022-05-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-05-04 15:10:52

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1538 (New)


Package is "python-fedora-messaging"

Wed May  4 15:10:52 2022 rev:4 rq:974781 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2022-05-03 21:19:13.785018073 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1538/python-fedora-messaging.changes
2022-05-04 15:11:14.388178604 +0200
@@ -1,0 +2,5 @@
+Tue May  3 11:05:27 UTC 2022 - pgaj...@suse.com
+
+- add upstream bug url
+
+---



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.bvgMvM/_old  2022-05-04 15:11:14.884179214 +0200
+++ /var/tmp/diff_new_pack.bvgMvM/_new  2022-05-04 15:11:14.896179229 +0200
@@ -88,6 +88,7 @@
 export PATH=$PATH:%{buildroot}%{_bindir}
 export PYTHONDONTWRITEBYTECODE=1
 export LANG=en_US.UTF-8
+# https://github.com/fedora-infra/fedora-messaging/issues/255
 sed -i 's:. Perhaps you forgot a comma?::' 
fedora_messaging/tests/unit/test_cli.py
 # test_consume_unexpected_crash or test_consume_successful_halt are 
intermittent
 # and only relevant for improved handling of an unexpected failure/halt


commit python-fedora-messaging for openSUSE:Factory

2022-05-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2022-05-03 21:19:07

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1538 (New)


Package is "python-fedora-messaging"

Tue May  3 21:19:07 2022 rev:3 rq:974471 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2021-03-30 21:50:23.562912432 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.1538/python-fedora-messaging.changes
2022-05-03 21:19:13.785018073 +0200
@@ -1,0 +2,65 @@
+Mon May  2 16:46:52 UTC 2022 - pgaj...@suse.com
+
+- version update
+  3.0.0 (2021-12-14)
+  ==
+  API Changes
+  ---
+  * Queues created by the CLI are now non-durable, auto-deleted and exclusive, 
as
+server-named queues are.
+(`PR#239 `_)
+  * It is no longer necessary to declare a queue in the configuration file: a
+server-named queue will be created. Configured bindings which do not 
specify
+a queue name will be applied to the server-named queue.
+(`PR#239 `_)
+  * Drop support for Python 2
+(`PR#246 `_)
+  * Drop the Twisted classes that had been flagged as deprecated.
+Drop the deprecated ``Message._body`` property.
+Refactor the consuming code into the ``Consumer`` class.
+(`PR#249 `_)
+  Features
+  
+  * Support anonymous (server-named) queues.
+(`PR#239 `_)
+  * Support Python 3.10
+(`PR#250 `_)
+  * Raise ``PublishForbidden`` exception immediately if publishing to `virtual 
host
+`_ is denied rather than 
waiting until timeout occurs.
+(`#203 `_)
+  Bug Fixes
+  -
+  * Fixed validation exception of queue field on serialized schemas.
+(`#240 `_)
+  2.1.0 (2021-05-12)
+  ==
+  Features
+  
+  * Improve the testing module to check message topics and bodies separately,
+and to use the rewritten assert that pytest provides
+(`PR#230 `_)
+  * Handle `topic authorization 
`_
+by raising a ``PublishForbidden`` exception instead of being stuck in a 
retry loop
+(`PR#235 `_)
+  * Test on Python 3.8 and 3.9
+(`PR#237 `_)
+  Bug Fixes
+  -
+  * Require setuptools, as ``pkg_resources`` is used
+(`PR#233 `_)
+  2.0.2 (2020-08-04)
+  ==
+  Bug Fixes
+  -
+  * Set the QoS on the channel that is created for the consumer
+(`#223 `_)
+  2.0.1 (2020-01-02)
+  ==
+  Bug Fixes
+  -
+  * Fix handling of new connections after a publish timeout
+(`#212 `_)
+- deleted patches
+  - pr_232.patch (upstreamed)
+
+---

Old:

  fedora_messaging-2.0.2.tar.gz
  pr_232.patch

New:

  fedora_messaging-3.0.0.tar.gz



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.PBUliR/_old  2022-05-03 21:19:14.313018734 +0200
+++ /var/tmp/diff_new_pack.PBUliR/_new  2022-05-03 21:19:14.317018739 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fedora-messaging
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-fedora-messaging
-Version:2.0.2
+Version:3.0.0
 Release:0
 Summary:Python tools for Fedora's messaging infrastructure
 License:GPL-2.0-or-later
 Group:  Development/Languages/Python
 URL:

commit python-fedora-messaging for openSUSE:Factory

2021-03-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fedora-messaging for 
openSUSE:Factory checked in at 2021-03-30 21:22:41

Comparing /work/SRC/openSUSE:Factory/python-fedora-messaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2401 (New)


Package is "python-fedora-messaging"

Tue Mar 30 21:22:41 2021 rev:2 rq:881590 version:2.0.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-fedora-messaging/python-fedora-messaging.changes
  2020-12-01 14:22:54.469601185 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-fedora-messaging.new.2401/python-fedora-messaging.changes
2021-03-30 21:50:23.562912432 +0200
@@ -1,0 +2,5 @@
+Sat Mar 27 03:03:01 UTC 2021 - John Vandenberg 
+
+- Add pr_232.patch from upstream
+
+---

New:

  pr_232.patch



Other differences:
--
++ python-fedora-messaging.spec ++
--- /var/tmp/diff_new_pack.P2kn7d/_old  2021-03-30 21:50:24.402913143 +0200
+++ /var/tmp/diff_new_pack.P2kn7d/_new  2021-03-30 21:50:24.406913146 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 URL:https://github.com/fedora-infra/fedora-messaging
 Source: 
https://files.pythonhosted.org/packages/source/f/fedora_messaging/fedora_messaging-%{version}.tar.gz
+Patch0: 
https://github.com/fedora-infra/fedora-messaging/pull/232.patch#/pr_232.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -67,6 +68,7 @@
 
 %prep
 %setup -q -n fedora_messaging-%{version}
+%patch0 -p1
 
 %build
 %python_build

++ pr_232.patch ++
>From d5973fdb1f525222599de6c343215f0c604f6c74 Mon Sep 17 00:00:00 2001
From: Jeremy Cline 
Date: Thu, 25 Mar 2021 09:29:08 -0400
Subject: [PATCH] Update test fixture keys to 4096 bits

The text fixture key was 1024 bits, which tools are beginning to be
upset about as they're not particularly secure. Generate a new test
key pair which should be good until RSA is broken.

Fixes #231
Signed-off-by: Jeremy Cline 
---
 fedora_messaging/tests/fixtures/cert.pem | 172 +++
 fedora_messaging/tests/fixtures/key.pem  |  64 +++--
 2 files changed, 160 insertions(+), 76 deletions(-)

diff --git a/fedora_messaging/tests/fixtures/cert.pem 
b/fedora_messaging/tests/fixtures/cert.pem
index 6b202ec..6d0b60f 100644
--- a/fedora_messaging/tests/fixtures/cert.pem
+++ b/fedora_messaging/tests/fixtures/cert.pem
@@ -1,76 +1,124 @@
 Certificate:
 Data:
 Version: 3 (0x2)
-Serial Number: 1 (0x1)
-Signature Algorithm: sha1WithRSAEncryption
-Issuer: C=US, ST=NC, L=Raleigh, O=Fedora Project, OU=fedmsg, 
CN=fedmsg/name=fedmsg/emailAddress=ad...@fedoraproject.org
+Serial Number:
+31:22:32:64:15:4f:34:e4:6a:5b:2e:c0:30:a7:1b:7a:54:38:07:84
+Signature Algorithm: sha256WithRSAEncryption
+Issuer: C = US, ST = NC, L = Raleigh, O = Fedora Project, OU = fedmsg, 
CN = fedmsg, name = fedmsg, emailAddress = ad...@fedoraproject.org
 Validity
-Not Before: Jul 15 21:18:52 2012 GMT
-Not After : Jul 13 21:18:52 2022 GMT
-Subject: C=US, ST=NC, L=Raleigh, O=Fedora Project, OU=fedmsg, 
CN=fedmsg/name=fedmsg/emailAddress=ad...@fedoraproject.org
+Not Before: Mar 25 13:26:16 2021 GMT
+Not After : Mar 23 13:26:16 2031 GMT
+Subject: C = US, ST = NC, L = Raleigh, O = Fedora Project, OU = 
fedmsg, CN = fedmsg, name = fedmsg, emailAddress = ad...@fedoraproject.org
 Subject Public Key Info:
 Public Key Algorithm: rsaEncryption
-Public-Key: (1024 bit)
+RSA Public-Key: (4096 bit)
 Modulus:
-00:b1:a2:5c:d7:10:6a:83:a4:1d:65:66:51:80:f5:
-72:2d:15:af:77:92:ad:1d:ad:80:d8:c8:e2:ee:cf:
-10:3b:07:02:1e:4f:18:c4:47:d6:82:8d:53:ff:c2:
-1b:72:49:fe:62:fe:68:26:f0:91:8f:d7:e0:9e:b8:
-46:96:ef:ef:4b:07:f4:21:10:09:d9:90:92:a6:25:
-3a:29:ca:b6:e8:69:06:df:ba:a7:73:b1:71:c3:6c:
-1c:d3:7d:d6:ff:3a:ce:15:b7:bc:7b:fc:6c:6b:d6:
-6f:a7:fd:e0:28:59:07:49:bf:66:9c:3e:1f:5f:b8:
-85:c4:61:51:f9:67:00:40:a7
+00:d1:6d:94:e7:6f:04:43:21:e5:05:90:6c:e7:eb:
+d1:6d:ea:ee:bf:dd:0d:f4:c7:e7:da:a5:d9:97:0d:
+4c:9e:2a:4c:c4:ff:b6:19:3a:a9:9b:19:50:01:60:
+eb:72:82:a9:90:13:a9:32:b8:82:03:70:3f:99:6c:
+8f:de:bb:58:17:37:26:de:98:49:ed:ba:df:25:4b:
+