CI / test (push) Successful in 2m41s
- face/pixi.toml + pixi.lock (python 3.12, numpy, opencv-python-headless). `just install-face` passes the pixi on your PATH; install.py runs `pixi install --frozen` as root into /usr/local/lib/chandra/face-env (not the checkout's .pixi: the PAM module runs this Python as root, so it must not be user-writable), writes the helper's shebang for it and builds the PAM module with it as the default python. No python3-opencv needed; uninstall removes the env. - The PAM module now also refuses a Python that isn't root's; group-writable is accepted only for group root (conda/pixi files are 0775 root:root), in the module and chandra-face's checks. - Elevation re-runs on the same interpreter (sys.executable). "OpenCV is missing: run just install-face" instead of naming the distro package. Dropped a stray __pycache__. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhiJfJNAYqWzQiuKMf
16 lines
580 B
TOML
16 lines
580 B
TOML
# Face unlock's Python environment (docs/face-unlock.md): `just install-face` installs it, as
|
|
# root, into /usr/local/lib/chandra/face-env from this manifest and pixi.lock, so neither
|
|
# python3-opencv nor any other distro package is needed. It is root's on purpose: the PAM module
|
|
# runs this Python as root, so it must not live anywhere a user can write (like this checkout).
|
|
[workspace]
|
|
name = "chandra-face"
|
|
channels = ["conda-forge"]
|
|
platforms = ["linux-64", "linux-aarch64"]
|
|
|
|
[dependencies]
|
|
python = "3.12.*"
|
|
numpy = "*"
|
|
|
|
[pypi-dependencies]
|
|
opencv-python-headless = ">=4.8"
|