Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-apiron for openSUSE:Factory 
checked in at 2022-01-03 10:50:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-apiron (Old)
 and      /work/SRC/openSUSE:Factory/.python-apiron.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-apiron"

Mon Jan  3 10:50:02 2022 rev:4 rq:943491 version:6.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-apiron/python-apiron.changes      
2021-08-30 13:55:28.221842586 +0200
+++ /work/SRC/openSUSE:Factory/.python-apiron.new.1896/python-apiron.changes    
2022-01-03 10:50:45.543611227 +0100
@@ -1,0 +2,7 @@
+Sun Jan  2 10:35:31 UTC 2022 - Axel Braun <[email protected]>
+
+- version 6.1.0
+  * Add py.typed file so mypy can check against package types in downstream 
applications
+  * Use interpolation for logging messages to avoid wasted computation
+
+-------------------------------------------------------------------

Old:
----
  apiron-6.0.0.post1.tar.gz

New:
----
  apiron-6.1.0.tar.gz

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

Other differences:
------------------
++++++ python-apiron.spec ++++++
--- /var/tmp/diff_new_pack.zXhxPi/_old  2022-01-03 10:50:45.923611372 +0100
+++ /var/tmp/diff_new_pack.zXhxPi/_new  2022-01-03 10:50:45.927611374 +0100
@@ -1,8 +1,8 @@
 #
 # spec file
 #
-# Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2019 Dr. Axel Braun <[email protected]>
+# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2019-2022 Dr. Axel Braun <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,13 @@
 %define skip_python36 1
 %define modname apiron
 Name:           python-%{modname}
-Version:        6.0.0.post1
+Version:        6.1.0
 Release:        0
 Summary:        Apiron helps you cook a tasty client for RESTful APIs
 License:        MIT
 URL:            https://github.com/ithaka/apiron
 Source:         
https://files.pythonhosted.org/packages/source/a/apiron/%{modname}-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests >= 2.11.1}

++++++ apiron-6.0.0.post1.tar.gz -> apiron-6.1.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/MANIFEST.in 
new/apiron-6.1.0/MANIFEST.in
--- old/apiron-6.0.0.post1/MANIFEST.in  2021-06-21 16:16:46.000000000 +0200
+++ new/apiron-6.1.0/MANIFEST.in        2021-12-22 18:00:44.000000000 +0100
@@ -1 +1,2 @@
 recursive-include tests *.py
+recursive-include src py.typed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/PKG-INFO new/apiron-6.1.0/PKG-INFO
--- old/apiron-6.0.0.post1/PKG-INFO     2021-06-21 16:16:53.212681300 +0200
+++ new/apiron-6.1.0/PKG-INFO   2021-12-22 18:00:57.761685100 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: apiron
-Version: 6.0.0.post1
+Version: 6.1.0
 Summary: apiron helps you cook a tasty client for RESTful APIs. Just don't 
wash it with SOAP.
 Home-page: https://github.com/ithaka/apiron
 Author: Ithaka Harbors, Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/setup.cfg 
new/apiron-6.1.0/setup.cfg
--- old/apiron-6.0.0.post1/setup.cfg    2021-06-21 16:16:53.212681300 +0200
+++ new/apiron-6.1.0/setup.cfg  2021-12-22 18:00:57.761685100 +0100
@@ -1,6 +1,6 @@
 [metadata]
 name = apiron
-version = 6.0.0-post.1
+version = 6.1.0
 description = apiron helps you cook a tasty client for RESTful APIs. Just 
don't wash it with SOAP.
 author = Ithaka Harbors, Inc.
 author_email = [email protected]
@@ -41,7 +41,7 @@
 [options.extras_require]
 docs = 
        importlib-metadata>=4.5.0,<5
-       sphinx>=3.0,<4
+       sphinx>=4.3.2,<5
        sphinx-autodoc-typehints>=1.12.0,<2
        sphinx-autobuild>=2021.3.14
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/src/apiron/client.py 
new/apiron-6.1.0/src/apiron/client.py
--- old/apiron-6.0.0.post1/src/apiron/client.py 2021-06-21 16:16:46.000000000 
+0200
+++ new/apiron-6.1.0/src/apiron/client.py       2021-12-22 18:00:44.000000000 
+0100
@@ -250,7 +250,7 @@
         **kwargs,
     )
 
