Skip to content

Commit

Permalink
Update WorkspacePath to support Python 3.12 (#122)
Browse files Browse the repository at this point in the history
This PR relates to #120 and updates the `WorkspacePath` implementation
so that it also works under Python 3.12, in addition to Python 3.10 and
Python 3.11.

Changes include:

- Replacing most of the internal implementation to ensure that the
superclass implementations aren't used unless we know they're safe.
(They rely on implementations that changed dramatically between 3.11 and
3.12 and are incompatible with each other.)
 - Additional tests to ensure that the public interfaces are tested.
  • Loading branch information
asnare authored Jul 12, 2024
1 parent a4cf2df commit 3831e28
Show file tree
Hide file tree
Showing 3 changed files with 1,188 additions and 252 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = ["databricks-sdk>=0.16.0"]
Expand Down
Loading

0 comments on commit 3831e28

Please sign in to comment.