Skip to content

Conversation

@anubhav756
Copy link
Contributor

@anubhav756 anubhav756 commented Nov 17, 2025

This PR resolves a dependency installation failure that occurs when upgrading llama-index to version 0.14.8 (#390).

Problem

The upgrade to llama-index==0.14.8 introduced a conflict with one of its transitive dependencies, llama-index-cli. The error arises because:

  • llama-index==0.14.8 requires llama-index-core>=0.14.8.
  • The older version of llama-index-cli that was being selected by the installer requires llama-index-core<0.14.0.

These two requirements are mutually exclusive, causing the installation to fail.

Solution

This PR addresses the conflict by explicitly pinning the transitive dependency to a newer, compatible version. By adding llama-index-cli==0.5.3 to the requirements.txt file, we instruct the package manager to use a version of the CLI tool that has updated its own dependencies to be compatible with the newer llama-index ecosystem.

@anubhav756 anubhav756 self-assigned this Nov 17, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner November 17, 2025 13:08
@anubhav756 anubhav756 changed the title fix(deps): pin llama-index-cli to resolve dependency conflict deps: pin llama-index-cli to resolve dependency conflict Nov 17, 2025
This PR resolves a dependency installation failure that occurs when upgrading `llama-index` to version `0.14.8` (#390).

#### Problem

The upgrade to `llama-index==0.14.8` introduced a conflict with one of its transitive dependencies, `llama-index-cli`. The error arises because:

*   `llama-index==0.14.8` requires `llama-index-core>=0.14.8`.
*   The older version of `llama-index-cli` that was being selected by the installer requires `llama-index-core<0.14.0`.

These two requirements are mutually exclusive, causing the installation to fail.

#### Solution

This PR addresses the conflict by explicitly pinning the transitive dependency to a newer, compatible version. By adding `llama-index-cli==0.5.3` to the `requirements.txt` file, we instruct the package manager to use a version of the CLI tool that has updated its own dependencies to be compatible with the newer `llama-index` ecosystem.
@anubhav756 anubhav756 merged commit 6b43d24 into main Nov 17, 2025
17 checks passed
@anubhav756 anubhav756 deleted the anubhav756-patch-1 branch November 17, 2025 13:16
@release-please release-please bot mentioned this pull request Nov 17, 2025
@anubhav756 anubhav756 changed the title deps: pin llama-index-cli to resolve dependency conflict chore(deps): pin llama-index-cli to resolve dependency conflict Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants