Skip to content

Add uv project manifest (pyproject.toml + uv.lock)#170

Open
dokterbob wants to merge 1 commit into
john-rocky:mainfrom
dokterbob:feat/uv-deps
Open

Add uv project manifest (pyproject.toml + uv.lock)#170
dokterbob wants to merge 1 commit into
john-rocky:mainfrom
dokterbob:feat/uv-deps

Conversation

@dokterbob

@dokterbob dokterbob commented Jun 17, 2026

Copy link
Copy Markdown

Adds a uv project manifest so the conversion toolkit has a reproducible, locked environment.

  • pyproject.toml mirrors the existing conversion/requirements.txt pins (coremltools 9, torch 2.11, transformers 5.5, …) as a virtual project ([tool.uv] package = false) — it manages the env only, it does not build/install the flat conversion/ scripts as a wheel.
  • uv.lock pins the full resolved graph.

This is purely additive: python -m venv && pip install -r conversion/requirements.txt keeps working unchanged; uv sync / uv run … is just an alternative for those who want it. Kept as a separate PR from the pplx-embed feature so it can be accepted/declined independently.

This will dramatically accelerate the installation time and facilitate dependency management. As a matter of fact, I would recommend removing requirements.txt and going full-on for uv.

Mirrors conversion/requirements.txt pins as a uv-managed virtual project
(package=false) so `uv sync` / `uv run` provide a reproducible env for the
conversion toolkit without changing the existing pip workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dokterbob dokterbob marked this pull request as ready for review June 18, 2026 10:50
Copilot AI review requested due to automatic review settings June 18, 2026 10:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

2 participants