Repository navigation
fix: align optional-extras pins so uv sync resolves - #2794
Merged
Merged
Conversation
Collaborator
|
@SarthakB11 Thank you for the pull request! @Lancetnik I've verified that these changes solve the uv sync issue. |
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
Lancetnik
approved these changes
May 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
uv syncfails on a fresh clone because several optional extras inpyproject.tomlcarry pins that conflict with each other or with their own transitive dependencies.pip installresolves greedily for the active interpreter and silently picks one path, so the conflicts stay invisible to it;uvcross-resolves the full extras matrix and surfaces them. Issue #2770 enumerates the specific cases.pyproject.tomlonly:[rag]: widenllama-index-llms-openaiandllama-index-embeddings-openaiupper bounds to<0.8.llama-index>=0.14.13transitively requires the newer sub-package versions, so the previous<0.6pins made[rag]internally inconsistent.[neo4j]: alignllama-index/llama-index-coreto>=0.14.13,<0.15(matching[rag]) so the two extras can co-install. Bumpllama-index-graph-stores-neo4jandllama-index-readers-webupper bounds to<0.7accordingly.[autobuild]: alignchromadbto>=1.4.1,<1.5(matching[retrievechat]).[test]: replace exact pins with ranges.fastapi>=0.115.0,<1(was==0.116.1, blocked[nlip]whosenlip-serverrequiresfastapi<0.116.0) andpandas>=2.2.0,<3(was==2.3.3, conflicted withllama-index-readers-file<0.5.6).Validated locally:
uv lock --no-cacheresolves successfully on Python 3.13 with uv 0.11.7 (802 packages); without these changes resolution fails with the conflicts listed in #2770.The
graphrag_sdk==0.8.2/pypdf/pandaschain (issue conflict #5) is not pinned here; it resolves transitively throughllama-index-readers-file. Addinguv syncto CI (issue suggestion #5) is intentionally out of scope.Related issue number
Fixes #2770
Checks
AI assistance