mirror of https://github.com/databricks/cli.git
44902fa350
## Changes Make `pydabs/venv_path` optional. When not specified, CLI detects the Python interpreter using `python.DetectExecutable`, the same way as for `artifacts`. `python.DetectExecutable` works correctly if a virtual environment is activated or `python3` is available on PATH through other means. Extract the venv detection code from PyDABs into `libs/python/detect`. This code will be used when we implement the `python/venv_path` section in `databricks.yml`. ## Tests Unit tests and manually --------- Co-authored-by: Pieter Noordhuis <pcnoordhuis@gmail.com> |
||
---|---|---|
.. | ||
testdata | ||
detect.go | ||
detect_test.go | ||
detect_unix_test.go | ||
detect_win_test.go | ||
interpreters.go | ||
interpreters_unix_test.go | ||
interpreters_win_test.go | ||
utils.go | ||
utils_test.go | ||
venv.go | ||
venv_test.go |