databricks-cli/bundle/artifacts
Serge Smertin 7d0f170eee
Added `python.DetectInterpreters` and other utils (#805)
This PR adds a few utilities related to Python interpreter detection:

- `python.DetectInterpreters` to detect all Python versions available in
`$PATH` by executing every matched binary name with `--version` flag.
- `python.DetectVirtualEnvPath` to detect if there's any child virtual
environment in `src` directory
- `python.DetectExecutable` to detect if there's python3 installed
either by `which python3` command or by calling
`python.DetectInterpreters().AtLeast("v3.8")`

To be merged after https://github.com/databricks/cli/pull/804, as one of
the steps to get https://github.com/databricks/cli/pull/637 in, as
previously discussed.
2023-10-03 10:47:09 +00:00
..
whl Added `python.DetectInterpreters` and other utils (#805) 2023-10-03 10:47:09 +00:00
all.go Upgraded Go version to 1.21 (#664) 2023-08-15 13:50:40 +00:00
artifacts.go Fixed artifact file uploading on Windows and wheel execution on DBR 13.3 (#722) 2023-08-31 14:10:32 +00:00
artifacts_test.go Apply Python wheel trampoline if workspace library is used (#755) 2023-09-08 13:45:21 +00:00
autodetect.go Allow referencing local Python wheels without artifacts section defined (#703) 2023-08-28 16:29:04 +00:00
build.go Auto detect Python wheel packages and infer build command (#603) 2023-07-26 10:07:26 +00:00
infer.go Allow referencing local Python wheels without artifacts section defined (#703) 2023-08-28 16:29:04 +00:00
upload.go Added support for artifacts building for bundles (#583) 2023-07-25 13:35:08 +02:00