mirror of
https://github.com/ComposioHQ/composio.git
synced 2026-09-22 11:46:35 +08:00
a423a799c4
Refreshes the Python SDK's core + provider dependency ranges and uv locks to the **newest cutoff-compatible** versions, and makes the locks self-consistent. ## What changed - Bumps core + provider dependency ranges (`pyproject.toml` / `setup.py`) and regenerates all three uv locks (root, `openai`, `claude_agent_sdk`) to the newest available versions. - Keeps `composio-client==1.41.0` (the current newest, released 2026-06-19). - Caps `crewai>=0.134.0,<0.135.0`: crewai 1.x requires `pydantic>=2.11.9,<2.13`, which conflicts with composio core's `pydantic>=2.13.4`. Staying on crewai 0.x keeps the newest pydantic for everything else; the provider only uses `crewai.tools.BaseTool`, which is unaffected. - Drops the one-shot `--exclude-newer` cutoff that had been recorded in the lock `[options]` but was not backed by any `[tool.uv]` config — it broke `uv lock --check` and held packages a few releases behind newest. - Pins nox-installed tools/stubs in `noxfile.py` to the matching newest versions. ## Resolution result - Root lock: **161 upgrades, 0 downgrades** vs `next`. - Provider locks: **0 downgrades** vs `next` (openai +14, claude_agent_sdk +29). ## Verification - `uv lock --check` — clean on all three locks. - `uv run --frozen --all-packages pytest python/tests/test_imports.py` — 8/8 passing. - `uv run --frozen nox -s chk` — ruff clean + mypy 0 issues across 80 source files. Supersedes https://github.com/ComposioHQ/composio/pull/3622 (which was opened from a fork).
38 lines
874 B
TOML
38 lines
874 B
TOML
[project]
|
|
name = "composio"
|
|
version = "0.16.0"
|
|
description = "SDK for integrating Composio with your applications."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10,<4"
|
|
dependencies = [
|
|
"pysher>=1.0.8",
|
|
"pydantic>=2.13.4",
|
|
"composio-client==1.41.0",
|
|
"typing-extensions>=4.15.0",
|
|
"openai>=2.42.0",
|
|
"json-schema-to-pydantic>=0.4.11",
|
|
]
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"composio",
|
|
"nox>=2026.4.10",
|
|
"pytest>=9.1.0",
|
|
"pytest-timeout>=2.4.0",
|
|
"pytest-mock>=3.15.1",
|
|
"requests>=2.34.2",
|
|
"ruff>=0.15.17",
|
|
# Langchain provider demo
|
|
"langchain_openai==1.3.2",
|
|
"fastapi>=0.137.1",
|
|
"twine>=6.2.0",
|
|
"click>=8.4.1",
|
|
"semver>=3.0.4",
|
|
"tomli>=2.4.1",
|
|
]
|