Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ where = ["src"]
[tool.uv]
## Dependencies for local development
dev-dependencies = [
"databricks-bundles==0.7.2",
"databricks-bundles==x.y.z",

## Add code completion support for DLT
# "databricks-dlt",
Expand Down
10 changes: 8 additions & 2 deletions acceptance/bundle/templates/experimental-jobs-as-code/script
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ trace $CLI bundle init experimental-jobs-as-code --config-file ./input.json --ou
cd output/my_jobs_as_code

# silence uv output because it's non-deterministic
uv sync -q
#
# with -f we add pre-build wheel, in addition to PyPi index,
# if PyPi package is not yet published, it will be used instead
uv -q sync -f $(dirname $DATABRICKS_BUNDLES_WHEEL)

trace $CLI bundle validate -t dev --output json | jq ".resources"

Expand All @@ -14,7 +17,10 @@ rm -fr .venv resources/__pycache__ uv.lock src/my_jobs_as_code.egg-info dist

# remove requires-python because it doesn't pass ruff checks after we replace
# requires-python=">=3.10" with requires-python=">=[UV_PYTHON]"
cat pyproject.toml | grep -v requires-python > pyproject.toml.new
# replace databricks-bundles version with x.y.z for deterministic output
cat pyproject.toml | \
grep -v requires-python | \
sed -E 's/databricks-bundles==[0-9]+\.[0-9]+\.[0-9]+/databricks-bundles==x.y.z/g' > pyproject.toml.new
mv pyproject.toml.new pyproject.toml

# Do not affect this repository's git behaviour #2318
Expand Down
1 change: 1 addition & 0 deletions experimental/python/databricks/bundles/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.247.1"
2 changes: 1 addition & 1 deletion experimental/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "databricks-bundles"
description = "Python support for Databricks Asset Bundles"
version = "0.243.0-dev"
version = "0.247.1"

authors = [
{ name = "Gleb Kanterov", email = "gleb.kanterov@databricks.com" },
Expand Down
2 changes: 1 addition & 1 deletion experimental/python/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@
{{define "latest_lts_db_connect_version_spec" -}}
>=15.4,<15.5
{{- end}}

{{define "latest_databricks_bundles_version" -}}0.247.1{{- end}}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ py-modules = []
[tool.uv]
## Dependencies for local development
dev-dependencies = [
"databricks-bundles==0.7.2",
"databricks-bundles=={{template "latest_databricks_bundles_version"}}",

## Add code completion support for DLT
# "databricks-dlt",
Expand Down
Loading