databricks-cli/bundle/artifacts
Denis Bilenko 2fee243586
Fix finding Python within virtualenv on Windows (#2034)
## Changes
Simplify logic for selecting Python to run when calculating default whl
build command: "python" on Windows and "python3" everywhere.

Python installers from python.org do not install python3.exe. In
virtualenv there is no python3.exe.

## Tests
Added new unit tests to create real venv with uv and simulate activation
by prepending venv/bin to PATH.
2024-12-20 07:45:32 +00:00
..
whl Fix finding Python within virtualenv on Windows (#2034) 2024-12-20 07:45:32 +00:00
all.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
artifacts.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00
autodetect.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
build.go Fix glob expansion after running a generic build command (#1662) 2024-08-07 14:47:03 +00:00
expand_globs.go Enable gofumpt and goimports in golangci-lint (#1999) 2024-12-12 10:28:42 +01:00
expand_globs_test.go Rename `RootPath` -> `BundleRootPath` (#1792) 2024-09-27 10:03:05 +00:00
infer.go Return `diag.Diagnostics` from mutators (#1305) 2024-03-25 14:18:47 +00:00
prepare.go Rename `RootPath` -> `BundleRootPath` (#1792) 2024-09-27 10:03:05 +00:00
upload.go Add DABs support for Unity Catalog volumes (#1762) 2024-12-02 21:18:07 +00:00