llamaIndex - ✅(Solved) Fix [Bug]: llama-index 0.14.18 incompatible with llama-index-llms-cerebras [1 pull requests, 2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
run-llama/llama_index#21100Fetched 2026-04-08 01:08:13
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×2commented ×1cross-referenced ×1mentioned ×1

Error Message

results in the following error

Root Cause

results in the following error

 × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of llama-index-llms-openai-like are available:
          llama-index-llms-openai-like<=0.5.0
          llama-index-llms-openai-like==0.5.1
          llama-index-llms-openai-like==0.5.2
          llama-index-llms-openai-like==0.5.3
          llama-index-llms-openai-like>=0.6
      and llama-index-llms-openai-like>=0.5.0,<=0.5.1 depends on llama-index-llms-openai>=0.5.0,<0.6, we can conclude that llama-index-llms-openai-like>=0.5.0,<0.5.2 depends on llama-index-llms-openai>=0.5.0,<0.6.
      And because llama-index-llms-openai-like>=0.5.2,<=0.5.3 depends on llama-index-llms-openai>=0.6.0,<0.7 and llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai-like>=0.5.0,<0.6, we can conclude that llama-index-llms-cerebras>=0.3.0 depends on
      llama-index-llms-openai>=0.5.0,<0.7. (1)

PR fix notes

PR #21272: fix: bump llama-index-llms-cerebras openai-like dependency to >=0.7.0

Description (problem / solution / changelog)

Summary

Fixes #21100

llama-index-llms-cerebras pins llama-index-llms-openai-like>=0.5.0,<0.6, but llama-index 0.14.18 requires llama-index-llms-openai>=0.7.0 which pulls in llama-index-llms-openai-like 0.7.x. This creates an impossible dependency resolution.

Same pattern as #19944 — bump the upper bound so cerebras is compatible with the current openai-like release.

Change

llama-index-llms-cerebras/pyproject.toml: llama-index-llms-openai-like>=0.5.0,<0.6>=0.7.0,<0.8

Changed files

  • llama-index-integrations/llms/llama-index-llms-cerebras/pyproject.toml (modified, +1/-1)

Code Example

uv init
uv add llama-index
uv add llama-index-llms-cerebras

---

× No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of llama-index-llms-openai-like are available:
          llama-index-llms-openai-like<=0.5.0
          llama-index-llms-openai-like==0.5.1
          llama-index-llms-openai-like==0.5.2
          llama-index-llms-openai-like==0.5.3
          llama-index-llms-openai-like>=0.6
      and llama-index-llms-openai-like>=0.5.0,<=0.5.1 depends on llama-index-llms-openai>=0.5.0,<0.6, we can conclude that llama-index-llms-openai-like>=0.5.0,<0.5.2 depends on llama-index-llms-openai>=0.5.0,<0.6.
      And because llama-index-llms-openai-like>=0.5.2,<=0.5.3 depends on llama-index-llms-openai>=0.6.0,<0.7 and llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai-like>=0.5.0,<0.6, we can conclude that llama-index-llms-cerebras>=0.3.0 depends on
      llama-index-llms-openai>=0.5.0,<0.7. (1)

      Because only the following versions of llama-index-llms-cerebras are available:
          llama-index-llms-cerebras==0.1.0
          llama-index-llms-cerebras==0.2.0
          llama-index-llms-cerebras==0.2.1
          llama-index-llms-cerebras==0.2.2
          llama-index-llms-cerebras==0.2.3
          llama-index-llms-cerebras==0.3.0
          llama-index-llms-cerebras==0.3.1
          llama-index-llms-cerebras==0.4.0
      and llama-index-llms-cerebras==0.1.0 depends on llama-index-core>=0.11.0,<0.12.0, we can conclude that llama-index-llms-cerebras<0.2.0 depends on llama-index-core>=0.11.0,<0.12.0.
      And because llama-index-llms-cerebras>=0.2.0,<=0.2.3 depends on llama-index-core>=0.12.0,<0.13.0, we can conclude that llama-index-llms-cerebras<0.3.0 depends on llama-index-core>=0.11.0,<0.13.0.
      And because we know from (1) that llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai>=0.5.0,<0.7, we can conclude that all of:
          llama-index-core<0.11.0
          llama-index-core>=0.13.0
      , all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-core>=0.14.18, we can conclude that llama-index==0.14.18, all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-llms-openai>=0.7.0 and only llama-index<=0.14.18 is available, we can conclude that llama-index>=0.14.18 and all versions of llama-index-llms-cerebras are incompatible.
      And because your project depends on llama-index>=0.14.18 and llama-index-llms-cerebras, we can conclude that your project's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.

---

uv init
uv add llama-index
uv add llama-index-llms-cerebras

---

× No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of llama-index-llms-openai-like are available:
          llama-index-llms-openai-like<=0.5.0
          llama-index-llms-openai-like==0.5.1
          llama-index-llms-openai-like==0.5.2
          llama-index-llms-openai-like==0.5.3
          llama-index-llms-openai-like>=0.6
      and llama-index-llms-openai-like>=0.5.0,<=0.5.1 depends on llama-index-llms-openai>=0.5.0,<0.6, we can conclude that llama-index-llms-openai-like>=0.5.0,<0.5.2 depends on llama-index-llms-openai>=0.5.0,<0.6.
      And because llama-index-llms-openai-like>=0.5.2,<=0.5.3 depends on llama-index-llms-openai>=0.6.0,<0.7 and llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai-like>=0.5.0,<0.6, we can conclude that llama-index-llms-cerebras>=0.3.0 depends on
      llama-index-llms-openai>=0.5.0,<0.7. (1)

      Because only the following versions of llama-index-llms-cerebras are available:
          llama-index-llms-cerebras==0.1.0
          llama-index-llms-cerebras==0.2.0
          llama-index-llms-cerebras==0.2.1
          llama-index-llms-cerebras==0.2.2
          llama-index-llms-cerebras==0.2.3
          llama-index-llms-cerebras==0.3.0
          llama-index-llms-cerebras==0.3.1
          llama-index-llms-cerebras==0.4.0
      and llama-index-llms-cerebras==0.1.0 depends on llama-index-core>=0.11.0,<0.12.0, we can conclude that llama-index-llms-cerebras<0.2.0 depends on llama-index-core>=0.11.0,<0.12.0.
      And because llama-index-llms-cerebras>=0.2.0,<=0.2.3 depends on llama-index-core>=0.12.0,<0.13.0, we can conclude that llama-index-llms-cerebras<0.3.0 depends on llama-index-core>=0.11.0,<0.13.0.
      And because we know from (1) that llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai>=0.5.0,<0.7, we can conclude that all of:
          llama-index-core<0.11.0
          llama-index-core>=0.13.0
      , all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-core>=0.14.18, we can conclude that llama-index==0.14.18, all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-llms-openai>=0.7.0 and only llama-index<=0.14.18 is available, we can conclude that llama-index>=0.14.18 and all versions of llama-index-llms-cerebras are incompatible.
      And because your project depends on llama-index>=0.14.18 and llama-index-llms-cerebras, we can conclude that your project's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.
RAW_BUFFERClick to expand / collapse

Bug Description

Dear LLama Index team,

The latest version of llama-index 0.14.18 is incompatible with llama-index-llms-cerebras. E.g. running the commands

uv init
uv add llama-index
uv add llama-index-llms-cerebras

results in the following error

 × No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of llama-index-llms-openai-like are available:
          llama-index-llms-openai-like<=0.5.0
          llama-index-llms-openai-like==0.5.1
          llama-index-llms-openai-like==0.5.2
          llama-index-llms-openai-like==0.5.3
          llama-index-llms-openai-like>=0.6
      and llama-index-llms-openai-like>=0.5.0,<=0.5.1 depends on llama-index-llms-openai>=0.5.0,<0.6, we can conclude that llama-index-llms-openai-like>=0.5.0,<0.5.2 depends on llama-index-llms-openai>=0.5.0,<0.6.
      And because llama-index-llms-openai-like>=0.5.2,<=0.5.3 depends on llama-index-llms-openai>=0.6.0,<0.7 and llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai-like>=0.5.0,<0.6, we can conclude that llama-index-llms-cerebras>=0.3.0 depends on
      llama-index-llms-openai>=0.5.0,<0.7. (1)

      Because only the following versions of llama-index-llms-cerebras are available:
          llama-index-llms-cerebras==0.1.0
          llama-index-llms-cerebras==0.2.0
          llama-index-llms-cerebras==0.2.1
          llama-index-llms-cerebras==0.2.2
          llama-index-llms-cerebras==0.2.3
          llama-index-llms-cerebras==0.3.0
          llama-index-llms-cerebras==0.3.1
          llama-index-llms-cerebras==0.4.0
      and llama-index-llms-cerebras==0.1.0 depends on llama-index-core>=0.11.0,<0.12.0, we can conclude that llama-index-llms-cerebras<0.2.0 depends on llama-index-core>=0.11.0,<0.12.0.
      And because llama-index-llms-cerebras>=0.2.0,<=0.2.3 depends on llama-index-core>=0.12.0,<0.13.0, we can conclude that llama-index-llms-cerebras<0.3.0 depends on llama-index-core>=0.11.0,<0.13.0.
      And because we know from (1) that llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai>=0.5.0,<0.7, we can conclude that all of:
          llama-index-core<0.11.0
          llama-index-core>=0.13.0
      , all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-core>=0.14.18, we can conclude that llama-index==0.14.18, all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-llms-openai>=0.7.0 and only llama-index<=0.14.18 is available, we can conclude that llama-index>=0.14.18 and all versions of llama-index-llms-cerebras are incompatible.
      And because your project depends on llama-index>=0.14.18 and llama-index-llms-cerebras, we can conclude that your project's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.

Version

0.14.18

Steps to Reproduce

uv init
uv add llama-index
uv add llama-index-llms-cerebras

Relevant Logs/Tracbacks

× No solution found when resolving dependencies:
  ╰─▶ Because only the following versions of llama-index-llms-openai-like are available:
          llama-index-llms-openai-like<=0.5.0
          llama-index-llms-openai-like==0.5.1
          llama-index-llms-openai-like==0.5.2
          llama-index-llms-openai-like==0.5.3
          llama-index-llms-openai-like>=0.6
      and llama-index-llms-openai-like>=0.5.0,<=0.5.1 depends on llama-index-llms-openai>=0.5.0,<0.6, we can conclude that llama-index-llms-openai-like>=0.5.0,<0.5.2 depends on llama-index-llms-openai>=0.5.0,<0.6.
      And because llama-index-llms-openai-like>=0.5.2,<=0.5.3 depends on llama-index-llms-openai>=0.6.0,<0.7 and llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai-like>=0.5.0,<0.6, we can conclude that llama-index-llms-cerebras>=0.3.0 depends on
      llama-index-llms-openai>=0.5.0,<0.7. (1)

      Because only the following versions of llama-index-llms-cerebras are available:
          llama-index-llms-cerebras==0.1.0
          llama-index-llms-cerebras==0.2.0
          llama-index-llms-cerebras==0.2.1
          llama-index-llms-cerebras==0.2.2
          llama-index-llms-cerebras==0.2.3
          llama-index-llms-cerebras==0.3.0
          llama-index-llms-cerebras==0.3.1
          llama-index-llms-cerebras==0.4.0
      and llama-index-llms-cerebras==0.1.0 depends on llama-index-core>=0.11.0,<0.12.0, we can conclude that llama-index-llms-cerebras<0.2.0 depends on llama-index-core>=0.11.0,<0.12.0.
      And because llama-index-llms-cerebras>=0.2.0,<=0.2.3 depends on llama-index-core>=0.12.0,<0.13.0, we can conclude that llama-index-llms-cerebras<0.3.0 depends on llama-index-core>=0.11.0,<0.13.0.
      And because we know from (1) that llama-index-llms-cerebras>=0.3.0 depends on llama-index-llms-openai>=0.5.0,<0.7, we can conclude that all of:
          llama-index-core<0.11.0
          llama-index-core>=0.13.0
      , all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-core>=0.14.18, we can conclude that llama-index==0.14.18, all versions of llama-index-llms-cerebras, all of:
          llama-index-llms-openai<0.5.0
          llama-index-llms-openai>=0.7
       are incompatible.
      And because llama-index==0.14.18 depends on llama-index-llms-openai>=0.7.0 and only llama-index<=0.14.18 is available, we can conclude that llama-index>=0.14.18 and all versions of llama-index-llms-cerebras are incompatible.
      And because your project depends on llama-index>=0.14.18 and llama-index-llms-cerebras, we can conclude that your project's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.

extent analysis

Fix Plan

The issue is due to incompatible versions of llama-index and llama-index-llms-cerebras. To fix this, we need to use a compatible version of llama-index with llama-index-llms-cerebras.

  • Downgrade llama-index to a version that is compatible with llama-index-llms-cerebras, for example, 0.13.0.
  • Use the --frozen flag to skip locking and syncing, as suggested in the error message.

Example commands:

uv init
uv add [email protected]
uv add llama-index-llms-cerebras

Alternatively, you can use the --frozen flag:

uv init
uv add llama-index
uv add llama-index-llms-cerebras --frozen

Verification

To verify that the fix worked, run the following command:

uv list

This should list the installed packages, including llama-index and llama-index-llms-cerebras, without any errors.

Extra Tips

  • Make sure to check the compatibility of packages before installing them.
  • Use the --frozen flag with caution, as it can lead to unexpected behavior if the dependencies are not properly resolved.
  • Consider using a package manager that can handle dependencies more effectively, such as pip or npm.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING