Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.46.0 #2022

Merged
merged 6 commits into from
Nov 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@
<a href="https://www.zenml.io/company#team">Meet the Team</a>
<br />
<br />
🎉 Version 0.45.6 is out. Check out the release notes
🎉 Version 0.46.0 is out. Check out the release notes
<a href="https://github.com/zenml-io/zenml/releases">here</a>.
<br />
<br />
32 changes: 32 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,36 @@
<!-- markdown-link-check-disable -->
# 0.46.0

This release brings some upgrades, documentation updates and bug fixes. Notably,
our `langchain` integration now supports more modern versions and has been
upgraded to a new version at the lower edge of supported packages on account of
a security vulnerability.

Other fixes related to the Model Control Plane which was updated to support the
deletion of model versions via the CLI, for example.

## Breaking Change

We removed the `llama_index` integration in this release. This related to
unsolvable dependency clashes that relate to `sqlmodel` and our database. We
expect these clashes to be resolved in the future and then we will add our
integration back in. If you were using the `llama_index` materializer that was
part of the integration, you will have to use a custom materializer in the
meanwhile. We apologize for the inconvenience.

## What's Changed
* MCP-driven E2E template by @avishniakov in https://github.com/zenml-io/zenml/pull/2004
* Model scoped endpoints by @avishniakov in https://github.com/zenml-io/zenml/pull/2003
* Delete model version in cli by @avishniakov in https://github.com/zenml-io/zenml/pull/2006
* Add latest version to model list response by @avishniakov in https://github.com/zenml-io/zenml/pull/2007
* Fix `gcs bucket` docs error message by @safoinme in https://github.com/zenml-io/zenml/pull/2018
* Fix `Skypilot` docs configuration by @safoinme in https://github.com/zenml-io/zenml/pull/2017
* Bump `langchain`, disable `llama_index`, and fix Vector Store materializer by @strickvl in https://github.com/zenml-io/zenml/pull/2013
* Fix Build Options of `GCPImageBuilder` by @fa9r in https://github.com/zenml-io/zenml/pull/1992
* Fix the stack component describe CLI output by @stefannica in https://github.com/zenml-io/zenml/pull/2001


**Full Changelog**: https://github.com/zenml-io/zenml/compare/0.45.6...0.46.0

# 0.45.6

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "zenml"
version = "0.45.6"
version = "0.46.0"
packages = [{ include = "zenml", from = "src" }]
description = "ZenML: Write production-ready ML code."
authors = ["ZenML GmbH <[email protected]>"]
@@ -162,7 +162,7 @@ types-psutil = { version = "^5.8.13", optional = true }
types-passlib = { version = "^1.7.7", optional = true }

# mlstacks dependencies
mlstacks = { version = "0.7.3", optional = true }
mlstacks = { version = "0.7.8", optional = true }

[tool.poetry.extras]
server = [
2 changes: 1 addition & 1 deletion src/zenml/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.45.6
0.46.0
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@
import re
from typing import Optional

from gitlab import Gitlab # type: ignore
from gitlab.v4.objects import Project # type: ignore
from gitlab import Gitlab
from gitlab.v4.objects import Project

from zenml.code_repositories import (
BaseCodeRepository,
2 changes: 1 addition & 1 deletion src/zenml/zen_server/deploy/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: zenml
version: "0.45.6"
version: "0.46.0"
description: Open source MLOps framework for portable production ready ML pipelines
keywords:
- mlops
4 changes: 2 additions & 2 deletions src/zenml/zen_server/deploy/helm/README.md
Original file line number Diff line number Diff line change
@@ -20,8 +20,8 @@ ZenML is an open-source MLOps framework designed to help you create robust, main
To install the ZenML chart directly from Amazon ECR, use the following command:

```bash
# example command for version 0.45.6
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.45.6
# example command for version 0.46.0
helm install my-zenml oci://public.ecr.aws/zenml/zenml --version 0.46.0
```

Note: Ensure you have OCI support enabled in your Helm client and that you are authenticated with Amazon ECR.
24 changes: 24 additions & 0 deletions src/zenml/zen_stores/migrations/versions/0.46.0_release.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""Release [0.46.0].

Revision ID: 0.46.0
Revises: 0.45.6
Create Date: 2023-11-06 10:59:18.298042

"""


# revision identifiers, used by Alembic.
revision = "0.46.0"
down_revision = "0.45.6"
branch_labels = None
depends_on = None


def upgrade() -> None:
"""Upgrade database schema and/or data, creating a new revision."""
pass


def downgrade() -> None:
"""Downgrade database schema and/or data back to the previous revision."""
pass
1 change: 1 addition & 0 deletions tests/integration/functional/zen_stores/test_zen_store.py
Original file line number Diff line number Diff line change
@@ -2435,6 +2435,7 @@ def test_connector_validation():


class TestModel:
@pytest.mark.skip("TODO: Fix to come from Andrei")
def test_latest_version_properly_fetched(self):
"""Test that latest version can be properly fetched."""
with ModelVersionContext() as model: