Skip to content

Commit 27107f2

Browse files
authored
Merge branch 'main' into main
2 parents e241245 + 5b722e7 commit 27107f2

File tree

71 files changed

+2872
-46
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2872
-46
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@
44
/acceptance/pipelines/ @jefferycheng1 @kanterov @lennartkats-db
55
/cmd/pipelines/ @jefferycheng1 @kanterov @lennartkats-db
66
/cmd/labs/ @alexott @nfx
7+
/experimental/aitools/ @databricks/eng-app-devex @lennartkats-db
8+
/cmd/workspace/apps/ @databricks/eng-app-devex
9+
/libs/apps/ @databricks/eng-app-devex
10+
/acceptance/apps/ @databricks/eng-app-devex

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
default: checks fmt lint
22

33
# gotestsum: when go test args are used with --rerun-fails the list of packages to test must be specified by the --packages flag
4-
PACKAGES=--packages "./acceptance/... ./libs/... ./internal/... ./cmd/... ./bundle/... ./experimental/ssh/... ."
4+
PACKAGES=--packages "./acceptance/... ./libs/... ./internal/... ./cmd/... ./bundle/... ./experimental/aitools/... ./experimental/ssh/... ."
55

66
GO_TOOL ?= go tool -modfile=tools/go.mod
77
GOTESTSUM_FORMAT ?= pkgname-and-test-fails

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Bundles
1212
* Add validation that served_models and served_entities are not used at the same time. Add client side translation logic. ([#3880](https://github.com/databricks/cli/pull/3880))
1313
* Allow `file://` URIs in job libraries to reference runtime filesystem paths (e.g., JARs pre-installed on clusters via init scripts). These paths are no longer treated as local files to upload. ([#3884](https://github.com/databricks/cli/pull/3884))
14+
* Update templates to use serverless environment version 4 and matching Python version ([#3897](https://github.com/databricks/cli/pull/3897))
1415
* Add a language prompt to the `default-minimal` template ([#3918](https://github.com/databricks/cli/pull/3918))
1516
* Add `default-scala` template for Scala projects with SBT build configuration and example code ([#3906](https://github.com/databricks/cli/pull/3906))
1617

acceptance/bundle/resources/model_serving_endpoints/running-endpoint/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ Response.Body = '''
1717
'''
1818

1919
[[Repls]]
20-
Old = '"entity_version": "1",'
20+
Old = '"entity_version": "\d+",'
2121
New = '"entity_version": "[VERSION]",'

acceptance/bundle/templates/dbt-sql/output/my_dbt_sql/resources/my_dbt_sql.job.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ resources:
2929
environments:
3030
- environment_key: default
3131
spec:
32-
environment_version: "2"
32+
environment_version: "4"
3333
dependencies:
3434
- dbt-databricks>=1.8.0,<2.0.0

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
@@ -51,7 +51,7 @@
5151
- environments:
5252
- - environment_key: default
5353
- spec:
54-
- environment_version: "2"
54+
- environment_version: "4"
5555
- dependencies:
5656
- # By default we just include the .whl file generated for the my_default_python package.
5757
- # See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html

acceptance/bundle/templates/default-python/classic/output/my_default_python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "my_default_python"
33
version = "0.0.1"
44
authors = [{ name = "[USERNAME]" }]
5-
requires-python = ">=3.10,<=3.13"
5+
requires-python = ">=3.10,<3.13"
66
dependencies = [
77
# Any dependencies for jobs and pipelines in this project can be added here
88
# See also https://docs.databricks.com/dev-tools/bundles/library-dependencies

acceptance/bundle/templates/default-python/classic/output/my_default_python/src/sample_notebook.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"dependencies": [
7373
"--editable .."
7474
],
75-
"environment_version": "2"
75+
"environment_version": "4"
7676
},
7777
"language": "python",
7878
"notebookMetadata": {
@@ -141,7 +141,7 @@
141141
},
142142
"language_info": {
143143
"name": "python",
144-
"version": "3.11.4"
144+
"version": "3.12"
145145
}
146146
},
147147
"nbformat": 4,

acceptance/bundle/templates/default-python/serverless/output/my_default_python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "my_default_python"
33
version = "0.0.1"
44
authors = [{ name = "[USERNAME]" }]
5-
requires-python = ">=3.10,<=3.13"
5+
requires-python = ">=3.10,<3.13"
66
dependencies = [
77
# Any dependencies for jobs and pipelines in this project can be added here
88
# See also https://docs.databricks.com/dev-tools/bundles/library-dependencies

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resources:
4646
environments:
4747
- environment_key: default
4848
spec:
49-
environment_version: "2"
49+
environment_version: "4"
5050
dependencies:
5151
# By default we just include the .whl file generated for the my_default_python package.
5252
# See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html

0 commit comments

Comments
 (0)