14
0
Go to file
Ana Guerrero 36c11f4809 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
2024-03-22 14:20:30 +00:00
2024-03-21 17:35:34 +00:00
2024-03-21 17:35:34 +00:00
Description
No description provided
100 KiB
Languages
RPM Spec 100%