Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-rethinkdb for 
openSUSE:Factory checked in at 2022-10-08 01:26:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rethinkdb (Old)
 and      /work/SRC/openSUSE:Factory/.python-rethinkdb.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-rethinkdb"

Sat Oct  8 01:26:07 2022 rev:5 rq:1008871 version:2.4.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rethinkdb/python-rethinkdb.changes        
2022-04-14 17:26:19.687323885 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-rethinkdb.new.2275/python-rethinkdb.changes  
    2022-10-08 01:26:33.010412016 +0200
@@ -1,0 +2,8 @@
+Fri Oct  7 15:02:43 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- version update to 2.4.9 
+  * No breaking change.
+  * #276 Fix dump command password reading by @besworks
+  * #253 Fix Fix deprecated import collections by @metal3d
+
+-------------------------------------------------------------------

Old:
----
  rethinkdb-2.4.8.tar.gz

New:
----
  rethinkdb-2.4.9.tar.gz

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

Other differences:
------------------
++++++ python-rethinkdb.spec ++++++
--- /var/tmp/diff_new_pack.b6Quoj/_old  2022-10-08 01:26:33.458413044 +0200
+++ /var/tmp/diff_new_pack.b6Quoj/_new  2022-10-08 01:26:33.462413053 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-rethinkdb
-Version:        2.4.8
+Version:        2.4.9
 Release:        0
 Summary:        Python driver library for the RethinkDB database server
 License:        Apache-2.0

++++++ rethinkdb-2.4.8.tar.gz -> rethinkdb-2.4.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rethinkdb-python-2.4.8/rethinkdb/ast.py 
new/rethinkdb-python-2.4.9/rethinkdb/ast.py
--- old/rethinkdb-python-2.4.8/rethinkdb/ast.py 2020-12-05 21:48:53.000000000 
+0100
+++ new/rethinkdb-python-2.4.9/rethinkdb/ast.py 2022-05-12 09:26:54.000000000 
+0200
@@ -20,13 +20,21 @@
 
 import base64
 import binascii
-import collections
 import datetime
 import json
+import sys
 import threading
 
 from rethinkdb import ql2_pb2
-from rethinkdb.errors import QueryPrinter, ReqlDriverCompileError, 
ReqlDriverError, T
+from rethinkdb.errors import (QueryPrinter, ReqlDriverCompileError,
+                              ReqlDriverError, T)
+
+if sys.version_info < (3, 3):
+    # python < 3.3 uses collections
+    import collections
+else:
+    # but collections is deprecated from python >= 3.3
+    import collections.abc as collections
 
 P_TERM = ql2_pb2.Term.TermType
 
@@ -74,7 +82,7 @@
 
 def expr(val, nesting_depth=20):
     """
-        Convert a Python primitive into a RQL primitive value
+    Convert a Python primitive into a RQL primitive value
     """
     if not isinstance(nesting_depth, int):
         raise ReqlDriverCompileError("Second argument to `r.expr` must be a 
number.")
@@ -759,7 +767,7 @@
 
 class ReQLEncoder(json.JSONEncoder):
     """
-        Default JSONEncoder subclass to handle query conversion.
+    Default JSONEncoder subclass to handle query conversion.
     """
 
     def __init__(self):
@@ -779,7 +787,7 @@
 
 class ReQLDecoder(json.JSONDecoder):
     """
-        Default JSONDecoder subclass to handle pseudo-type conversion.
+    Default JSONDecoder subclass to handle pseudo-type conversion.
     """
 
     def __init__(self, reql_format_opts=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rethinkdb-python-2.4.8/rethinkdb/utils_common.py 
new/rethinkdb-python-2.4.9/rethinkdb/utils_common.py
--- old/rethinkdb-python-2.4.8/rethinkdb/utils_common.py        2020-12-05 
21:48:53.000000000 +0100
+++ new/rethinkdb-python-2.4.9/rethinkdb/utils_common.py        2022-05-12 
09:26:54.000000000 +0200
@@ -308,7 +308,7 @@
 
                     values.ensure_value(dest, {})[self.metavar.lower()] = value
                 elif action == "get_password":
-                    values[dest] = getpass.getpass("Password for `admin`: ")
+                    values.ensure_value('password', getpass.getpass("Password 
for `admin`: "))
                 else:
                     super(CommonOptionChecker, self).take_action(
                         action, dest, opt, value, values, parser

Reply via email to