-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update custom
Path
support for python 3.13 (#161)
This pull request updates the project so that all tests pass with python 3.13. Changes include: - ~Refactoring the `paths` module into a few submodules. This is a source-compatible change that is not intended to introduce any behavioural changes.~ - Adding in the new ~`databrickspath`~`_posixpath` submodule, so that `PosixPath` can be treated as distinct from `DBFSPath` and `WorkspacePath`. - Marking the project as supporting python 3.13. - Including python 3.13 in the build/CI version matrix. ~An incidental linting error was also fixed.~(Now on #167.)
- Loading branch information
Showing
4 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
"""Databricks' path specification, in the same vein as :module:`posixpath` and :module:`ntpath`. | ||
Paths are Posix-like, but we don't use the builtin :module:`posixpath` directly because as of Python 3.13 the module | ||
itself is part of a path's identity for the purposes of comparison. | ||
""" | ||
|
||
from posixpath import join, sep | ||
|
||
__all__ = ("join", "sep") |
This file contains 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