diff --git a/pyproject.toml b/pyproject.toml index 158025c7..20c0524a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,27 +25,27 @@ classifiers = [ # List of https://pypi.org/classifiers/ ] dependencies = [ # go/keep-sorted start - "authlib>=1.5.1", # For RestAPI Tool - "click>=8.1.8", # For CLI tools - "fastapi>=0.115.0", # FastAPI framework - "google-api-python-client>=2.157.0", # Google API client discovery - "google-cloud-aiplatform[agent_engines]>=1.95.1", # For VertexAI integrations, e.g. example store. - "google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool - "google-cloud-speech>=2.30.0", # For Audio Transcription - "google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service - "google-genai>=1.17.0", # Google GenAI SDK - "graphviz>=0.20.2", # Graphviz for graph rendering - "mcp>=1.8.0;python_version>='3.10'", # For MCP Toolset - "opentelemetry-api>=1.31.0", # OpenTelemetry + "authlib>=1.5.1", # For RestAPI Tool + "click>=8.1.8", # For CLI tools + "fastapi>=0.115.0", # FastAPI framework + "google-api-python-client>=2.157.0", # Google API client discovery + "google-cloud-aiplatform[agent_engines]>=1.95.1", # For VertexAI integrations, e.g. example store. + "google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool + "google-cloud-speech>=2.30.0", # For Audio Transcription + "google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service + "google-genai>=1.17.0", # Google GenAI SDK + "graphviz>=0.20.2", # Graphviz for graph rendering + "mcp>=1.8.0;python_version>='3.10'", # For MCP Toolset + "opentelemetry-api>=1.31.0", # OpenTelemetry "opentelemetry-exporter-gcp-trace>=1.9.0", "opentelemetry-sdk>=1.31.0", - "pydantic>=2.0, <3.0.0", # For data validation/models - "python-dotenv>=1.0.0", # To manage environment variables - "PyYAML>=6.0.2", # For APIHubToolset. - "sqlalchemy>=2.0", # SQL database ORM - "tzlocal>=5.3", # Time zone utilities + "pydantic>=2.0, <3.0.0", # For data validation/models + "python-dotenv>=1.0.0", # To manage environment variables + "PyYAML>=6.0.2", # For APIHubToolset. + "sqlalchemy>=2.0", # SQL database ORM + "tzlocal>=5.3", # Time zone utilities "typing-extensions>=4.5, <5", - "uvicorn>=0.34.0", # ASGI server for FastAPI + "uvicorn>=0.34.0", # ASGI server for FastAPI # go/keep-sorted end ] dynamic = ["version"] @@ -84,7 +84,7 @@ test = [ "anthropic>=0.43.0", # For anthropic model tests "langchain-community>=0.3.17", "langgraph>=0.2.60", # For LangGraphAgent - "litellm>=1.71.2", # For LiteLLM tests + "litellm>=1.71.2", # For LiteLLM tests "llama-index-readers-file>=0.4.0", # For retrieval tests "pytest-asyncio>=0.25.0", @@ -140,24 +140,30 @@ pyink-annotation-pragmas = [ requires = ["flit_core >=3.8,<4"] build-backend = "flit_core.buildapi" + [tool.flit.sdist] include = ['src/**/*', 'README.md', 'pyproject.toml', 'LICENSE'] exclude = ['src/**/*.sh'] + [tool.flit.module] name = "google.adk" include = ["py.typed"] + [tool.isort] profile = "google" single_line_exclusions = [] +line_length = 200 # Prevent line wrap flickering. known_third_party = ["google.adk"] + [tool.pytest.ini_options] testpaths = ["tests"] asyncio_default_fixture_loop_scope = "function" asyncio_mode = "auto" + [tool.mypy] python_version = "3.9" exclude = "tests/"