databricks-cli/bundle/python
Andrew Nester 783e05c939
Do not treat empty path as a local path (#1717)
## Changes
Fixes issue introduced here https://github.com/databricks/cli/pull/1699
where PyPi packages were treated as local library.

The reason is that `libraryPath` returns an empty string as a path for
PyPi packages and then `IsLibraryLocal` treated empty string as local
path.

Both of these functions are fixed in this PR.

## Tests
Added regression test
2024-08-26 10:03:56 +00:00
..
conditional_transform_test.go Add paths field to bundle sync configuration (#1694) 2024-08-21 15:33:25 +00:00
transform.go Return early in bundle destroy if no deployment exists (#1581) 2024-07-09 15:08:38 +00:00
transform_test.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
warning.go Expand and upload local wheel libraries for all task types (#1649) 2024-08-05 14:44:23 +00:00
warning_test.go Do not treat empty path as a local path (#1717) 2024-08-26 10:03:56 +00:00