Skip to content

Commit 2cc43be

Browse files
authored
Python: Bump Python version to 1.27.0 for a release. (#11358)
### Motivation and Context Bump Python version to 1.27.0 for a release. <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> ### Description Bump Python version to 1.27.0 for a release. <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [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 😄
1 parent 94a78d1 commit 2cc43be

File tree

6 files changed

+6
-13
lines changed

6 files changed

+6
-13
lines changed

python/semantic_kernel/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
from semantic_kernel.kernel import Kernel
44

5-
__version__ = "1.26.1"
5+
__version__ = "1.27.0"
66

7-
DEFAULT_RC_VERSION = f"{__version__}-rc5"
7+
DEFAULT_RC_VERSION = f"{__version__}-rc6"
88

99
__all__ = ["DEFAULT_RC_VERSION", "Kernel", "__version__"]

python/semantic_kernel/agents/agent.py

-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from semantic_kernel.prompt_template.kernel_prompt_template import KernelPromptTemplate
2222
from semantic_kernel.prompt_template.prompt_template_base import PromptTemplateBase
2323
from semantic_kernel.prompt_template.prompt_template_config import PromptTemplateConfig
24-
from semantic_kernel.utils.feature_stage_decorator import release_candidate
2524
from semantic_kernel.utils.naming import generate_random_ascii_name
2625
from semantic_kernel.utils.validation import AGENT_NAME_REGEX
2726

@@ -31,7 +30,6 @@
3130
TThreadType = TypeVar("TThreadType", bound="AgentThread")
3231

3332

34-
@release_candidate
3533
class AgentThread(ABC):
3634
"""Base class for agent threads."""
3735

@@ -107,7 +105,6 @@ async def _on_new_message(
107105
raise NotImplementedError
108106

109107

110-
@release_candidate
111108
class AgentResponseItem(KernelBaseModel, Generic[TMessage]):
112109
"""Class representing a response item from an agent.
113110

python/semantic_kernel/agents/chat_completion/chat_completion_agent.py

-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
from semantic_kernel.functions.kernel_function import TEMPLATE_FORMAT_MAP
3636
from semantic_kernel.functions.kernel_plugin import KernelPlugin
3737
from semantic_kernel.prompt_template.prompt_template_config import PromptTemplateConfig
38-
from semantic_kernel.utils.feature_stage_decorator import release_candidate
3938
from semantic_kernel.utils.telemetry.agent_diagnostics.decorators import (
4039
trace_agent_get_response,
4140
trace_agent_invocation,
@@ -47,7 +46,6 @@
4746
logger: logging.Logger = logging.getLogger(__name__)
4847

4948

50-
@release_candidate
5149
class ChatHistoryAgentThread(AgentThread):
5250
"""Chat History Agent Thread class."""
5351

@@ -113,7 +111,6 @@ async def reduce(self) -> ChatHistory | None:
113111
return await self._chat_history.reduce()
114112

115113

116-
@release_candidate
117114
class ChatCompletionAgent(Agent):
118115
"""A Chat Completion Agent based on ChatCompletionClientBase."""
119116

python/semantic_kernel/agents/open_ai/assistant_thread_actions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
from semantic_kernel.contents.utils.author_role import AuthorRole
4242
from semantic_kernel.exceptions.agent_exceptions import AgentExecutionException, AgentInvokeException
4343
from semantic_kernel.functions.kernel_arguments import KernelArguments
44-
from semantic_kernel.utils.feature_stage_decorator import experimental
44+
from semantic_kernel.utils.feature_stage_decorator import release_candidate
4545

4646
if TYPE_CHECKING:
4747
from openai import AsyncOpenAI
@@ -63,7 +63,7 @@
6363
logger: logging.Logger = logging.getLogger(__name__)
6464

6565

66-
@experimental
66+
@release_candidate
6767
class AssistantThreadActions:
6868
"""Assistant Thread Actions class."""
6969

python/semantic_kernel/agents/open_ai/azure_assistant_agent.py

-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111
from semantic_kernel.connectors.ai.open_ai.settings.azure_open_ai_settings import AzureOpenAISettings
1212
from semantic_kernel.exceptions.agent_exceptions import AgentInitializationException
1313
from semantic_kernel.utils.authentication.entra_id_authentication import get_entra_auth_token
14-
from semantic_kernel.utils.feature_stage_decorator import release_candidate
1514
from semantic_kernel.utils.telemetry.user_agent import APP_INFO, prepend_semantic_kernel_to_user_agent
1615

1716

18-
@release_candidate
1917
class AzureAssistantAgent(OpenAIAssistantAgent):
2018
"""An Azure Assistant Agent class that extends the OpenAI Assistant Agent class."""
2119

python/semantic_kernel/agents/open_ai/open_ai_assistant_agent.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
from typing_extensions import deprecated
1010

11+
from semantic_kernel.utils.feature_stage_decorator import release_candidate
12+
1113
if sys.version_info >= (3, 12):
1214
from typing import override # pragma: no cover
1315
else:
@@ -45,7 +47,6 @@
4547
from semantic_kernel.functions.kernel_function import TEMPLATE_FORMAT_MAP
4648
from semantic_kernel.functions.kernel_plugin import KernelPlugin
4749
from semantic_kernel.schema.kernel_json_schema_builder import KernelJsonSchemaBuilder
48-
from semantic_kernel.utils.feature_stage_decorator import release_candidate
4950
from semantic_kernel.utils.naming import generate_random_ascii_name
5051
from semantic_kernel.utils.telemetry.agent_diagnostics.decorators import (
5152
trace_agent_get_response,

0 commit comments

Comments
 (0)