From 3983d9101c63903fdaf88175b47dd11c6ac03769 Mon Sep 17 00:00:00 2001 From: Evan Mattson <35585003+moonbox3@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:13:25 -0400 Subject: [PATCH] Python: Bump Python project version to 1.6.0 for a release. (#8294) ### Motivation and Context Bump Python project version to 1.6.0 for a release. ### Description Bump Python project version to 1.6.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 | 3 +-- .../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 +- 14 files changed, 14 insertions(+), 15 deletions(-) diff --git a/python/pyproject.toml b/python/pyproject.toml index 0bd1d9c9424d..da2c21769037 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "semantic-kernel" -version = "1.5.1" +version = "1.6.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 d863522008fd..f2239967c7a3 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.5.1" + "%pip install semantic-kernel==1.6.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 ad37a09707f8..0b7991f02ae4 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.5.1" + "%pip install semantic-kernel==1.6.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 62a6cfe1267c..12b2d658c068 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/03-prompt-function-inline.ipynb b/python/samples/getting_started/03-prompt-function-inline.ipynb index 4ce72eddae30..d9ece623da17 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/04-kernel-arguments-chat.ipynb b/python/samples/getting_started/04-kernel-arguments-chat.ipynb index e8f69f95926d..01ed946274bb 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/05-using-the-planner.ipynb b/python/samples/getting_started/05-using-the-planner.ipynb index f2b8c4720121..e7a0f371f19f 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/06-memory-and-embeddings.ipynb b/python/samples/getting_started/06-memory-and-embeddings.ipynb index 5ab73f70c726..fcece19a6223 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.5.1\n", + "%pip install semantic-kernel==1.6.0\n", "%pip install azure-core==1.30.1\n", "%pip install azure-search-documents==11.6.0b4" ] @@ -180,7 +180,6 @@ " azure_chat_service = AzureChatCompletion(\n", " service_id=chat_service_id,\n", " )\n", - " # next line assumes embeddings deployment name is \"text-embedding\", adjust the deployment name to the value of your chat model if needed\n", " embedding_gen = AzureTextEmbedding(\n", " service_id=\"embedding\",\n", " )\n", 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 e4bbe5358b99..a99b0294cd18 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.5.1" + "%pip install semantic-kernel[hugging_face]==1.6.0" ] }, { diff --git a/python/samples/getting_started/08-native-function-inline.ipynb b/python/samples/getting_started/08-native-function-inline.ipynb index 8730f6a34e15..f414a8424bfc 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/09-groundedness-checking.ipynb b/python/samples/getting_started/09-groundedness-checking.ipynb index 0026b7333d2a..f603b615da19 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.5.1" + "%pip install semantic-kernel==1.6.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 9077ee7441f5..f4accdc8a8cb 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.5.1" + "%pip install semantic-kernel==1.6.0" ] }, { diff --git a/python/samples/getting_started/11-streaming-completions.ipynb b/python/samples/getting_started/11-streaming-completions.ipynb index edb8c0b43639..50e2d8684ec4 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.5.1" + "%pip install semantic-kernel==1.6.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 c3b07a2f420e..ed15f5ab82cc 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.5.1" + "%pip install semantic-kernel[weaviate]==1.6.0" ] }, {