Skip to content

feat: add uv dependency management with pyproject.toml#205

Open
littlewwwhite wants to merge 1 commit intoVectifyAI:mainfrom
littlewwwhite:feat/uv-dependency-management
Open

feat: add uv dependency management with pyproject.toml#205
littlewwwhite wants to merge 1 commit intoVectifyAI:mainfrom
littlewwwhite:feat/uv-dependency-management

Conversation

@littlewwwhite
Copy link
Copy Markdown

Summary

  • Add pyproject.toml with PEP 621 project metadata and pinned dependencies aligned with existing requirements.txt
  • Add uv.lock for reproducible dependency resolution
  • Add .python-version (3.12) for uv python version pinning
  • Update README with uv sync as recommended install method, keeping pip as fallback

Motivation

The project currently only uses a flat requirements.txt for dependency management. Adding uv support provides:

  • Reproducible buildsuv.lock locks the full dependency tree, preventing implicit version drift
  • Faster installs — uv is 10-100x faster than pip
  • Standard metadatapyproject.toml follows PEP 517/518/621, the modern Python packaging standard
  • Backward compatible — existing pip install -r requirements.txt workflow is preserved

Test plan

  • uv sync installs all dependencies successfully
  • Core imports verified (litellm, pymupdf, PyPDF2, dotenv, yaml)
  • uv.lock uses official PyPI registry (no mirror URLs)
  • Maintainer review of Python version constraint (>=3.10) and dependency pins

Add modern Python packaging with uv support while keeping pip
compatibility via requirements.txt.

- Add pyproject.toml with PEP 621 metadata and pinned dependencies
- Add uv.lock for reproducible installs
- Add .python-version (3.12) for uv python pinning
- Update README with uv sync as recommended install method
Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

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.

1 participant