Skip to content

Commit 68401ba

Browse files
Update serverless client version to "2" in default-python template (#3083)
## Changes This updates the client version in the default-python template to "2", since that is the minimum required version for Databricks Free Edition. ## Tests - [x] Manually tested on Databricks Free Edition. - [x] Updated acceptance tests.
1 parent 326af3e commit 68401ba

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### CLI
1010

1111
### Bundles
12+
* Update client version to "2" for the serverless variation of the default-python template ([#3083](https://github.com/databricks/cli/pull/3083))
1213
* Fix reading dashboard contents when the sync root is different than the bundle root ([#3006](https://github.com/databricks/cli/pull/3006))
1314
* When glob for wheels is used, like "\*.whl", it will filter out different version of the same package and will only take the most recent version. ([#2982](https://github.com/databricks/cli/pull/2982))
1415
* When building Python artifacts as part of "bundle deploy" we no longer delete `dist`, `build`, `*egg-info` and `__pycache__` directories. ([#2982](https://github.com/databricks/cli/pull/2982))

acceptance/bundle/templates/default-python/classic/out.compare-vs-serverless.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
- # Full documentation of this spec can be found at:
2828
- # https://docs.databricks.com/api/workspace/jobs/create#environments-spec
2929
- spec:
30-
- client: "1"
30+
- client: "2"
3131
- dependencies:
3232
- - ../dist/*.whl
3333
+ job_clusters:

acceptance/bundle/templates/default-python/serverless/output/my_default_python/resources/my_default_python.job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ resources:
4040
# Full documentation of this spec can be found at:
4141
# https://docs.databricks.com/api/workspace/jobs/create#environments-spec
4242
spec:
43-
client: "1"
43+
client: "2"
4444
dependencies:
4545
- ../dist/*.whl

libs/template/templates/default-python/template/{{.project_name}}/resources/{{.project_name}}.job.yml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ resources:
7474
# Full documentation of this spec can be found at:
7575
# https://docs.databricks.com/api/workspace/jobs/create#environments-spec
7676
spec:
77-
client: "1"
77+
client: "2"
7878
dependencies:
7979
- ../dist/*.whl
8080
{{end}}{{ else }}

0 commit comments

Comments
 (0)