forked from pool/python-smbprotocol
Accepting request 1160444 from devel:languages:python
- update to 1.13.0: * Added the property `smb_info` on `SMBDirEntry` which returns a named tuple `SMBDirEntryInformation` containing metadata already retrieved in the `scandir` operation. * This avoid having to call `stat()` to retrieve data like the file attributes or datetime fields that is already available * Ensure `DateTimeField` values are set to `UTC` timezones as FILETIME values are in UTC * Stop using `datetime.datetime.utcfromtimestamp()` as it has been deprecated * Added default timeout for disconnect operations for 60 seconds to ensure the process doesn't hang forever when closing a broken connection * `smbprotocol.connection.Connection.disconnect()` now waits (with a timeout) for the message processing threads to be stopped before returning. * Do not set the SMB SessionId and TreeId in the headers to `0xFFFFFFFF` for related compound requests + Ensures the source file for `shutil.copyfile` is opened with `share_access="r"` for better compatibility with files already opened by something else + Remove endless authentication loop when the context is complete and no more input messages are needed - Update to version 1.10.1 - python-six is not required - Update to version 1.9.0 OBS-URL: https://build.opensuse.org/request/show/1160444 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-smbprotocol?expand=0&rev=21
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:238dead14b4b9f60291ffddb142133120c2d1d07a51e04c65b1d4ae1b61ea99c
|
|
||||||
size 188435
|
|
3
python-smbprotocol-1.13.0.tar.gz
Normal file
3
python-smbprotocol-1.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0c16c1502d269369f7b45a29ed331fd7bbf6319022b13b5b7a11609b477b8f79
|
||||||
|
size 190586
|
@@ -1,3 +1,30 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 21 17:34:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.13.0:
|
||||||
|
* Added the property `smb_info` on `SMBDirEntry` which returns
|
||||||
|
a named tuple `SMBDirEntryInformation` containing metadata
|
||||||
|
already retrieved in the `scandir` operation.
|
||||||
|
* This avoid having to call `stat()` to retrieve data like the
|
||||||
|
file attributes or datetime fields that is already available
|
||||||
|
* Ensure `DateTimeField` values are set to `UTC` timezones as
|
||||||
|
FILETIME values are in UTC
|
||||||
|
* Stop using `datetime.datetime.utcfromtimestamp()` as it has
|
||||||
|
been deprecated
|
||||||
|
* Added default timeout for disconnect operations for 60
|
||||||
|
seconds to ensure the process doesn't hang forever when
|
||||||
|
closing a broken connection
|
||||||
|
* `smbprotocol.connection.Connection.disconnect()` now waits
|
||||||
|
(with a timeout) for the message processing threads to be
|
||||||
|
stopped before returning.
|
||||||
|
* Do not set the SMB SessionId and TreeId in the headers to
|
||||||
|
`0xFFFFFFFF` for related compound requests
|
||||||
|
+ Ensures the source file for `shutil.copyfile` is opened
|
||||||
|
with `share_access="r"` for better compatibility with files
|
||||||
|
already opened by something else
|
||||||
|
+ Remove endless authentication loop when the context is
|
||||||
|
complete and no more input messages are needed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 24 13:00:19 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
Fri Nov 24 13:00:19 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
@@ -22,7 +49,7 @@ Tue Sep 5 21:56:00 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 5 13:36:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Mon Dec 5 13:36:15 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 1.10.1
|
- Update to version 1.10.1
|
||||||
* Raise the original BadNetworkName error if the server doesn't indicate it supports DFS or
|
* Raise the original BadNetworkName error if the server doesn't indicate it supports DFS or
|
||||||
FSDriverRequired was raised trying to lookup the DFS information - #196
|
FSDriverRequired was raised trying to lookup the DFS information - #196
|
||||||
* Fix pre auth session id tracking if the intermediate token messages return 0 as the session id
|
* Fix pre auth session id tracking if the intermediate token messages return 0 as the session id
|
||||||
@@ -40,12 +67,12 @@ Sun Nov 6 20:32:55 UTC 2022 - Martin Hauke <mardnh@gmx.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 21 13:19:59 UTC 2022 - pgajdos@suse.com
|
Fri Oct 21 13:19:59 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
- python-six is not required
|
- python-six is not required
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 7 16:09:45 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Fri Oct 7 16:09:45 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 1.9.0
|
- Update to version 1.9.0
|
||||||
* Fix connection cache reuse for some DFS referral requests
|
* Fix connection cache reuse for some DFS referral requests
|
||||||
* Add smbclient.path to the smbclient import allowing import smbclient; smbclient.path.func()
|
* Add smbclient.path to the smbclient import allowing import smbclient; smbclient.path.func()
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-smbprotocol
|
# spec file for package python-smbprotocol
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-smbprotocol
|
Name: python-smbprotocol
|
||||||
Version: 1.12.0
|
Version: 1.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: SMBv2/v3 client for Python 2 and 3
|
Summary: SMBv2/v3 client for Python 2 and 3
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Reference in New Issue
Block a user