From 8a32fca49f5399b1748d36667a7a23da27e2b4b9 Mon Sep 17 00:00:00 2001 From: Evan Mattson <35585003+moonbox3@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:10:33 -0400 Subject: [PATCH] Python: Bump Python version to 1.4.0 for a release. (#7865) ### Motivation and Context Bump Python version to 1.4.0 for a release. ### Description Bump Python version to 1.4.0 for a release. ### Contribution Checklist - [X] The code builds clean without any errors or warnings - [X] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [X] All unit tests pass, and I have added new tests where possible - [X] I didn't break anyone :smile: --- python/pyproject.toml | 2 +- python/samples/getting_started/00-getting-started.ipynb | 2 +- .../samples/getting_started/01-basic-loading-the-kernel.ipynb | 2 +- .../samples/getting_started/02-running-prompts-from-file.ipynb | 2 +- python/samples/getting_started/03-prompt-function-inline.ipynb | 2 +- python/samples/getting_started/04-kernel-arguments-chat.ipynb | 2 +- python/samples/getting_started/05-using-the-planner.ipynb | 2 +- python/samples/getting_started/06-memory-and-embeddings.ipynb | 2 +- .../samples/getting_started/07-hugging-face-for-plugins.ipynb | 2 +- python/samples/getting_started/08-native-function-inline.ipynb | 2 +- python/samples/getting_started/09-groundedness-checking.ipynb | 2 +- .../getting_started/10-multiple-results-per-prompt.ipynb | 2 +- python/samples/getting_started/11-streaming-completions.ipynb | 2 +- .../third_party/weaviate-persistent-memory.ipynb | 2 +- python/samples/getting_started_with_agents/README.md | 3 ++- 15 files changed, 16 insertions(+), 15 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 5dd84c405911..af276e491f11 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "semantic-kernel" -version = "1.3.0" +version = "1.4.0" description = "Semantic Kernel Python SDK" authors = ["Microsoft "] readme = "pip/README.md" diff --git a/python/samples/getting_started/00-getting-started.ipynb b/python/samples/getting_started/00-getting-started.ipynb index 595e0fef6e6b..2c4d8bce338f 100644 --- a/python/samples/getting_started/00-getting-started.ipynb +++ b/python/samples/getting_started/00-getting-started.ipynb @@ -17,7 +17,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/01-basic-loading-the-kernel.ipynb b/python/samples/getting_started/01-basic-loading-the-kernel.ipynb index ad672d181268..622c47c1d53d 100644 --- a/python/samples/getting_started/01-basic-loading-the-kernel.ipynb +++ b/python/samples/getting_started/01-basic-loading-the-kernel.ipynb @@ -24,7 +24,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/02-running-prompts-from-file.ipynb b/python/samples/getting_started/02-running-prompts-from-file.ipynb index dc6c90095c85..b682f14b1670 100644 --- a/python/samples/getting_started/02-running-prompts-from-file.ipynb +++ b/python/samples/getting_started/02-running-prompts-from-file.ipynb @@ -35,7 +35,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/03-prompt-function-inline.ipynb b/python/samples/getting_started/03-prompt-function-inline.ipynb index fbed7a9d75a0..b6d2669ac1ad 100644 --- a/python/samples/getting_started/03-prompt-function-inline.ipynb +++ b/python/samples/getting_started/03-prompt-function-inline.ipynb @@ -25,7 +25,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/04-kernel-arguments-chat.ipynb b/python/samples/getting_started/04-kernel-arguments-chat.ipynb index ac87b4def822..70f629559b8a 100644 --- a/python/samples/getting_started/04-kernel-arguments-chat.ipynb +++ b/python/samples/getting_started/04-kernel-arguments-chat.ipynb @@ -27,7 +27,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/05-using-the-planner.ipynb b/python/samples/getting_started/05-using-the-planner.ipynb index d6a6caa3f407..e2fe31a532da 100644 --- a/python/samples/getting_started/05-using-the-planner.ipynb +++ b/python/samples/getting_started/05-using-the-planner.ipynb @@ -32,7 +32,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/06-memory-and-embeddings.ipynb b/python/samples/getting_started/06-memory-and-embeddings.ipynb index ea736d178a0e..8cc85fae904c 100644 --- a/python/samples/getting_started/06-memory-and-embeddings.ipynb +++ b/python/samples/getting_started/06-memory-and-embeddings.ipynb @@ -37,7 +37,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0\n", + "%pip install semantic-kernel==1.4.0\n", "%pip install azure-core==1.30.1\n", "%pip install azure-search-documents==11.6.0b4" ] diff --git a/python/samples/getting_started/07-hugging-face-for-plugins.ipynb b/python/samples/getting_started/07-hugging-face-for-plugins.ipynb index 27248b795041..1f9ea41bd194 100644 --- a/python/samples/getting_started/07-hugging-face-for-plugins.ipynb +++ b/python/samples/getting_started/07-hugging-face-for-plugins.ipynb @@ -21,7 +21,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel[hugging_face]==1.3.0" + "%pip install semantic-kernel[hugging_face]==1.4.0" ] }, { diff --git a/python/samples/getting_started/08-native-function-inline.ipynb b/python/samples/getting_started/08-native-function-inline.ipynb index 4bdfacce7cc6..6d143465c4e4 100644 --- a/python/samples/getting_started/08-native-function-inline.ipynb +++ b/python/samples/getting_started/08-native-function-inline.ipynb @@ -55,7 +55,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/09-groundedness-checking.ipynb b/python/samples/getting_started/09-groundedness-checking.ipynb index 412f69a20bdd..66c5886b77d1 100644 --- a/python/samples/getting_started/09-groundedness-checking.ipynb +++ b/python/samples/getting_started/09-groundedness-checking.ipynb @@ -36,7 +36,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/10-multiple-results-per-prompt.ipynb b/python/samples/getting_started/10-multiple-results-per-prompt.ipynb index 3452af397183..b473e425c5bf 100644 --- a/python/samples/getting_started/10-multiple-results-per-prompt.ipynb +++ b/python/samples/getting_started/10-multiple-results-per-prompt.ipynb @@ -34,7 +34,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/11-streaming-completions.ipynb b/python/samples/getting_started/11-streaming-completions.ipynb index f1d15491b88f..b3695dad09f1 100644 --- a/python/samples/getting_started/11-streaming-completions.ipynb +++ b/python/samples/getting_started/11-streaming-completions.ipynb @@ -27,7 +27,7 @@ "outputs": [], "source": [ "# Note: if using a Poetry virtual environment, do not run this cell\n", - "%pip install semantic-kernel==1.3.0" + "%pip install semantic-kernel==1.4.0" ] }, { diff --git a/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb b/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb index d453f10c39b3..11b0ffc1aefd 100644 --- a/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb +++ b/python/samples/getting_started/third_party/weaviate-persistent-memory.ipynb @@ -156,7 +156,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install semantic-kernel[weaviate]==1.3.0" + "%pip install semantic-kernel[weaviate]==1.4.0" ] }, { diff --git a/python/samples/getting_started_with_agents/README.md b/python/samples/getting_started_with_agents/README.md index 143f77528161..fa834af202d7 100644 --- a/python/samples/getting_started_with_agents/README.md +++ b/python/samples/getting_started_with_agents/README.md @@ -3,7 +3,8 @@ This project contains a step by step guide to get started with _Semantic Kernel Agents_ in Python. #### PyPI: -- For the use of agents, the minimum allowed Semantic Kernel pypi version is 1.3.0. +- For the use of Chat Completion agents, the minimum allowed Semantic Kernel pypi version is 1.3.0. +- For the use of OpenAI Assistant agents, the minimum allowed Semantic Kernel pypi version is 1.4.0. #### Source