Skip to content

Conversation

@JCZuurmond
Copy link
Contributor

Changes

Set upper SDK limit to 1.0 as this is a library and the projects using pytester should set the right SDK limit

@JCZuurmond JCZuurmond added the dependencies Pull requests that update a dependency file label Feb 21, 2025
@JCZuurmond JCZuurmond requested a review from gueniai February 21, 2025 08:11
@JCZuurmond JCZuurmond self-assigned this Feb 21, 2025
@JCZuurmond JCZuurmond requested a review from nfx as a code owner February 21, 2025 08:11
@github-actions
Copy link

github-actions bot commented Feb 21, 2025

✅ 41/41 passed, 5 skipped, 15m6s total

Running from acceptance #195

endpoint = ws.serving_endpoints.create(
endpoint_name,
EndpointCoreConfigInput(served_models=[served_model_input]),
config=EndpointCoreConfigInput(served_models=[served_model_input]),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JCZuurmond
Copy link
Contributor Author

@gueniai : Could you bypass the CI, it fails on the downstream UCX, we can handle that separately

@gueniai gueniai merged commit 0246c35 into main Feb 27, 2025
6 of 7 checks passed
@gueniai gueniai deleted the feat/set-upper-sdk-limit-to-v1 branch February 27, 2025 17:36
gueniai added a commit that referenced this pull request Feb 27, 2025
* Set upper SDK limit to v1 ([#109](#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.
@gueniai gueniai mentioned this pull request Feb 27, 2025
gueniai added a commit that referenced this pull request Feb 27, 2025
* Set upper SDK limit to v1
([#109](#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants