Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Checkout repository
uses: actions/checkout@v6
Expand Down Expand Up @@ -461,7 +461,7 @@ jobs:
uses: astral-sh/setup-uv@v7

- name: Install python
run: uv python install 3.10
run: uv python install 3.11

- name: Sync dependencies
working-directory: ./python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ dev-dependencies = [

[tool.black]
line-length = 88
target-version = ['py310']
target-version = ['py312']

[tool.ruff]
line-length = 88
target-version = "py310"
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]

[tool.mypy]
python_version = "3.10"
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
2 changes: 1 addition & 1 deletion python/packages/agentsts-adk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "agentsts-adk"
version = "0.1.0"
description = "Framework-specific integration points with agentsts-core"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"agentsts-core>=0.1.0",
"google-adk>=1.28.1,<2",
Expand Down
2 changes: 1 addition & 1 deletion python/packages/agentsts-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "agentsts-core"
version = "0.1.0"
description = "Security Token Service client implementing RFC 8693 OAuth 2.0 Token Exchange"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.5.0",
Expand Down
2 changes: 1 addition & 1 deletion python/packages/kagent-adk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "kagent-adk"
version = "0.3.0"
description = "kagent-adk is an sdk for integrating adk agents with kagent"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"agentsts-adk>=0.1.0",
"agentsts-core>=0.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
_parse_orchestration_chunk,
)


