Skip to content

Commit 4ae6499

Browse files
Release v0.7.2 (#159)
* Compatibility fix for Databricks SDK 0.51 ([#158](#158)). The minimum required version of the Databricks SDK has been updated to 0.51.0 to accommodate breaking changes introduced in this version, including the removal of certain enumeration values. Notably, the `ServedModelInputWorkloadSize` enumeration has been replaced with well-known string constants, prompting an update to the `create` function to use the string constant `Small` instead of the removed `ServedModelInputWorkloadSize.SMALL` value. This change affects the creation of serving endpoints, which now specify workload size using a string value, and resolves issues reported in related projects, including test failures in downstream projects, by ensuring compatibility with the updated SDK version.
1 parent 450da89 commit 4ae6499

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.2
4+
5+
* Compatibility fix for Databricks SDK 0.51 ([#158](https://github.com/databrickslabs/pytester/issues/158)). The minimum required version of the Databricks SDK has been updated to 0.51.0 to accommodate breaking changes introduced in this version, including the removal of certain enumeration values. Notably, the `ServedModelInputWorkloadSize` enumeration has been replaced with well-known string constants, prompting an update to the `create` function to use the string constant `Small` instead of the removed `ServedModelInputWorkloadSize.SMALL` value. This change affects the creation of serving endpoints, which now specify workload size using a string value, and resolves issues reported in related projects, including test failures in downstream projects, by ensuring compatibility with the updated SDK version.
6+
7+
38
## 0.7.1
49

510
* Set upper SDK limit to v1 ([#109](https://github.com/databrickslabs/pytester/issues/109)). In this change, the upper SDK limit is set to version 1.0 in the pyproject.toml file of a library project, allowing projects using this library to set their own appropriate SDK limits. The databricks-sdk dependency is updated from "<0.42" to "<1.0" as a result of this commit. Additionally, the `create` function in the `ml.py` file of the pytester library has been modified. Previously, the `EndpointCoreConfigInput` object was passed as an argument to the `serving_endpoints.create` method using the keyword argument `served_models`. Now, `EndpointCoreConfigInput` is passed as a keyword argument `config`, which contains the `served_models` parameter, aligning with the new SDK version 1.0 and ensuring consistent endpoint creation. These changes are intended to ensure compatibility with a variety of SDK versions and improve the library's usability for software engineers.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.7.1"
1+
__version__ = "0.7.2"

0 commit comments

Comments
 (0)