Skip to content

Commit d4b381a

Browse files
committed
Release v0.7.0
* Let `make_serving_endpoint` reference a valid model version ([#106](#106)). The `make_serving_endpoint` fixture in the project has been updated to resolve issues related to the absence of a model version in models created by the `make_model` fixture. The updated fixture now includes a fallback to a UC model version and accepts optional arguments for specifying the endpoint name, model name, and model version. The default model version is set to '1', and the default model name is set to the system model `system.ai.llama_v3_2_1b_instruct`. The fixture has also been equipped with a `create` method for creating a Databricks Serving Endpoint with a valid model version, and a `remove` method for deleting the serving endpoint based on its name. These changes aim to simplify testing of Databricks Serving Endpoints by providing a convenient way to create and clean up endpoints in a test environment. The associated documentation has been updated to reflect these changes.
1 parent 979d22d commit d4b381a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Version changelog
22

3+
## 0.7.0
4+
5+
* Let `make_serving_endpoint` reference a valid model version ([#106](https://github.com/databrickslabs/pytester/issues/106)). The `make_serving_endpoint` fixture in the project has been updated to resolve issues related to the absence of a model version in models created by the `make_model` fixture. The updated fixture now includes a fallback to a UC model version and accepts optional arguments for specifying the endpoint name, model name, and model version. The default model version is set to '1', and the default model name is set to the system model `system.ai.llama_v3_2_1b_instruct`. The fixture has also been equipped with a `create` method for creating a Databricks Serving Endpoint with a valid model version, and a `remove` method for deleting the serving endpoint based on its name. These changes aim to simplify testing of Databricks Serving Endpoints by providing a convenient way to create and clean up endpoints in a test environment. The associated documentation has been updated to reflect these changes.
6+
7+
38
## 0.6.0
49

510
* Added serverless support to spark fixture ([#91](https://github.com/databrickslabs/pytester/issues/90). This release introduces serverless support to the `spark` fixture, enabling the creation of a Databricks Connect Spark session with serverless capabilities by leveraging `DATABRICKS_SERVERLESS_COMPUTE_ID` environment variable, which when set to `auto` enables the Spark session to run on serverless compute.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.6.0"
1+
__version__ = "0.7.0"

0 commit comments

Comments
 (0)