Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wdc --helpfails before argument parsing on Python 3.14 because the script importsdistutils.util.strtobool. Fixing that exposes further startup failures:argcompleteis undeclared, andWebDavException,NotConnection, and__version__are no longer exported bywebdav3.client.This replaces the distutils helper, imports exceptions from their defining module, and reads the installed distribution version through importlib metadata (with a conditional backport dependency for Python <3.8). Shell completion becomes optional and is available through the documented
cliextra. It also fixes an invalid regex escape reported by newer Python versions.Regression tests cover help/version startup with and without completion, the installed executable, and boolean parsing. Python 3.14 is added to the existing CI matrix. The existing
requires-python = ">=3.6"constraint is preserved.Validation on Python 3.14.8:
wdc --help,wdc -h, andwdc --versionall exited 0 with no stderr.The server integration suite requires the WebDAV Docker container and was not run locally because Docker is not accessible. The existing CI jobs and the new Python 3.14 job run that suite.