-    logger.info(f"{method} {request.url}")
+    logger.info("%s %s", method, request.url)
 
     response = adapted_session.send(
         request,
@@ -261,11 +261,10 @@
     )
 
     logger.info(
-        "{status} {url}{history}".format(
-            status=response.status_code,
-            url=response.url,
-            history=" ({} redirect(s))".format(len(response.history)) if 
response.history else "",
-        )
+        "%d %s%s",
+        response.status_code,
+        response.url,
+        " ({} redirect(s))".format(len(response.history)) if response.history 
else "",
     )
 
     if managing_session:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/src/apiron.egg-info/PKG-INFO 
new/apiron-6.1.0/src/apiron.egg-info/PKG-INFO
--- old/apiron-6.0.0.post1/src/apiron.egg-info/PKG-INFO 2021-06-21 
16:16:53.000000000 +0200
+++ new/apiron-6.1.0/src/apiron.egg-info/PKG-INFO       2021-12-22 
18:00:57.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: apiron
-Version: 6.0.0.post1
+Version: 6.1.0
 Summary: apiron helps you cook a tasty client for RESTful APIs. Just don't 
wash it with SOAP.
 Home-page: https://github.com/ithaka/apiron
 Author: Ithaka Harbors, Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/src/apiron.egg-info/SOURCES.txt 
new/apiron-6.1.0/src/apiron.egg-info/SOURCES.txt
--- old/apiron-6.0.0.post1/src/apiron.egg-info/SOURCES.txt      2021-06-21 
16:16:53.000000000 +0200
+++ new/apiron-6.1.0/src/apiron.egg-info/SOURCES.txt    2021-12-22 
18:00:57.000000000 +0100
@@ -7,6 +7,7 @@
 src/apiron/__init__.py
 src/apiron/client.py
 src/apiron/exceptions.py
+src/apiron/py.typed
 src/apiron.egg-info/PKG-INFO
 src/apiron.egg-info/SOURCES.txt
 src/apiron.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/src/apiron.egg-info/requires.txt 
new/apiron-6.1.0/src/apiron.egg-info/requires.txt
--- old/apiron-6.0.0.post1/src/apiron.egg-info/requires.txt     2021-06-21 
16:16:53.000000000 +0200
+++ new/apiron-6.1.0/src/apiron.egg-info/requires.txt   2021-12-22 
18:00:57.000000000 +0100
@@ -2,6 +2,6 @@
 
 [docs]
 importlib-metadata<5,>=4.5.0
-sphinx<4,>=3.0
+sphinx<5,>=4.3.2
 sphinx-autodoc-typehints<2,>=1.12.0
 sphinx-autobuild>=2021.3.14
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/apiron-6.0.0.post1/tests/test_client.py 
new/apiron-6.1.0/tests/test_client.py
--- old/apiron-6.0.0.post1/tests/test_client.py 2021-06-21 16:16:46.000000000 
+0200
+++ new/apiron-6.1.0/tests/test_client.py       2021-12-22 18:00:44.000000000 
+0100
@@ -149,8 +149,8 @@
         proxies=service.proxies,
     )
 
-    mock_logger.info.assert_any_call("GET http://host1.biz/foo/";)
-    mock_logger.info.assert_any_call("200 http://host1.biz/foo/";)
+    mock_logger.info.assert_any_call("%s %s", "GET", "http://host1.biz/foo/";)
+    mock_logger.info.assert_any_call("%d %s%s", 200, "http://host1.biz/foo/";, 
"")
 
     mock_endpoint.default_method = "POST"
     request.method = "POST"
@@ -165,8 +165,8 @@
         proxies=service.proxies,
     )
 
-    mock_logger.info.assert_any_call("GET http://host1.biz/foo/";)
-    mock_logger.info.assert_any_call("200 http://host1.biz/foo/";)
+    mock_logger.info.assert_any_call("%s %s", "GET", "http://host1.biz/foo/";)
+    mock_logger.info.assert_any_call("%d %s%s", 200, "http://host1.biz/foo/";, 
"")
 
     request.method = "PUT"
 

Reply via email to