Repository navigation
fix: make uv lock/sync resolve by limiting the vllm extra to Linux x86_64 - #18
Merged
Merged
Conversation
…6_64 [tool.uv] required-environments includes macOS arm64, but the vllm extra required vllm==0.12.0 on every platform, and vLLM's CUDA dependencies (flashinfer-python -> nvidia-cudnn-frontend) have no macOS wheels, so `uv lock` had no solution and `uv sync` failed. Give the extra the same marker the `all` extra already uses, and regenerate uv.lock, which predated the vllm extra (126 -> 216 packages; starlette 0.50 -> 1.9 because vLLM's prometheus-fastapi-instrumentator requires starlette>=1). Fixes #17 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019aZZj794GDrpH36PWqn1ZM
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.
Fixes #17.
Change
vllmextra:vllm==0.12.0; sys_platform == 'linux' and platform_machine == 'x86_64', the same marker theallextra already uses.[tool.uv] required-environmentsincludes macOS arm64, where vLLM's CUDA dependencies (flashinfer-python→nvidia-cudnn-frontend) have no wheels, so the unmarked extra madeuv lockunsatisfiable.uv.lockregenerated. The committed lock predated thevllmextra (it still named the projectterrarium 0.1.0), so the diff is large: 126 → 216 packages, nearly all of them the vLLM stack for Linux.Lock review
idna3.11 → 3.20, andstarlette0.50.0 → 1.9.0. The starlette bump is forced by vLLM'sprometheus-fastapi-instrumentator 8.1.0(starlette>=1.0.0,<2); Terrarium does not import starlette directly, and the other dependents (mcp,fastapi) accept 1.x.vllm 0.12.0,torch 2.9.0,flashinfer-python 0.5.3,triton 3.5.0.Testing
uv lock --checkpasses;uv sync --lockedworks on macOS arm64 (it failed before).mcpclient modules import.--extra vllmand--all-extrasdo not install vLLM. Linux x86_64: a dry-run install of the exportedvllmset resolves all 193 packages, includingvllm 0.12.0.python -m build, so publishing is unaffected.🤖 Generated with Claude Code
https://claude.ai/code/session_019aZZj794GDrpH36PWqn1ZM