Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rt for openSUSE:Factory 
checked in at 2023-07-19 19:10:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rt (Old)
 and      /work/SRC/openSUSE:Factory/.python-rt.new.5570 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rt"

Wed Jul 19 19:10:17 2023 rev:17 rq:1099329 version:3.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rt/python-rt.changes      2022-12-03 
12:48:33.038125787 +0100
+++ /work/SRC/openSUSE:Factory/.python-rt.new.5570/python-rt.changes    
2023-07-19 19:10:27.400503907 +0200
@@ -1,0 +2,7 @@
+Tue Jul 18 18:39:29 UTC 2023 - Antonio Teixeira <antonio.teixe...@suse.com>
+
+- Update to version 3.0.6:
+  * Added support for specifying custom fields on user creation/edit (#82).
+  * Fixed bug in rest1 (#86).
+
+-------------------------------------------------------------------

Old:
----
  rt-3.0.4.tar.gz

New:
----
  rt-3.0.6.tar.gz

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

Other differences:
------------------
++++++ python-rt.spec ++++++
--- /var/tmp/diff_new_pack.tFyOOg/_old  2023-07-19 19:10:27.984507323 +0200
+++ /var/tmp/diff_new_pack.tFyOOg/_new  2023-07-19 19:10:27.988507347 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-rt
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 # Tests require internet connection
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rt
-Version:        3.0.4
+Version:        3.0.6
 Release:        0
 Summary:        Python interface to Request Tracker API
 License:        GPL-3.0-only

++++++ rt-3.0.4.tar.gz -> rt-3.0.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-3.0.4/CHANGELOG.md new/rt-3.0.6/CHANGELOG.md
--- old/rt-3.0.4/CHANGELOG.md   2022-11-08 01:15:08.000000000 +0100
+++ new/rt-3.0.6/CHANGELOG.md   2023-06-21 17:48:45.000000000 +0200
@@ -3,6 +3,14 @@
 
 This project adheres to [Semantic 
Versioning](https://semver.org/spec/v2.0.0.html).
 
+## [v3.0.6], 2023-06-21
+### Added
+- Fixed bug in rest1 (#86)
+
+## [v3.0.5], 2023-02-02
+### Added
+- Added support for specifying custom fields on user creation/edit (#82).
+
 ## [v3.0.4], 2022-11-08
 ### Fixes
 - Workaround for parsing issues with tickets with only 1 attachment (#80), due 
to probably an upstream bug.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-3.0.4/PKG-INFO new/rt-3.0.6/PKG-INFO
--- old/rt-3.0.4/PKG-INFO       2022-11-08 01:15:23.136767600 +0100
+++ new/rt-3.0.6/PKG-INFO       2023-06-21 17:49:00.058401000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: rt
-Version: 3.0.4
+Version: 3.0.6
 Summary: Python interface to Request Tracker API
 Author-email: Georges Toth <georges.t...@govcert.etat.lu>
 License: GNU General Public License v3 (GPLv3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-3.0.4/rt/rest1.py new/rt-3.0.6/rt/rest1.py
--- old/rt-3.0.4/rt/rest1.py    2022-11-08 01:15:08.000000000 +0100
+++ new/rt-3.0.6/rt/rest1.py    2023-06-21 17:48:45.000000000 +0200
@@ -268,7 +268,7 @@
         if self.RE_PATTERNS['syntax_error_pattern'].match(msg[0]):
             raise APISyntaxError(msg[2][2:] if len(msg) > 2 else 'Syntax 
error.')
         if self.RE_PATTERNS['bad_request_pattern'].match(msg[0]):
-            raise BadRequestError(msg[3] if len(msg) > 2 else 'Bad request.')
+            raise BadRequestError(msg[2] if len(msg) > 2 else 'Bad request.')
 
     @staticmethod
     def __normalize_list(msg: typing.Union[str, typing.Sequence[str]]) -> 
typing.Sequence[str]:
@@ -423,8 +423,8 @@
             # we will not raise the error but just return False to indicate
             # invalid credentials
             return False
-        else:
-            return bool(self.login_result)
+
+        return bool(self.login_result)
 
     def logout(self) -> bool:
         """ Logout of user.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-3.0.4/rt/rest2.py new/rt-3.0.6/rt/rest2.py
--- old/rt-3.0.4/rt/rest2.py    2022-11-08 01:15:08.000000000 +0100
+++ new/rt-3.0.6/rt/rest2.py    2023-06-21 17:48:45.000000000 +0200
@@ -979,7 +979,7 @@
                         'MobilePhone', 'PagerPhone', 'ContactInfo', 'Comments',
                         'Signature', 'Lang', 'EmailEncoding', 'WebEncoding',
                         'ExternalContactInfoId', 'ContactInfoSystem', 
'ExternalAuthId',
-                        'AuthSystem', 'Privileged', 'Disabled'}
+                        'AuthSystem', 'Privileged', 'Disabled', 'CustomFields'}
         invalid_fields = []
 
         post_data = {'Name': user_name,
@@ -1057,7 +1057,7 @@
                         'MobilePhone', 'PagerPhone', 'ContactInfo', 'Comments',
                         'Signature', 'Lang', 'EmailEncoding', 'WebEncoding',
                         'ExternalContactInfoId', 'ContactInfoSystem', 
'ExternalAuthId',
-                        'AuthSystem', 'Privileged', 'Disabled'}
+                        'AuthSystem', 'Privileged', 'Disabled', 'CustomFields'}
         invalid_fields = []
 
         post_data = {}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rt-3.0.4/rt.egg-info/PKG-INFO 
new/rt-3.0.6/rt.egg-info/PKG-INFO
--- old/rt-3.0.4/rt.egg-info/PKG-INFO   2022-11-08 01:15:23.000000000 +0100
+++ new/rt-3.0.6/rt.egg-info/PKG-INFO   2023-06-21 17:49:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: rt
-Version: 3.0.4
+Version: 3.0.6
 Summary: Python interface to Request Tracker API
 Author-email: Georges Toth <georges.t...@govcert.etat.lu>
 License: GNU General Public License v3 (GPLv3)

Reply via email to