Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WorkspacePath to support Python 3.12 #122

Merged
merged 24 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7bbe5c4
Future self-type annotations.
asnare Jul 9, 2024
261c67c
Enable type checking for the existing tests and fix problems.
asnare Jul 9, 2024
25c50c4
Update internals to (mostly) work across Python 3.10-3.12, and test m…
asnare Jul 9, 2024
8065bc5
Update project metadata to reflect Python 3.12 support.
asnare Jul 9, 2024
f9fc5ab
Fix typo.
asnare Jul 9, 2024
4ec3ff7
Fix broken super() call.
asnare Jul 9, 2024
39c80db
Formatting.
asnare Jul 9, 2024
c8fab61
Adjust code to satisfy the linter.
asnare Jul 9, 2024
4c7ef40
Suppress linting warnings that are unavoidable, or where avoidance is…
asnare Jul 9, 2024
df39660
Mark some code where a decision is pending.
asnare Jul 9, 2024
7a1e450
Factor out init logic into a method.
asnare Jul 10, 2024
b536d3f
Early return.
asnare Jul 10, 2024
af2f118
Support for /-style building of paths.
asnare Jul 10, 2024
afad4d7
Early return.
asnare Jul 10, 2024
f880a4e
Replace relative_to/is_relative_to implementation to use our internals.
asnare Jul 10, 2024
e66804e
Remove methods that only delegate to the superclass.
asnare Jul 10, 2024
c89b4fa
Drop type annotations to reduce changes in this PR.
asnare Jul 10, 2024
b94ad64
Whitespace.
asnare Jul 10, 2024
fde8a7f
Revert to original .suffix implementation.
asnare Jul 10, 2024
1f5f138
Move test to site of prior test with the same name.
asnare Jul 10, 2024
5cf0b71
Avoid monkey-patching the class under test.
asnare Jul 10, 2024
3c970d9
Adjust text fixture to induce behaviour via constructor-injected mock.
asnare Jul 10, 2024
1f53446
Document why __fspath__() isn't supported.
asnare Jul 10, 2024
4c17714
Update `WorkspaceClient` to support globbing (#125)
asnare Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading