Integration Package Dependency Constraints#
Overview#
The llama-index-integrations monorepo ships each integration as an independent Python package with its own pyproject.toml. All inter-package dependencies use minor-version upper bounds (e.g., >=0.7.0,<0.8). When a "core" OpenAI integration like llama-index-llms-openai or llama-index-llms-openai-like releases a new minor version, every downstream package that pins an old upper bound becomes instantly incompatible with the new release. uv and pip will refuse to resolve the environment until those constraints are widened.
The Dependency Chain#
The affected packages form a layered dependency chain:
llama-index-llms-openai
└── llama-index-llms-azure-openai (pins llms-openai with <X.Y upper bound)
└── llama-index-embeddings-azure-openai (pins llms-azure-openai with <X.Y upper bound)
llama-index-llms-openai-like
└── llama-index-llms-cerebras, llama-index-llms-anyscale, etc.
Packages at the bottom of the chain accumulate two layers of pinning risk — they can be broken both by a llms-openai bump (which updates llms-azure-openai) and by a llms-azure-openai bump (which updates embeddings-azure-openai).
Current constraints (as of the referenced commit):
llama-index-llms-azure-openaipinsllama-index-llms-openai>=0.4.0,<0.5llama-index-embeddings-azure-openaipins bothllama-index-llms-azure-openai>=0.3.0,<0.4andllama-index-embeddings-openai>=0.3.0,<0.4
These are snapshot pins from a specific release; see the live pyproject.toml files for the current values.
Failure Mode#
When a new minor version of a fast-moving package is published (e.g., llms-openai 0.8.x), any downstream package still pinned to <0.8 produces an unsatisfiable dependency graph. The uv lock error looks like :
× No solution found when resolving dependencies:
╰─▶ Because only llama-index-llms-openai-like<=0.8.0 is available
and llama-index-llms-openai-like==0.8.0 depends on
llama-index-llms-openai>=0.7.0,<0.8,
we can conclude that llama-index-llms-openai-like>=0.8.0
depends on llama-index-llms-openai>=0.7.0,<0.8.
And because your project depends on llama-index-llms-openai>=0.8.2
and llama-index-llms-openai-like>=0.8.0, we can conclude that
your project's requirements are unsatisfiable.
This specific example was triggered by llms-openai jumping to 0.8.x (to support new GPT-6 models) while llms-openai-like was still pinned to <0.8 .
Historical Fixes#
This pattern has occurred repeatedly and is resolved the same way each time: widen the upper bound of the stale pin and cut a new patch release.
| Incident | Stale Pin | Fix PR |
|---|---|---|
llms-azure-openai couldn't accept llms-openai >=0.6 | <0.6 in llms-azure-openai | fix llm deps for openai (Sept 2025) — swept 28+ packages |
embeddings-azure-openai blocked by llms-azure-openai <0.5 | <0.5 in embeddings | azure vbump (Mar 2026) — widened to <0.6 |
| Same incident, package version bump | — | fix: Azure OpenAI embeddings' dependencies (Mar 2026) |
llms-cerebras pinned openai-like <0.6, blocked by 0.7.x | <0.6 in cerebras | bump cerebras openai-like to >=0.7.0 (Apr 2026) |
llms-azure-openai pinned llms-openai <0.8, blocked GPT-6 adoption | <0.8 in azure-openai | feat: add GPT-6 Astra, Sol, and Luna (Sept 2026) — widened to <0.9 |
| Broad version skew across many packages | multiple | vbump all the things (Mar 2026) — swept 40+ packages |
How to Fix#
When you hit an unsatisfiable dependency during uv lock / pip install:
- Identify the blocking pin. The resolver error names the exact package and the constraint range (e.g.,
llama-index-llms-openai>=0.7.0,<0.8). - Locate the
pyproject.tomlof the package that owns the stale pin (e.g.,llama-index-integrations/llms/llama-index-llms-openai-like/pyproject.toml). - Widen the upper bound to include the new minor version (e.g., change
<0.8→<0.9). Verify there are no API-breaking changes between the old and new minor versions. - Bump the patch version of the package whose constraint you changed.
- Open a PR and release. The Sept 2025 fix is the canonical template: it updated 28+ packages in one sweep when
llms-openaijumped a minor version.
If many packages are affected simultaneously, consider a sweep PR (like vbump all the things) to address all stale pins at once.
Key Files#
llama-index-integrations/llms/llama-index-llms-openai/pyproject.toml— the most-depended-upon leaf package; its version bump cascades widely.llama-index-integrations/llms/llama-index-llms-azure-openai/pyproject.toml— pinsllms-openai; depended on byembeddings-azure-openai.llama-index-integrations/embeddings/llama-index-embeddings-azure-openai/pyproject.toml— pins bothllms-azure-openaiandembeddings-openai.llama-index-integrations/llms/llama-index-llms-openai-like/pyproject.toml— pinsllms-openai; depended on by many provider packages (cerebras, anyscale, etc.).