Skip to content

Commit a74d334

Browse files
George Wealecopybara-github
authored andcommitted
chore: Added upper version bounds to dependencies in "pyproject.toml"
This change keeps dependencies to their major versions, but for the pre 1.0.0 releases pinned to minor releases as they could have breaking changes. PyYAML: Version 7.0 is in development and could have breaking changes absolufy-imports: The package is archived and no longer maintained. anyio: Follows SemVer, so version 5.0 could have breaking changes. authlib: Follows a SemVer-like pattern, so version 2.0 could have breaking changes. click: A mature library, version 9.0 is the expected boundary for breaking changes. fastapi: As a pre-1.0 library, the next minor release could have breaking changes. google-api-python-client: Although in maintenance, version 3.0 could still have breaking changes. google-cloud-aiplatform: Follows SemVer, so breaking changes are expected in version 2.0. google-cloud-secret-manager: A stable Google library, version 3.0 could lead to breaking changes. google-cloud-speech: A stable Google library, version 3.0 could lead to breaking changes. google-cloud-storage: A stable Google library. google-genai: As an official Google SDK, version 2.0 is the expected boundary for breaking changes. graphviz: As a pre-1.0 library, the next minor release could have breaking changes. mcp: As an SDK, version 2.0 is the boundary for potential breaking changes. opentelemetry-api: Follows SemVer; version 2.0 could have breaking changes. opentelemetry-exporter-gcp-trace: It's tied to the v1 OpenTelemetry API, so version 2.0 would likely be a breaking change. opentelemetry-sdk: It's coupled to the v1 API, so version 2.0 would likely be a breaking change. pydantic: This stops upgrades to the incompatible version 3.0 after its major 2.0 rewrite. python-dateutil: Follows to SemVer, making version 3.0 the boundary for potential breaking changes. python-dotenv: Locks to stable version 1.0 major release. requests: As a more mature library, version 3.0 is boundary for breaking changes. sqlalchemy: This locks the dependency to the stable version 2.0 API after its major rewrite. starlette: As a pre-1.0 library, the next minor release could have breaking changes. tenacity: This is a mature library, version 9.0 is boundary for breaking changes. typing-extensions: Major versions are tied to large typing changes in Python itself. tzlocal: The library has a history of introducing breaking API changes between major versions. uvicorn: As a pre-1.0 library, the next minor release could have breaking changes. watchdog: As a stable library, version 7.0 could have breaking changes. websockets: Follows SemVer, so version 16.0 is the boundary for breaking changes. PiperOrigin-RevId: 794677571
1 parent ddf2e21 commit a74d334

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

pyproject.toml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,36 +25,36 @@ classifiers = [ # List of https://pypi.org/classifiers/
2525
]
2626
dependencies = [
2727
# go/keep-sorted start
28-
"PyYAML>=6.0.2", # For APIHubToolset.
29-
"absolufy-imports>=0.3.1", # For Agent Engine deployment.
30-
"anyio>=4.9.0;python_version>='3.10'", # For MCP Session Manager
31-
"authlib>=1.5.1", # For RestAPI Tool
32-
"click>=8.1.8", # For CLI tools
33-
"fastapi>=0.115.0", # FastAPI framework
34-
"google-api-python-client>=2.157.0", # Google API client discovery
35-
"google-cloud-aiplatform[agent_engines]>=1.95.1", # For VertexAI integrations, e.g. example store.
36-
"google-cloud-secret-manager>=2.22.0", # Fetching secrets in RestAPI Tool
37-
"google-cloud-spanner>=3.56.0", # For Spanner database
38-
"google-cloud-speech>=2.30.0", # For Audio Transcription
28+
"PyYAML>=6.0.2, <7.0.0", # For APIHubToolset.
29+
"absolufy-imports>=0.3.1, <1.0.0", # For Agent Engine deployment.
30+
"anyio>=4.9.0, <5.0.0;python_version>='3.10'", # For MCP Session Manager
31+
"authlib>=1.5.1, <2.0.0", # For RestAPI Tool
32+
"click>=8.1.8, <9.0.0", # For CLI tools
33+
"fastapi>=0.115.0, <1.0.0", # FastAPI framework
34+
"google-api-python-client>=2.157.0, <3.0.0", # Google API client discovery
35+
"google-cloud-aiplatform[agent_engines]>=1.95.1, <2.0.0", # For VertexAI integrations, e.g. example store.
36+
"google-cloud-secret-manager>=2.22.0, <3.0.0", # Fetching secrets in RestAPI Tool
37+
"google-cloud-spanner>=3.56.0, <4.0.0", # For Spanner database
38+
"google-cloud-speech>=2.30.0, <3.0.0", # For Audio Transcription
3939
"google-cloud-storage>=2.18.0, <3.0.0", # For GCS Artifact service
40-
"google-genai>=1.21.1", # Google GenAI SDK
41-
"graphviz>=0.20.2", # Graphviz for graph rendering
42-
"mcp>=1.8.0;python_version>='3.10'", # For MCP Toolset
43-
"opentelemetry-api>=1.31.0", # OpenTelemetry
44-
"opentelemetry-exporter-gcp-trace>=1.9.0",
45-
"opentelemetry-sdk>=1.31.0",
40+
"google-genai>=1.21.1, <2.0.0", # Google GenAI SDK
41+
"graphviz>=0.20.2, <1.0.0", # Graphviz for graph rendering
42+
"mcp>=1.8.0, <2.0.0;python_version>='3.10'", # For MCP Toolset
43+
"opentelemetry-api>=1.31.0, <2.0.0", # OpenTelemetry
44+
"opentelemetry-exporter-gcp-trace>=1.9.0, <2.0.0",
45+
"opentelemetry-sdk>=1.31.0, <2.0.0",
4646
"pydantic>=2.0, <3.0.0", # For data validation/models
47-
"python-dateutil>=2.9.0.post0", # For Vertext AI Session Service
48-
"python-dotenv>=1.0.0", # To manage environment variables
49-
"requests>=2.32.4",
50-
"sqlalchemy>=2.0", # SQL database ORM
51-
"starlette>=0.46.2", # For FastAPI CLI
52-
"tenacity>=8.0.0", # For Retry management
47+
"python-dateutil>=2.9.0.post0, <3.0.0", # For Vertext AI Session Service
48+
"python-dotenv>=1.0.0, <2.0.0", # To manage environment variables
49+
"requests>=2.32.4, <3.0.0",
50+
"sqlalchemy>=2.0, <3.0.0", # SQL database ORM
51+
"starlette>=0.46.2, <1.0.0", # For FastAPI CLI
52+
"tenacity>=8.0.0, <9.0.0", # For Retry management
5353
"typing-extensions>=4.5, <5",
54-
"tzlocal>=5.3", # Time zone utilities
55-
"uvicorn>=0.34.0", # ASGI server for FastAPI
56-
"watchdog>=6.0.0", # For file change detection and hot reload
57-
"websockets>=15.0.1", # For BaseLlmFlow
54+
"tzlocal>=5.3, <6.0", # Time zone utilities
55+
"uvicorn>=0.34.0, <1.0.0", # ASGI server for FastAPI
56+
"watchdog>=6.0.0, <7.0.0", # For file change detection and hot reload
57+
"websockets>=15.0.1, <16.0.0", # For BaseLlmFlow
5858
# go/keep-sorted end
5959
]
6060
dynamic = ["version"]

0 commit comments

Comments
 (0)