Skip to content

Update smbprotocol requirement from >=1.10 to >=1.16.1#27

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/smbprotocol-gte-1.16.1
Open

Update smbprotocol requirement from >=1.10 to >=1.16.1#27
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/smbprotocol-gte-1.16.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on smbprotocol to permit the latest version.

Changelog

Sourced from smbprotocol's changelog.

1.16.1 - 2026-04-02

  • Fix memory leaks in Structure and subclasses by converting lambda default values to static methods and using weakref.proxy to prevent circular references
  • Fix smbclient.shutil.copyfile to fallback to client-side copy when server-side SMB copy is not supported (STATUS_NOT_SUPPORTED)
  • Fix create context offset calculation when opening a file or directory
  • Fix potential deadlock when worker thread attempts to disconnect and join itself
  • Handle ECONNABORTED socket error during connection teardown

1.16.0 - 2026-02-09

  • Drop support for Python 3.8, minimum version is now 3.9
  • Exposed auth_protocol and require_signing to the various smbclient kwargs. This aligns the kwargs with the ones that can be provided to register_session directly
  • Optimize SMBDirEntry.is_symlink(), returned by smbclient.scandir() to no longer require any extra SMB calls, this object is returned by APIs such as `
  • Raise exception when receiving an SMB STATUS_STOPPED_ON_SYMLINK response that contains no reparse buffer data
    • Some SMB servers like macOS do not return this information
  • Fix up smbclient.shutil.copy and smbclient.shutil.copy2 to properly pass along the connection kwargs to the internal copy call

1.15.0 - 2024-11-12

  • Update session id lookup logic to comply with MS-SMB2 spec
  • Remove connection from global connection cache even if failing to close it
  • Added smbclient.liststreams as a way to list the Alternate Data Streams in a file/directory
  • Added official support for Python 3.13

1.14.0 - 2024-08-26

  • Dropped support for Python 3.7
  • SMBDirEntryInformation.last_write_time is now annotated as datetime.datetime. Previously, it was datetime.date. jborean93/smbprotocol#279

1.13.0 - 2024-03-21

  • 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

1.12.0 - 2023-11-09

1.11.0 - 2023-09-06

  • Fix up pre authenticated session id lookups that were failing with Linux ksmbd
  • Removes logging.NullHandler() being set in the root smbprotocol namespace
  • Adds basic support for remote to local and vice versa file operations with smbclient.shutil.copytree

... (truncated)

Commits
  • 7323426 Prepare for v1.16.1 release (#341)
  • ab921a7 Handle abort, avoid joining self (#323)
  • d83a93c Fix copyfile fallback when server-side SMB copy is unsupported (#337)
  • d69f7e8 Fix Memory Leaks in Structure and Structure Subclasses (#340)
  • 54389a2 Fix create_context offset when opening a dir/file (#338)
  • cd7d206 Prepare for v1.16.0 release
  • a4ab008 Fix copy/copy2 kwargs handling (#331)
  • 236d3cd Fix no symlink buffer on symlink open (#334)
  • 5e56171 Add changelog entry for kwarg alignment
  • d74570f Propagate missing session params (#332)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [smbprotocol](https://github.com/jborean93/smbprotocol) to permit the latest version.
- [Changelog](https://github.com/jborean93/smbprotocol/blob/master/CHANGELOG.md)
- [Commits](jborean93/smbprotocol@v1.10.0...v1.16.1)

---
updated-dependencies:
- dependency-name: smbprotocol
  dependency-version: 1.16.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants