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

next
toml 85 lines 3.33 KB
Raw
1 [project]
2 name = "composio"
3 version = "0.34.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 = [
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.1.36",
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.
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).
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 = [
43 "Programming Language :: Python :: 3",
44 "License :: OSI Approved :: Apache Software License",
45 "Operating System :: OS Independent",
46 ]
47
48 [dependency-groups]
49 dev = [
50 "composio",
51 "nox>=2026.7.11",
52 "pytest>=9.1.1",
53 "pytest-timeout>=2.4.0",
54 "pytest-mock>=3.15.1",
55 "hypothesis>=6.140.3",
56 "requests>=2.34.2",
57 "ruff>=0.16.0",
58 # Langchain provider demo
59 "langchain_openai==1.6.0",
60 "fastapi>=0.140.0",
61 "twine>=6.2.0",
62 "click>=8.4.2",
63 "semver>=3.0.4",
64 # CrewAI 1.x currently constrains Tomli to the 2.0 line.
65 "tomli>=2.0.2,<2.1",
66 ]
67 # Docs examples use this locked group instead of an unlocked `uv run --with`
68 # overlay. Keep the mypy version in sync with noxfile.py.
69 docs-snippets = [
70 "mypy==2.3.1",
71 ]
72 # `scripts/generate-docs.py` runs with only this group, so the SDK reference
73 # that CI checks for drift and the one release preparation writes come from
74 # the same generator version.
75 docs-reference = [
76 "griffe==2.3.0",
77 ]
78 # The release build installs only this group, from uv.lock, and builds with
79 # `--no-isolation` so no unlocked build backend is fetched at release time.
80 # Pinned exactly; only move to releases at least three days old, matching
81 # pnpm's `minimumReleaseAge`.
82 release = [
83 "build==1.6.1",
84 "setuptools==84.1.0",
85 ]