databricks-cli/bundle/tests/python_wheel
Andrew Nester d26f3f4863
Fixed incorrectly cleaning up python wheel dist folder (#1656)
## Changes
In https://github.com/databricks/cli/pull/1618 we introduced prepare
step in which Python wheel folder was cleaned. Now it was cleaned
everytime instead of only when there is a build command how it is used
to work.

This PR fixes it by only cleaning up dist folder when there is a build
command for wheels.

Fixes #1638 

## Tests
Added regression test
2024-08-06 09:54:58 +00:00
..
environment_key Added support for job environments (#1379) 2024-04-22 11:44:34 +00:00
python_wheel Move bundle tests into bundle/tests (#1299) 2024-03-21 10:37:05 +00:00
python_wheel_dbfs_lib Move bundle tests into bundle/tests (#1299) 2024-03-21 10:37:05 +00:00
python_wheel_multiple Split artifact cleanup into prepare step before build (#1618) 2024-07-24 09:13:49 +00:00
python_wheel_no_artifact Move bundle tests into bundle/tests (#1299) 2024-03-21 10:37:05 +00:00
python_wheel_no_artifact_no_setup Move bundle tests into bundle/tests (#1299) 2024-03-21 10:37:05 +00:00
python_wheel_no_artifact_notebook Expand and upload local wheel libraries for all task types (#1649) 2024-08-05 14:44:23 +00:00
python_wheel_no_build Fixed incorrectly cleaning up python wheel dist folder (#1656) 2024-08-06 09:54:58 +00:00