feat(build): add uv package manager support for faster installation#790
Open
back2zion wants to merge 1 commit intoCinnamon:mainfrom
Open
feat(build): add uv package manager support for faster installation#790back2zion wants to merge 1 commit intoCinnamon:mainfrom
back2zion wants to merge 1 commit intoCinnamon:mainfrom
Conversation
- Add uv workspace configuration to pyproject.toml - Create run_uv.sh script for automated uv-based installation - Update README with uv installation option (10-100x faster than conda) - Add uv.lock for reproducible builds - Maintain backward compatibility with existing conda setup - Fix known dependency conflicts (hnswlib, chroma-hnswlib) Benefits: - Faster dependency resolution (seconds vs minutes) - Simplified installation process (~50 lines vs 200+ lines) - Cross-platform compatibility - Reproducible builds with lock file - Better development experience - Automatic Python version management
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.
Benefits:
Description
This PR introduces uv package manager support as a faster alternative to conda-based installation. This addresses installation complexity and speed issues commonly faced by users.
Provides 10-100x faster dependency resolution compared to conda
Simplifies installation from 200+ line bash script to ~50 lines
Maintains full backward compatibility with existing conda setup
Fixes known dependency conflicts automatically
No breaking changes - all existing functionality remains unchanged.
Type of change
cause existing functionality not to work as
expected).
Checklist
feature.
report and related work.
hard-to-understand areas.