Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-osc-tiny for openSUSE:Factory
checked in at 2024-05-22 21:32:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-osc-tiny (Old)
and /work/SRC/openSUSE:Factory/.python-osc-tiny.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-osc-tiny"
Wed May 22 21:32:15 2024 rev:33 rq:1175736 version:0.9.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-osc-tiny/python-osc-tiny.changes
2024-05-13 17:59:07.836192877 +0200
+++
/work/SRC/openSUSE:Factory/.python-osc-tiny.new.1880/python-osc-tiny.changes
2024-05-22 21:32:44.714567797 +0200
@@ -1,0 +2,7 @@
+Wed May 22 09:08:50 UTC 2024 - Gabriel Niebler <[email protected]>
+
+- Release 0.9.1
+ * Staging extension: fix the return value of set_status_report() (fixes #158)
+ * Document OBS release process
+
+-------------------------------------------------------------------
Old:
----
osc-tiny-0.9.0.tar.gz
New:
----
osc-tiny-0.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-osc-tiny.spec ++++++
--- /var/tmp/diff_new_pack.aXf9aA/_old 2024-05-22 21:32:45.490596180 +0200
+++ /var/tmp/diff_new_pack.aXf9aA/_new 2024-05-22 21:32:45.494596326 +0200
@@ -19,7 +19,7 @@
%define skip_python2 1
%{?sle15allpythons}
Name: python-osc-tiny
-Version: 0.9.0
+Version: 0.9.1
Release: 0
Summary: Client API for openSUSE BuildService
License: MIT
++++++ osc-tiny-0.9.0.tar.gz -> osc-tiny-0.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/PKG-INFO new/osc-tiny-0.9.1/PKG-INFO
--- old/osc-tiny-0.9.0/PKG-INFO 2024-04-22 17:26:59.603191600 +0200
+++ new/osc-tiny-0.9.1/PKG-INFO 2024-05-22 10:58:11.398337600 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: osc-tiny
-Version: 0.9.0
+Version: 0.9.1
Summary: Client API for openSUSE BuildService
Home-page: https://github.com/SUSE/osc-tiny
Author: Andreas Hasenkopf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/osc_tiny.egg-info/PKG-INFO
new/osc-tiny-0.9.1/osc_tiny.egg-info/PKG-INFO
--- old/osc-tiny-0.9.0/osc_tiny.egg-info/PKG-INFO 2024-04-22
17:26:59.000000000 +0200
+++ new/osc-tiny-0.9.1/osc_tiny.egg-info/PKG-INFO 2024-05-22
10:58:11.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: osc-tiny
-Version: 0.9.0
+Version: 0.9.1
Summary: Client API for openSUSE BuildService
Home-page: https://github.com/SUSE/osc-tiny
Author: Andreas Hasenkopf
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/osctiny/__init__.py
new/osc-tiny-0.9.1/osctiny/__init__.py
--- old/osc-tiny-0.9.0/osctiny/__init__.py 2024-04-22 17:26:55.000000000
+0200
+++ new/osc-tiny-0.9.1/osctiny/__init__.py 2024-05-22 10:58:07.000000000
+0200
@@ -6,4 +6,4 @@
__all__ = ['Osc', 'bs_requests', 'buildresults', 'comments', 'packages',
'projects', 'search', 'users']
-__version__ = "0.9.0"
+__version__ = "0.9.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/osctiny/extensions/staging.py
new/osc-tiny-0.9.1/osctiny/extensions/staging.py
--- old/osc-tiny-0.9.0/osctiny/extensions/staging.py 2024-04-22
17:26:55.000000000 +0200
+++ new/osc-tiny-0.9.1/osctiny/extensions/staging.py 2024-05-22
10:58:07.000000000 +0200
@@ -377,8 +377,7 @@
data=report.asxml()
)
- parsed = self.osc.get_objectified_xml(response)
- if response.status_code == 200 and parsed.get("code") == "ok":
+ if response.status_code == 200:
return True
return False
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/osctiny/tests/test_staging.py
new/osc-tiny-0.9.1/osctiny/tests/test_staging.py
--- old/osc-tiny-0.9.0/osctiny/tests/test_staging.py 2024-04-22
17:26:55.000000000 +0200
+++ new/osc-tiny-0.9.1/osctiny/tests/test_staging.py 2024-05-22
10:58:07.000000000 +0200
@@ -1,5 +1,6 @@
import re
+from lxml import etree
import responses
from osctiny.models.staging import ExcludedRequest, CheckState, CheckReport
@@ -234,7 +235,7 @@
self.assertEqual(elem.short_description.text,
report.short_description)
self.assertEqual(elem.url.text, report.url)
- return 200, {}, "<status code=\"ok\"/>"
+ return 200, {}, etree.tostring(report.asxml()).decode()
responses.add_callback(
method="POST",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/osc-tiny-0.9.0/setup.py new/osc-tiny-0.9.1/setup.py
--- old/osc-tiny-0.9.0/setup.py 2024-04-22 17:26:55.000000000 +0200
+++ new/osc-tiny-0.9.1/setup.py 2024-05-22 10:58:07.000000000 +0200
@@ -26,7 +26,7 @@
setup(
name='osc-tiny',
- version='0.9.0',
+ version='0.9.1',
description='Client API for openSUSE BuildService',
long_description=long_description,
long_description_content_type="text/markdown",