# ---------------------------------------------------------------------------
# Helpers
# ---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion python/packages/kagent-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "kagent-core"
version = "0.1.0"
description = "kagent common library for kagent python packages"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"a2a-sdk[http-server]>=0.3.23",
"opentelemetry-api>=1.38.0,<1.39.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from ._config import get_a2a_max_content_length
from ._context import get_request_user_id, set_request_user_id
from ._consts import (
A2A_DATA_PART_METADATA_IS_LONG_RUNNING_KEY,
A2A_DATA_PART_METADATA_TYPE_CODE_EXECUTION_RESULT,
Expand All @@ -18,6 +17,7 @@
get_kagent_metadata_key,
read_metadata_value,
)
from ._context import get_request_user_id, set_request_user_id
from ._hitl_utils import (
DecisionType,
HitlPartInfo,
Expand Down
2 changes: 1 addition & 1 deletion python/packages/kagent-crewai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "kagent-crewai"
version = "0.1.0"
description = "CrewAI integration for KAgent with A2A server support"
readme = "README.md"
requires-python = ">=3.10, <3.14"
requires-python = ">=3.11, <3.14"
dependencies = [
"crewai[tools]>= 1.2.0",
"httpx>=0.25.0",
Expand Down
6 changes: 3 additions & 3 deletions python/packages/kagent-langgraph/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kagent-langgraph"
version = "0.1.0"
description = "LangGraph integration for KAgent with A2A server support"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"langgraph>=0.6.5",
"langchain-core>=0.3.0",
Expand Down Expand Up @@ -37,10 +37,10 @@ packages = ["src/kagent"]

[tool.black]
line-length = 120
target-version = ['py310']
target-version = ['py311']

[tool.ruff]
line-length = 120
target-version = "py310"
target-version = "py311"
lint.select = ["E", "F", "I", "N", "W", "UP"]
lint.ignore = ["E501", "N803", "N806"]
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@

import hashlib
import uuid
from datetime import datetime
from datetime import UTC, datetime
from typing import Any

try:
from datetime import UTC # Python 3.11+
except ImportError:
from datetime import timezone

UTC = timezone.utc

from a2a.types import (
DataPart,
Message,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@
import logging
import uuid
from collections.abc import Mapping
from datetime import datetime
from datetime import UTC, datetime
from typing import Any

try:
from datetime import UTC # Python 3.11+
except ImportError:
from datetime import timezone

UTC = timezone.utc

try:
from typing import override # Python 3.12+
except ImportError:
Expand Down
6 changes: 3 additions & 3 deletions python/packages/kagent-openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kagent-openai"
version = "0.1.0"
description = "OpenAI integration for KAgent with A2A server support"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"openai>=1.72.0",
"openai-agents>=0.4.0",
Expand Down Expand Up @@ -39,10 +39,10 @@ packages = ["src/kagent"]

[tool.black]
line-length = 120
target-version = ['py310']
target-version = ['py311']

[tool.ruff]
line-length = 120
target-version = "py310"
target-version = "py311"
lint.select = ["E", "F", "I", "N", "W", "UP"]
lint.ignore = ["E501", "N803", "N806"]
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,7 @@
import uuid
from collections.abc import Callable
from dataclasses import dataclass
from datetime import datetime

try:
from datetime import UTC # Python 3.11+
except ImportError:
from datetime import timezone

UTC = timezone.utc
from datetime import UTC, datetime

try:
from typing import override # Python 3.12+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,7 @@
import json
import logging
import uuid
from datetime import datetime

try:
from datetime import UTC # Python 3.11+
except ImportError:
from datetime import timezone

UTC = timezone.utc
from datetime import UTC, datetime

from a2a.server.events import Event as A2AEvent
from a2a.types import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,7 @@ async def add_items(self, items: list[TResponseInputItem]) -> None:
# Store items as an event in the session
import json
import uuid
from datetime import datetime

try:
from datetime import UTC # Python 3.11+
except ImportError:
from datetime import timezone

UTC = timezone.utc
from datetime import UTC, datetime

event_data = {
"id": str(uuid.uuid4()),
Expand Down
6 changes: 3 additions & 3 deletions python/packages/kagent-skills/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kagent-skills"
version = "0.1.0"
description = "Core library for discovering and loading KAgent skills."
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"pydantic>=2.0.0",
"pyyaml>=6.0"
Expand All @@ -26,10 +26,10 @@ packages = ["src/kagent"]

[tool.black]
line-length = 120
target-version = ['py310']
target-version = ['py311']

[tool.ruff]
line-length = 120
target-version = "py310"
target-version = "py311"
lint.select = ["E", "F", "I", "N", "W", "UP"]
lint.ignore = ["E501", "N803", "N806"]
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exclude = [
"notebooks/",
]

target-version = "py310"
target-version = "py311"
Comment thread
iplay88keys marked this conversation as resolved.

[tool.ruff.format]
docstring-code-format = true
Expand Down
2 changes: 1 addition & 1 deletion python/samples/crewai/poem_flow/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "poem_flow"
version = "0.1.0"
description = "poem-flow using crewAI"
readme = "README.md"
requires-python = ">=3.10, <3.14"
requires-python = ">=3.11, <3.14"
dependencies = [
"kagent-crewai",
]
Expand Down
2 changes: 1 addition & 1 deletion python/samples/crewai/research-crew/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "research-crew"
version = "0.1.0"
description = "A sample research crew using kagent-crewai"
readme = "README.md"
requires-python = ">=3.10, <3.14"
requires-python = ">=3.11, <3.14"
dependencies = [
"kagent-crewai",
]
Expand Down
2 changes: 1 addition & 1 deletion python/samples/langgraph/currency/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "currency"
version = "0.1.0"
description = "Basic LangGraph agent for KAgent"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"kagent-langgraph",
"langgraph>=1.2.9",
Expand Down
2 changes: 1 addition & 1 deletion python/samples/langgraph/hitl-tools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hitl-tools"
version = "0.1.0"
description = "LangGraph agent demonstrating HITL tool approval"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"kagent-langgraph",
"langgraph>=1.2.9",
Expand Down
2 changes: 1 addition & 1 deletion python/samples/langgraph/kebab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "kebab"
version = "0.1.0"
description = "Minimal LangGraph kebab sample for kagent (fake tool, no external APIs)"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"kagent-langgraph",
"langgraph>=1.2.9",
Expand Down
2 changes: 1 addition & 1 deletion python/samples/openai/basic_agent/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "basic-openai-agent"
version = "0.1.0"
description = "Basic OpenAI Agent sample for KAgent"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"kagent-openai",
"openai-agents>=0.4.0",
Expand Down
Loading
Loading