databricks-cli/bundle/tests/python_wheel
Pieter Noordhuis b451905b6e
Expand library globs relative to the sync root (#1756)
## Changes

Library glob expansion happens during deployment. Before that, all
entries that refer to local paths in resource definitions are made
relative to the _sync root_. Before #1694, they were made relative to
the _bundle root_. This PR didn't update the library glob expansion code
to use the sync root path.

If you were using the sync paths setting with library globs, the CLI
would fail to expand the globs because the code was using the wrong path
to anchor those globs.

This change fixes the issue.

## Tests

Manually confirmed that this fixes the issue reported in #1755.
2024-09-09 09:56:16 +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 Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +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