@devries-cameron20 / composio Mirror · read-only / commits / ba7c9a183
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 08:30 UTC

fix(py): lock down PyPI publishing and bound Python dependency ranges (#5060)

This PR: - no Linear issue; follows the dependency supply-chain audit - publishes to PyPI through trusted publishing (OIDC) from a separate `publish` job in the `pypi` environment; `PYPI_USERNAME` / `PYPI_PASSWORD` are no longer used - builds releases from a new locked `release` dependency group (`uv sync --locked --only-group release`, `build==1.6.1`, `setuptools==84.0.0`) with `--no-isolation`, replacing `make env`, which resolved every provider's dependencies fresh from PyPI - caps every third-party Python range below the next major after today's newest release (`<1` for 0.x); `certifi` stays uncapped so CA bundle updates install - pins the unmaintained `pysher==1.0.8` and caps its transport `websocket-client<2` - drops the unused `@mastra/mcp` peer (and unused `@mastra/core` / `ai` dev deps) from `@composio/anthropic`, which pulled about 234 packages into customer installs - `test/release-workflow.test.ts` now fails if `make env`, PyPI passwords, or the locked install come back Validation: `pnpm test:release-workflow`, both agent-guidance validators, `uv lock --check` for all three lockfiles, and actionlint pass. A locked `make build` with `BUILD_ARGS=--no-isolation` produced all 14 sdists and wheels, with the new bounds in their metadata. `@composio/anthropic` builds (attw and publint clean) and its 53 tests pass.

Alberto Schiabel committed Oct 22, 2026 at 15:39 UTC ba7c9a1836b1416dfb805ec03027892d5e723947
32 files changed +172 -75
.agents/skills/python-release/references/release-workflow.md
+6
@@ -10,6 +10,12 @@ make build
10
11 `make build` cleans build outputs, builds the root package, then builds provider packages and collects distributions.
12
13 +`py.release.yml` does not run `make env`. It installs only the `release` dependency group from `uv.lock` with `uv sync --locked --only-group release` and builds with `BUILD_ARGS=--no-isolation`, so the release build fetches nothing unlocked. A separate `publish` job uploads to PyPI through trusted publishing (OIDC, `pypi` environment). Bump `build` or `setuptools` in that group, then run `uv lock`.
14 +
15 +## Dependency Bounds
16 +
17 +Third-party runtime dependencies carry an upper bound at the next major line after the newest release available when the cap was set (`<1` for 0.x packages). `certifi` stays uncapped so CA bundle updates always install. `pysher` is pinned exactly because it is unmaintained. Keep `pyproject.toml` and `setup.py` identical for each package.
18 +
19 ## Client Pin Bumps
20
21 Before bumping `composio-client`, verify the version resolves:
.changeset/anthropic-drop-mastra-peer.md new
+5
@@ -0,0 +1,5 @@
1 +---
2 +'@composio/anthropic': patch
3 +---
4 +
5 +Remove the unused `@mastra/mcp` peer dependency. The provider never imported it, but package managers that install peers automatically pulled in about 234 extra packages.
.github/workflows/py.release.yml
+38 -7
@@ -15,8 +15,8 @@ permissions:
15 contents: read
16
17 jobs:
18 - publish-core:
19 - name: Build and release SDK
18 + build:
19 + name: Build SDK packages
20 defaults:
21 run:
22 working-directory: ./python
@@ -55,20 +55,51 @@ jobs:
55 print(f"core_only={'true' if is_prerelease else 'false'}")
56 PY
57
58 + # Install only the locked build tools. `--locked` fails if uv.lock is
59 + # stale instead of resolving fresh versions from PyPI.
60 + - name: Install locked build tools
61 + env:
62 + UV_PROJECT_ENVIRONMENT: python/.venv
63 + run: uv sync --locked --only-group release
64 +
65 - name: Build Artifacts
66 + env:
67 + BUILD_ARGS: --no-isolation
68 run: |
60 - make env
69 if [[ "${{ steps.release_mode.outputs.core_only }}" == "true" ]]; then
70 make build-core
71 else
72 make build
73 fi
74
75 + - name: Upload distributions
76 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
77 + with:
78 + name: python-dist
79 + path: python/dist/
80 + if-no-files-found: error
81 +
82 + # Publishing runs in its own job so the OIDC token is never available to the
83 + # build steps. PyPI trusts this workflow and environment through trusted
84 + # publishing, so no long-lived PyPI token is needed.
85 + publish:
86 + name: Publish to PyPI
87 + needs: build
88 + if: github.event_name == 'push'
89 + runs-on: ubuntu-latest
90 + environment:
91 + name: pypi
92 + permissions:
93 + id-token: write
94 + steps:
95 + - name: Download distributions
96 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
97 + with:
98 + name: python-dist
99 + path: dist/
100 +
101 - name: Publish Artifacts
68 - if: github.event_name == 'push'
102 uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
103 with:
71 - packages-dir: ./python/dist
72 - user: ${{ secrets.PYPI_USERNAME }}
73 - password: ${{ secrets.PYPI_PASSWORD }}
104 + packages-dir: dist/
105 skip-existing: true
pnpm-lock.yaml
-9
@@ -1526,15 +1526,6 @@ importers:
1526 '@composio/core':
1527 specifier: workspace:*
1528 version: link:../../core
1529 - '@mastra/core':
1530 - specifier: 'catalog:'
1531 - version: 1.53.0(@cfworker/json-schema@4.1.1)(ai@6.0.303(zod@4.5.4))(express@5.3.0)(zod@4.5.4)
1532 - '@mastra/mcp':
1533 - specifier: 1.17.2
1534 - version: 1.17.2(@cfworker/json-schema@4.1.1)(@mastra/core@1.53.0(@cfworker/json-schema@4.1.1)(ai@6.0.303(zod@4.5.4))(express@5.3.0)(zod@4.5.4))(express@5.3.0)(hono@4.13.13)(zod@4.5.4)
1535 - ai:
1536 - specifier: ^6.0.302
1537 - version: 6.0.303(zod@4.5.4)
1529 tsdown:
1530 specifier: 'catalog:'
1531 version: 0.23.1(@arethetypeswrong/core@0.18.5)(publint@0.3.25)(tsx@4.23.15)(typescript@7.0.2)(unrun@0.2.27(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.3))
python/Makefile
+6 -2
@@ -2,6 +2,10 @@
2
3 PROVIDER_DIRS := $(patsubst %/,%,$(sort $(dir $(wildcard providers/*/pyproject.toml))))
4
5 +# Extra `python -m build` flags. The release workflow sets `--no-isolation` so
6 +# builds use the locked setuptools instead of fetching one.
7 +BUILD_ARGS ?=
8 +
9 clean-build:
10 @rm -rf dist/ build/
11 @set -e; for provider in $(PROVIDER_DIRS); do\
@@ -77,10 +81,10 @@ bump: clean-build
81 @uv run python scripts/bump.py
82
83 build-core: clean-build
80 - @./.venv/bin/python -m build
84 + @./.venv/bin/python -m build $(BUILD_ARGS)
85
86 build: build-core
87 @set -e; for provider in $(PROVIDER_DIRS); do\
84 - ./.venv/bin/python -m build $$provider;\
88 + ./.venv/bin/python -m build $$provider $(BUILD_ARGS);\
89 cp $$provider/dist/* dist/;\
90 done
python/providers/anthropic/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "anthropic>=0.120.0",
16 + "anthropic>=0.120.0,<3",
17 "composio",
18 ]
19
python/providers/anthropic/setup.py
+1 -1
@@ -21,6 +21,6 @@ setup(
21 "Operating System :: OS Independent",
22 ],
23 python_requires=">=3.11,<3.16",
24 - install_requires=["anthropic>=0.120.0", "composio"],
24 + install_requires=["anthropic>=0.120.0,<3", "composio"],
25 include_package_data=True,
26 )
python/providers/autogen/pyproject.toml
+1 -1
@@ -16,7 +16,7 @@ dependencies = [
16 # ag2 1.x removed the top-level `autogen` namespace this provider imports.
17 "ag2>=0.14,<1.0",
18 "flaml==2.7.0",
19 - "autogen_core>=0.7.5",
19 + "autogen_core>=0.7.5,<1",
20 "composio",
21 ]
22
python/providers/autogen/setup.py
+1 -1
@@ -25,7 +25,7 @@ setup(
25 # ag2 1.x removed the top-level `autogen` namespace this provider imports.
26 "ag2>=0.14,<1.0",
27 "flaml==2.7.0",
28 - "autogen_core>=0.7.5",
28 + "autogen_core>=0.7.5,<1",
29 "composio",
30 ],
31 include_package_data=True,
python/providers/claude_agent_sdk/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "claude-agent-sdk>=0.2.128",
16 + "claude-agent-sdk>=0.2.128,<1",
17 "composio",
18 ]
19
python/providers/claude_agent_sdk/setup.py
+1 -1
@@ -22,6 +22,6 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 packages=find_packages(),
25 - install_requires=["claude-agent-sdk>=0.2.128", "composio"],
25 + install_requires=["claude-agent-sdk>=0.2.128,<1", "composio"],
26 include_package_data=True,
27 )
python/providers/claude_agent_sdk/uv.lock
+1 -1
@@ -351,7 +351,7 @@ dependencies = [
351
352 [package.metadata]
353 requires-dist = [
354 - { name = "claude-agent-sdk", specifier = ">=0.2.128" },
354 + { name = "claude-agent-sdk", specifier = ">=0.2.128,<1" },
355 { name = "composio" },
356 ]
357
python/providers/gemini/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "google-genai>=2.14.0",
16 + "google-genai>=2.14.0,<3",
17 "composio",
18 ]
19
python/providers/gemini/setup.py
+1 -1
@@ -22,7 +22,7 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 install_requires=[
25 - "google-genai>=2.14.0",
25 + "google-genai>=2.14.0,<3",
26 "composio",
27 ],
28 include_package_data=True,
python/providers/google/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "google-cloud-aiplatform>=1.162.0",
16 + "google-cloud-aiplatform>=1.162.0,<3",
17 "composio",
18 ]
19
python/providers/google/setup.py
+1 -1
@@ -22,7 +22,7 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 install_requires=[
25 - "google-cloud-aiplatform>=1.162.0",
25 + "google-cloud-aiplatform>=1.162.0,<3",
26 "composio",
27 ],
28 include_package_data=True,
python/providers/google_adk/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "google-adk>=2.5.0",
16 + "google-adk>=2.5.0,<3",
17 "composio",
18 ]
19
python/providers/google_adk/setup.py
+1 -1
@@ -22,7 +22,7 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 install_requires=[
25 - "google-adk>=2.5.0",
25 + "google-adk>=2.5.0,<3",
26 "composio",
27 ],
28 include_package_data=True,
python/providers/langgraph/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "langgraph>=1.2.9",
16 + "langgraph>=1.2.9,<2",
17 "composio",
18 ]
19
python/providers/langgraph/setup.py
+1 -1
@@ -21,6 +21,6 @@ setup(
21 "Operating System :: OS Independent",
22 ],
23 python_requires=">=3.11,<3.16",
24 - install_requires=["langgraph>=1.2.9", "composio"],
24 + install_requires=["langgraph>=1.2.9,<2", "composio"],
25 include_package_data=True,
26 )
python/providers/llamaindex/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "llama_index>=0.14.23",
16 + "llama_index>=0.14.23,<1",
17 "composio",
18 ]
19
python/providers/llamaindex/setup.py
+1 -1
@@ -21,6 +21,6 @@ setup(
21 "Operating System :: OS Independent",
22 ],
23 python_requires=">=3.11,<3.16",
24 - install_requires=["llama-index>=0.14.23", "composio"],
24 + install_requires=["llama-index>=0.14.23,<1", "composio"],
25 include_package_data=True,
26 )
python/providers/openai/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "openai>=2.48.0",
16 + "openai>=2.48.0,<4",
17 "composio",
18 ]
19
python/providers/openai/setup.py
+1 -1
@@ -21,6 +21,6 @@ setup(
21 "Operating System :: OS Independent",
22 ],
23 python_requires=">=3.11,<3.16",
24 - install_requires=["openai>=2.48.0", "composio"],
24 + install_requires=["openai>=2.48.0,<4", "composio"],
25 include_package_data=True,
26 )
python/providers/openai/uv.lock
+1 -1
@@ -242,7 +242,7 @@ dependencies = [
242 [package.metadata]
243 requires-dist = [
244 { name = "composio" },
245 - { name = "openai", specifier = ">=2.48.0" },
245 + { name = "openai", specifier = ">=2.48.0,<4" },
246 ]
247
248 [[package]]
python/providers/openai_agents/pyproject.toml
+1 -1
@@ -13,7 +13,7 @@ classifiers = [
13 "Operating System :: OS Independent",
14 ]
15 dependencies = [
16 - "openai-agents>=0.18.3",
16 + "openai-agents>=0.18.3,<1",
17 "composio",
18 ]
19
python/providers/openai_agents/setup.py
+1 -1
@@ -22,6 +22,6 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 packages=find_packages(),
25 - install_requires=["openai-agents>=0.18.3", "composio"],
25 + install_requires=["openai-agents>=0.18.3,<1", "composio"],
26 include_package_data=True,
27 )
python/pyproject.toml
+25 -8
@@ -4,30 +4,39 @@ version = "0.29.0"
4 description = "SDK for integrating Composio with your applications."
5 readme = "README.md"
6 requires-python = ">=3.11,<3.16"
7 +# Third-party ranges stop before the next major line after the newest release
8 +# available when the cap was set (before 1.0 for 0.x packages), so a future
9 +# major never installs until we raise the cap. certifi is the exception.
10 dependencies = [
8 - "pysher>=1.0.8",
9 - "pydantic>=2.11.9",
11 + # pysher is unmaintained (last release 2022-10). Pin it exactly so a new
12 + # upload under that name cannot reach installs. websocket-client is its
13 + # transport, and `triggers.py` depends on its reconnect behavior.
14 + "pysher==1.0.8",
15 + "websocket-client<2",
16 + "pydantic>=2.11.9,<3",
17 "composio-client==2.0.0rc19",
11 - "typing-extensions>=4.16.0",
12 - "openai>=2.48.0",
13 - "json-schema-to-pydantic>=0.4.11",
14 - "jsonschema>=4.23.0",
18 + "typing-extensions>=4.16.0,<5",
19 + "openai>=2.48.0,<4",
20 + "json-schema-to-pydantic>=0.4.11,<1",
21 + "jsonschema>=4.23.0,<5",
22 # The pinning adapter mounts through `get_connection_with_tls_context`,
23 # which `HTTPAdapter.send` only calls on requests >= 2.32.2; older
24 # versions silently skip it and the pinning never engages.
25 # 2.32.4 fixes GHSA-9hjg-9r4m-mvj7 (.netrc credentials leaked to a
26 # malicious URL); `url_safety` fetches user- and server-supplied URLs.
20 - "requests>=2.32.4",
27 + "requests>=2.32.4,<3",
28 # `url_safety` imports urllib3 directly: `NameResolutionError` only exists
29 # from 2.0, and the pinning adapter reaches into 2.x connection internals.
30 # requests alone allows 1.x, which would fail at import time.
31 # 2.7.0 fixes GHSA-mf9v-mfxr-j63j (decompression-bomb guard bypass in
32 # the streaming API our download size limit relies on) and
33 # GHSA-qccp-gfcp-xxvc (sensitive headers forwarded across origins).
27 - "urllib3>=2.7.0",
34 + "urllib3>=2.7.0,<3",
35 # `requests` verifies TLS against certifi's bundle. 2026.10.19 removes
36 # the emSign ECC Root CA - G3 root after eight eMudhra intermediate keys
37 # were compromised; older bundles still trust certificates they issue.
38 + # No upper bound: certifi is a CA bundle on calendar versions, and a cap
39 + # would block future root removals.
40 "certifi>=2026.10.19",
41 ]
42 classifiers = [
@@ -55,3 +64,11 @@ dev = [
64 # CrewAI 1.x currently constrains Tomli to the 2.0 line.
65 "tomli>=2.0.2,<2.1",
66 ]
67 +# The release build installs only this group, from uv.lock, and builds with
68 +# `--no-isolation` so no unlocked build backend is fetched at release time.
69 +# Pinned exactly; only move to releases at least three days old, matching
70 +# pnpm's `minimumReleaseAge`.
71 +release = [
72 + "build==1.6.1",
73 + "setuptools==84.0.0",
74 +]
python/setup.py
+12 -8
@@ -22,24 +22,28 @@ setup(
22 ],
23 python_requires=">=3.11,<3.16",
24 packages=find_packages(include=["composio*"]),
25 + # Keep in sync with pyproject.toml, which explains the upper bounds.
26 install_requires=[
26 - "pysher>=1.0.8",
27 - "pydantic>=2.11.9",
27 + # Unmaintained since 2022: pin exactly. websocket-client is its transport.
28 + "pysher==1.0.8",
29 + "websocket-client<2",
30 + "pydantic>=2.11.9,<3",
31 "composio-client==2.0.0rc19",
29 - "typing-extensions>=4.16.0",
30 - "openai>=2.48.0",
31 - "json-schema-to-pydantic>=0.4.11",
32 - "jsonschema>=4.23.0",
32 + "typing-extensions>=4.16.0,<5",
33 + "openai>=2.48.0,<4",
34 + "json-schema-to-pydantic>=0.4.11,<1",
35 + "jsonschema>=4.23.0,<5",
36 # `get_connection_with_tls_context` (the pinning adapter's mount
37 # point) is only called by `HTTPAdapter.send` on requests >= 2.32.2.
38 # 2.32.4 fixes GHSA-9hjg-9r4m-mvj7 (.netrc credentials leak).
36 - "requests>=2.32.4",
39 + "requests>=2.32.4,<3",
40 # `url_safety` imports urllib3 directly and needs 2.x: 1.x has no
41 # `NameResolutionError` and different connection internals.
42 # 2.7.0 fixes GHSA-mf9v-mfxr-j63j and GHSA-qccp-gfcp-xxvc.
40 - "urllib3>=2.7.0",
43 + "urllib3>=2.7.0,<3",
44 # `requests` verifies TLS against certifi's bundle. 2026.10.19 drops
45 # the emSign ECC Root CA - G3 root (compromised eMudhra intermediates).
46 + # No upper bound: a cap would block future CA bundle updates.
47 "certifi>=2026.10.19",
48 ],
49 include_package_data=True,
test/release-workflow.test.ts
+24
@@ -525,6 +525,30 @@ if (
525 'py.release.yml must build only the core package for prereleases and all Python packages for stable releases'
526 );
527 }
528 +for (const input of ['run: uv sync --locked --only-group release', 'BUILD_ARGS: --no-isolation']) {
529 + if (!pythonReleaseWorkflow.includes(input)) {
530 + throw new Error(`py.release.yml must build from uv.lock: ${input}`);
531 + }
532 +}
533 +{
534 + // Only the publish job may request an OIDC token; build steps must never see it.
535 + const workflow = Bun.YAML.parse(pythonReleaseWorkflow);
536 + const grantsToken = permissions =>
537 + typeof permissions === 'string'
538 + ? permissions === 'write-all'
539 + : permissions?.['id-token'] === 'write';
540 + const tokenJobs = Object.entries(workflow.jobs)
541 + .filter(([, job]) => grantsToken(job.permissions))
542 + .map(([name]) => name);
543 + if (grantsToken(workflow.permissions) || tokenJobs.join() !== 'publish') {
544 + throw new Error('py.release.yml must grant id-token: write to the publish job only');
545 + }
546 +}
547 +for (const input of ['make env', 'password:', 'PYPI_PASSWORD', 'PYPI_USERNAME']) {
548 + if (pythonReleaseWorkflow.includes(input)) {
549 + throw new Error(`py.release.yml must not install unlocked deps or use PyPI tokens: ${input}`);
550 + }
551 +}
552
553 {
554 const pythonVersion = readPyprojectVersion(pythonPyproject, 'python/pyproject.toml version');
ts/packages/providers/anthropic/package.json
+1 -5
@@ -45,15 +45,11 @@
45 "license": "ISC",
46 "peerDependencies": {
47 "@anthropic-ai/sdk": "^0.110.0 || ^0.120.0 || ^0.124.0 || ^0.125.0 || ^0.127.0 || ^0.132.0 || ^0.133.0",
48 - "@composio/core": ">=0.10.0 <1.0.0 || >=1.0.0-beta.0 <1.0.0",
49 - "@mastra/mcp": "^1.13.1"
48 + "@composio/core": ">=0.10.0 <1.0.0 || >=1.0.0-beta.0 <1.0.0"
49 },
50 "devDependencies": {
51 "@anthropic-ai/sdk": "^0.133.0",
52 "@composio/core": "workspace:*",
54 - "@mastra/core": "catalog:",
55 - "@mastra/mcp": "^1.18.0",
56 - "ai": "^6.0.302",
53 "tsdown": "catalog:",
54 "typescript": "catalog:",
55 "vitest": "catalog:"
uv.lock
+33 -14
@@ -778,6 +778,7 @@ dependencies = [
778 { name = "requests" },
779 { name = "typing-extensions" },
780 { name = "urllib3" },
781 + { name = "websocket-client" },
782 ]
783
784 [package.dev-dependencies]
@@ -797,19 +798,24 @@ dev = [
798 { name = "tomli" },
799 { name = "twine" },
800 ]
801 +release = [
802 + { name = "build" },
803 + { name = "setuptools" },
804 +]
805
806 [package.metadata]
807 requires-dist = [
808 { name = "certifi", specifier = ">=2026.10.19" },
809 { name = "composio-client", specifier = "==2.0.0rc19" },
805 - { name = "json-schema-to-pydantic", specifier = ">=0.4.11" },
806 - { name = "jsonschema", specifier = ">=4.23.0" },
807 - { name = "openai", specifier = ">=2.48.0" },
808 - { name = "pydantic", specifier = ">=2.11.9" },
809 - { name = "pysher", specifier = ">=1.0.8" },
810 - { name = "requests", specifier = ">=2.32.4" },
811 - { name = "typing-extensions", specifier = ">=4.16.0" },
812 - { name = "urllib3", specifier = ">=2.7.0" },
810 + { name = "json-schema-to-pydantic", specifier = ">=0.4.11,<1" },
811 + { name = "jsonschema", specifier = ">=4.23.0,<5" },
812 + { name = "openai", specifier = ">=2.48.0,<4" },
813 + { name = "pydantic", specifier = ">=2.11.9,<3" },
814 + { name = "pysher", specifier = "==1.0.8" },
815 + { name = "requests", specifier = ">=2.32.4,<3" },
816 + { name = "typing-extensions", specifier = ">=4.16.0,<5" },
817 + { name = "urllib3", specifier = ">=2.7.0,<3" },
818 + { name = "websocket-client", specifier = "<2" },
819 ]
820
821 [package.metadata.requires-dev]
@@ -829,6 +835,10 @@ dev = [
835 { name = "tomli", specifier = ">=2.0.2,<2.1" },
836 { name = "twine", specifier = ">=6.2.0" },
837 ]
838 +release = [
839 + { name = "build", specifier = "==1.6.1" },
840 + { name = "setuptools", specifier = "==84.0.0" },
841 +]
842
843 [[package]]
844 name = "composio-anthropic"
@@ -841,7 +851,7 @@ dependencies = [
851
852 [package.metadata]
853 requires-dist = [
844 - { name = "anthropic", specifier = ">=0.120.0" },
854 + { name = "anthropic", specifier = ">=0.120.0,<3" },
855 { name = "composio" },
856 ]
857
@@ -886,7 +896,7 @@ dependencies = [
896 [package.metadata]
897 requires-dist = [
898 { name = "composio" },
889 - { name = "google-genai", specifier = ">=2.14.0" },
899 + { name = "google-genai", specifier = ">=2.14.0,<3" },
900 ]
901
902 [[package]]
@@ -901,7 +911,7 @@ dependencies = [
911 [package.metadata]
912 requires-dist = [
913 { name = "composio" },
904 - { name = "google-cloud-aiplatform", specifier = ">=1.162.0" },
914 + { name = "google-cloud-aiplatform", specifier = ">=1.162.0,<3" },
915 ]
916
917 [[package]]
@@ -916,7 +926,7 @@ dependencies = [
926 [package.metadata]
927 requires-dist = [
928 { name = "composio" },
919 - { name = "google-adk", specifier = ">=2.5.0" },
929 + { name = "google-adk", specifier = ">=2.5.0,<3" },
930 ]
931
932 [[package]]
@@ -946,7 +956,7 @@ dependencies = [
956 [package.metadata]
957 requires-dist = [
958 { name = "composio" },
949 - { name = "openai", specifier = ">=2.48.0" },
959 + { name = "openai", specifier = ">=2.48.0,<4" },
960 ]
961
962 [[package]]
@@ -961,7 +971,7 @@ dependencies = [
971 [package.metadata]
972 requires-dist = [
973 { name = "composio" },
964 - { name = "openai-agents", specifier = ">=0.18.3" },
974 + { name = "openai-agents", specifier = ">=0.18.3,<1" },
975 ]
976
977 [[package]]
@@ -4931,6 +4941,15 @@ wheels = [
4941 { url = "https://files.pythonhosted.org/packages/be/02/bce7a1d70e9d0f6ea8623c16386138c251b5855af6cd3a11433d3fba4e66/semver-3.1.0-py3-none-any.whl", hash = "sha256:6e4998f8b4762acdfea85f9bfd5b4032e0bb50038dc04bf82011b42d5d1145c5", size = 18783, upload-time = "2026-09-12T18:38:12.457Z" },
4942 ]
4943
4944 +[[package]]
4945 +name = "setuptools"
4946 +version = "84.0.0"
4947 +source = { registry = "https://pypi.org/simple" }
4948 +sdist = { url = "https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz", hash = "sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73", size = 1168449, upload-time = "2026-08-08T18:27:58.365Z" }
4949 +wheels = [
4950 + { url = "https://files.pythonhosted.org/packages/95/9c/c510029fc6ef33a6275cd2c5d3cecd6613dfd6aa401d57c54f1c18852ccf/setuptools-84.0.0-py3-none-any.whl", hash = "sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670", size = 818216, upload-time = "2026-08-08T18:27:56.719Z" },
4951 +]
4952 +
4953 [[package]]
4954 name = "shellingham"
4955 version = "1.5.4"