databricks-cli/bundle/config/mutator/python
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
..
log_writer.go
python_diagnostics.go
python_diagnostics_test.go
python_mutator.go
python_mutator_test.go Fix finding Python within virtualenv on Windows (#2034) 2024-12-20 07:45:32 +00:00