Repository navigation
Install the deployment venv with uv - #257
Merged
Merged
Conversation
mikelangmayr
force-pushed
the
mike/uv-deployment
branch
from
October 7, 2026 17:51
3d0c08a to
a7590b1
Compare
mikelangmayr
force-pushed
the
mike/uv-deployment
branch
from
October 7, 2026 18:00
a7590b1 to
37e4c83
Compare
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.
requires-python = ">=3.7"was not just stale, it made the project unresolvable:camera_daemonrequires >=3.10, which pip ignored and uv enforces. Corrected to the floor the dependencies actually impose.install.shinstalls a pinned uv and replacespython3 -m venvpluspip install -ewithuv lock --upgradethenuv sync. Upgrading the lock first keeps the current behaviour, where a reinstall is how a merged libby fix reaches a host.uv.lockis gitignored for now. It still records which commits a host resolved to, so "which libby is this daemon running" becomes a file read; committing it is a separate decision for when both hosts have to match..python-versionpins 3.14, which is what the deployment venv already runs, and CI moves from 3.12 onto it so the daemons stop running an interpreter nothing tests.UV_NO_MANAGED_PYTHON=1, because the installer runs as root and the daemons run ashispec: a uv-managed interpreter would land under root's home where they could not read it.devextra and norequirements.txt.549800aand bamboobf6403awhich is exactly what the host installed on 2026-10-06, builds a venv at an arbitraryUV_PROJECT_ENVIRONMENTwithbin/python3, and produces thehispec,libbyandkeygrabberconsole scripts from an editable install.