Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-smbprotocol"

Sat Oct  8 01:25:58 2022 rev:15 rq:1008844 version:1.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes    
2021-11-21 23:52:38.162165128 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-smbprotocol.new.2275/python-smbprotocol.changes
  2022-10-08 01:26:26.698397540 +0200
@@ -1,0 +2,7 @@
+Fri Oct  7 16:09:45 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to version 1.9.0 
+  * Fix connection cache reuse for some DFS referral requests
+  * Add smbclient.path to the smbclient import allowing import smbclient; 
smbclient.path.func()
+
+-------------------------------------------------------------------

Old:
----
  python-smbprotocol-1.8.3.tar.gz

New:
----
  python-smbprotocol-1.9.0.tar.gz

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

Other differences:
------------------
++++++ python-smbprotocol.spec ++++++
--- /var/tmp/diff_new_pack.Nq083d/_old  2022-10-08 01:26:27.186398658 +0200
+++ /var/tmp/diff_new_pack.Nq083d/_new  2022-10-08 01:26:27.190398668 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-smbprotocol
 #
-# Copyright (c) 2021 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,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-smbprotocol
-Version:        1.8.3
+Version:        1.9.0
 Release:        0
 Summary:        SMBv2/v3 client for Python 2 and 3
 License:        MIT

++++++ python-smbprotocol-1.8.3.tar.gz -> python-smbprotocol-1.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smbprotocol-1.8.3/CHANGELOG.md 
new/smbprotocol-1.9.0/CHANGELOG.md
--- old/smbprotocol-1.8.3/CHANGELOG.md  2021-11-18 22:10:25.000000000 +0100
+++ new/smbprotocol-1.9.0/CHANGELOG.md  2022-01-31 22:19:14.000000000 +0100
@@ -1,5 +1,11 @@
 # Changelog
 
+## 1.9.0 - 2022-02-01
+
+* Fix connection cache reuse for some DFS referral requests
+* Add `smbclient.path` to the `smbclient` import allowing `import smbclient; 
smbclient.path.func()`
+
+
 ## 1.8.3 - 2021-11-19
 
 * Set `additional_information` field in `SMB2SetInfoRequest` to a flags field 
rather than a single enum as per protocol docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smbprotocol-1.8.3/setup.py 
new/smbprotocol-1.9.0/setup.py
--- old/smbprotocol-1.8.3/setup.py      2021-11-18 22:10:25.000000000 +0100
+++ new/smbprotocol-1.9.0/setup.py      2022-01-31 22:19:14.000000000 +0100
@@ -18,7 +18,7 @@
 
 setup(
     name='smbprotocol',
-    version='1.8.3',
+    version='1.9.0',
     packages=['smbclient', 'smbprotocol'],
     install_requires=[
         'cryptography>=2.0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smbprotocol-1.8.3/smbclient/__init__.py 
new/smbprotocol-1.9.0/smbclient/__init__.py
--- old/smbprotocol-1.8.3/smbclient/__init__.py 2021-11-18 22:10:25.000000000 
+0100
+++ new/smbprotocol-1.9.0/smbclient/__init__.py 2022-01-31 22:19:14.000000000 
+0100
@@ -3,6 +3,7 @@
 # MIT License (see LICENSE or https://opensource.org/licenses/MIT)
 
 import logging
+import smbclient.path
 
 from smbclient._pool import (
     ClientConfig,
@@ -51,12 +52,5 @@
     XATTR_REPLACE,
 )
 
-try:
-    from logging import NullHandler
-except ImportError:  # pragma: no cover
-    class NullHandler(logging.Handler):
-        def emit(self, record):
-            pass
-
 logger = logging.getLogger(__name__)
-logger.addHandler(NullHandler())
+logger.addHandler(logging.NullHandler())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/smbprotocol-1.8.3/smbclient/_io.py 
new/smbprotocol-1.9.0/smbclient/_io.py
--- old/smbprotocol-1.8.3/smbclient/_io.py      2021-11-18 22:10:25.000000000 
+0100
+++ new/smbprotocol-1.9.0/smbclient/_io.py      2022-01-31 22:19:14.000000000 
+0100
@@ -159,7 +159,7 @@
     if not info:
         raise ObjectPathNotFound()
 
-    connection_kwargs = getattr(raw_io, '_%s__kwargs' % type(raw_io).__name__, 
{})
+    connection_kwargs = getattr(raw_io, '_%s__kwargs' % SMBRawIO.__name__, {})
 
     for target in info:
         new_path = raw_path.replace(info.dfs_path, target.target_path, 1)

Reply via email to