Commit Graph

4 Commits

Author SHA1 Message Date
Viktor Petersson
51201b3f5b feat: migrate from pip/requirements.txt to uv dependency management
Consolidate all Python dependencies from 7 requirements/*.txt files into
pyproject.toml dependency groups. Replace pip install with uv sync in all
Docker containers, using --system-site-packages for access to apt-installed
packages (python3-gi) and /opt/venv to survive volume mounts in dev/test.

Key changes:
- Add dependency groups: server, celery, websocket, viewer, wifi-connect,
  dev, test, host, local (plus existing dev-host, docker-image-builder)
- Bump cryptography 3.3.2→44.0.3, pyOpenSSL 19.1.0→25.1.0 for Python 3.11
- Update all Dockerfile templates to use uv sync with --only-group
- Install uv via COPY --from=ghcr.io/astral-sh/uv:latest (pip fallback for pi1/pi2)
- Add arm64 support to test Dockerfile (chromium from apt instead of Chrome for Testing)
- Switch Dependabot from pip to uv ecosystem
- Update bin/install.sh to parse pyproject.toml instead of requirements.host.txt
- Delete requirements/ directory

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 20:07:29 +00:00
Nico Miguelino
29ae072514 chore: replace Poetry with uv for managing host dependencies (#2611) 2025-12-16 05:03:27 -08:00
Nico Miguelino
9983ba631b fix: enforce HTTPS when using curl to install Poetry (#2152)
* fix: enforce HTTPS when using `curl` to install Poetry
* chore(ci): exclude development-related files from build pipeline
2024-12-05 13:19:00 -08:00
Nico Miguelino
7dd6d49881 chore: update development mode scripts to containerize Poetry and other relevant dependencies (#2144) 2024-12-04 10:14:07 -08:00