llamaIndex - ✅(Solved) Fix [Bug]: llama-index-embeddings-azure-openai 0.5.1 is still dependent on llama-index-llms-azure-openai>=0.4.0,<0.5 [2 pull requests, 1 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#21165Fetched 2026-04-08 01:36:26
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
cross-referenced ×2labeled ×2closed ×1commented ×1

Root Cause

uv sync --upgrade
  × No solution found when resolving dependencies:
  ╰─▶ Because only llama-index-embeddings-azure-openai<=0.5.1 is available and
      llama-index-embeddings-azure-openai==0.5.1 depends on llama-index-llms-azure-openai>=0.4.0,<0.5,
      we can conclude that llama-index-embeddings-azure-openai>=0.5.1 depends on
      llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-embeddings-azure-openai>=0.5.1, we can conclude
      that your project depends on llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-llms-azure-openai>=0.5.0,<0.6.0 and your
      project requires cyberassist[dev], we can conclude that your project's requirements are
      unsatisfiable.

Fix Action

Fixed

PR fix notes

PR #21168: azure vbump

Description (problem / solution / changelog)

Fixes https://github.com/run-llama/llama_index/issues/21165

Changed files

  • llama-index-integrations/embeddings/llama-index-embeddings-azure-openai/pyproject.toml (modified, +1/-1)

PR #21170: fix: Azure OpenAI embeddings' dependencies

Description (problem / solution / changelog)

Description

Updated the upper bound from <0.5 to <0.6 in the Azure OpenAI embeddings package's pyproject.toml.

Fixes #21165

New Package?

Did I fill in the tool.llamahub section in the pyproject.toml and provide a detailed README.md for my new integration or package?

  • Yes
  • No

Version Bump?

Did I bump the version in the pyproject.toml file of the package I am updating? (Except for the llama-index-core package)

  • Yes
  • No

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Your pull-request will likely not be merged unless it is covered by some form of impactful unit testing.

  • I added new unit tests to cover this change
  • I believe this change is already covered by existing unit tests

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added Google Colab support for the newly added notebooks.
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I ran uv run make format; uv run make lint to appease the lint gods

Changed files

  • llama-index-integrations/embeddings/llama-index-embeddings-azure-openai/pyproject.toml (modified, +1/-1)

Code Example

uv sync --upgrade
  × No solution found when resolving dependencies:
  ╰─▶ Because only llama-index-embeddings-azure-openai<=0.5.1 is available and
      llama-index-embeddings-azure-openai==0.5.1 depends on llama-index-llms-azure-openai>=0.4.0,<0.5,
      we can conclude that llama-index-embeddings-azure-openai>=0.5.1 depends on
      llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-embeddings-azure-openai>=0.5.1, we can conclude
      that your project depends on llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-llms-azure-openai>=0.5.0,<0.6.0 and your
      project requires cyberassist[dev], we can conclude that your project's requirements are
      unsatisfiable.
RAW_BUFFERClick to expand / collapse

Bug Description

I'm not able to upgrade the version of llama-index-llms-azure-openai and llama-index-embeddings-azure-openai as llama-index-embeddings-azure-openai 0.5.1 is still dependent on llama-index-llms-azure-openai>=0.4.0,<0.5. Could you please check if this is intended or just a small miss in the latest release of these packages?

Version

0.14.16

Steps to Reproduce

Update the below packages to the respective version constraints mentioned below: llama-index-embeddings-azure-openai>=0.5.1,<0.6.0 llama-index-vector-stores-azureaisearch>=0.5.0,<0.6.0 llama-index-llms-azure-openai>=0.5.0,<0.6.0

Relevant Logs/Tracbacks

uv sync --upgrade
  × No solution found when resolving dependencies:
  ╰─▶ Because only llama-index-embeddings-azure-openai<=0.5.1 is available and
      llama-index-embeddings-azure-openai==0.5.1 depends on llama-index-llms-azure-openai>=0.4.0,<0.5,
      we can conclude that llama-index-embeddings-azure-openai>=0.5.1 depends on
      llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-embeddings-azure-openai>=0.5.1, we can conclude
      that your project depends on llama-index-llms-azure-openai>=0.4.0,<0.5.
      And because your project depends on llama-index-llms-azure-openai>=0.5.0,<0.6.0 and your
      project requires cyberassist[dev], we can conclude that your project's requirements are
      unsatisfiable.

extent analysis

Fix Plan

The fix involves updating the dependency version constraints to ensure compatibility between llama-index-embeddings-azure-openai and llama-index-llms-azure-openai.

Step-by-Step Solution:

  1. Update llama-index-embeddings-azure-openai to a version that supports llama-index-llms-azure-openai version 0.5.0 or higher:

    • Check the latest version of llama-index-embeddings-azure-openai that supports llama-index-llms-azure-openai version 0.5.0 or higher.
    • Update the version constraint for llama-index-embeddings-azure-openai to the compatible version.
  2. Adjust version constraints in your project:

    • Update your project's requirements.txt or dependency configuration file to reflect the new version constraints.

Example requirements.txt update:

llama-index-embeddings-azure-openai>=0.5.2,<0.6.0
llama-index-vector-stores-azureaisearch>=0.5.0,<0.6.0
llama-index-llms-azure-openai>=0.5.0,<0.6.0

Assuming llama-index-embeddings-azure-openai version 0.5.2 supports llama-index-llms-azure-openai version 0.5.0 or higher.

  1. Run the upgrade command again:
    • After updating the version constraints, run uv sync --upgrade to apply the changes.

Verification

  • Verify that the upgrade is successful by checking the versions of the packages installed.
  • Test your project to ensure that the dependencies are compatible and functional.

Extra Tips

  • Always check the compatibility of dependencies before updating versions.
  • Consider using a dependency management tool to help resolve version conflicts.
  • If issues persist, consider reaching out to the package maintainers for further assistance.

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

llamaIndex - ✅(Solved) Fix [Bug]: llama-index-embeddings-azure-openai 0.5.1 is still dependent on llama-index-llms-azure-openai>=0.4.0,<0.5 [2 pull requests, 1 comments, 2 participants]