diff --git a/compositor/host/face_test.mbt b/compositor/host/face_test.mbt index 142d62f..e897eec 100644 --- a/compositor/host/face_test.mbt +++ b/compositor/host/face_test.mbt @@ -104,11 +104,11 @@ test "Settings > Session: face unlock lists faces, adds one, turns it on, remove test "face unlock status lines" { let f = @shell.FaceUnlock::new() f.apply_status([ - "backend opencv", "device /dev/video0", "problem python3-opencv is not installed", "pam polkit-1,sudo", + "backend opencv", "device /dev/video0", "problem OpenCV is missing: run just install-face", "pam polkit-1,sudo", "howdy login,gdm-password", "face 3\tGlasses\t2026-11-01", ]) assert_true(f.installed) - assert_eq(f.problem, "python3-opencv is not installed") + assert_eq(f.problem, "OpenCV is missing: run just install-face") assert_true(f.in_use()) assert_eq(f.howdy, "login, gdm-password") assert_eq(f.faces, [("3", "Glasses", "2026-11-01")]) diff --git a/docs/face-unlock.md b/docs/face-unlock.md index 7dc32bc..ffb3f02 100644 --- a/docs/face-unlock.md +++ b/docs/face-unlock.md @@ -14,10 +14,13 @@ any other service you add it to. just install-face # PAM module, chandra-face, settings, face models (asks for root once) ``` -You need Python 3 with OpenCV 4.5.4 or later (`python3-opencv` on Debian/Ubuntu/Fedora, -`python-opencv` on Arch), a C compiler and the PAM headers (`libpam0g-dev` / `pam-devel`). The -models (OpenCV's YuNet face detector and SFace recognizer, 37 MB) are downloaded from the -opencv_zoo repository and checked against their SHA-256 sums. +Nothing from the distro is needed beyond a C compiler and the PAM headers (`libpam0g-dev` / +`pam-devel`) and [pixi](https://pixi.sh): Python, OpenCV and numpy come from a pixi environment +(`face/pixi.toml` + `face/pixi.lock`) that install-face makes in `/usr/local/lib/chandra/face-env`, +owned by root. It is deliberately not the checkout's `.pixi`: the PAM module runs that Python as +root, so it must not be anywhere a user can write. The models (OpenCV's YuNet face detector and +SFace recognizer, 37 MB) are downloaded from the opencv_zoo repository and checked against their +SHA-256 sums. The environment takes about 450 MB. The Settings rows are part of the session, not of `install-face`: after updating Chandra, run `just install` (or `just install-dev`) and log in again so the compositor, its host and the @@ -79,7 +82,7 @@ by hand instead, put that line at the top of the auth section; module options: | --- | --- | | `timeout=N` | the helper gets N + 6 seconds in all before it is killed (default 4; the camera's own timeout is in face.conf) | | `config=PATH` | another settings file (default `/etc/chandra/face.conf`) | -| `helper=PATH`, `python=PATH` | another chandra-face / Python (default `/usr/local/lib/chandra/chandra-face`, `/usr/bin/python3`) | +| `helper=PATH`, `python=PATH` | another chandra-face / Python (default `/usr/local/lib/chandra/chandra-face` and the face-env's python3; both must be root's) | | `quiet` | don't send the "looking" / "not recognized" messages | | `debug` | the helper's stderr goes to the application's stderr; skipped helpers are logged | @@ -114,7 +117,7 @@ models = /usr/local/share/chandra/face to the application's conversation as `PAM_TEXT_INFO` or `PAM_ERROR_MSG`, and maps its exit status to `PAM_SUCCESS` (0), `PAM_AUTH_ERR` (1) or `PAM_AUTHINFO_UNAVAIL` (anything else). The helper must be root's and not writable by others, or it is not run. -- `face/chandra-face` (Python): finds faces with YuNet, turns the largest one into a 128-number +- `face/chandra-face` (Python, on the face-env's interpreter): finds faces with YuNet, turns the largest one into a 128-number SFace embedding, and compares it with the stored ones (cosine similarity). It also enrolls, lists, removes, edits PAM files, reports status and downloads the models. Root commands run by another user re-run themselves through run0 (or pkexec when systemd isn't PID 1). diff --git a/face/.gitignore b/face/.gitignore new file mode 100644 index 0000000..c18dd8d --- /dev/null +++ b/face/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/face/__pycache__/chandra-facecpython-313.pyc b/face/__pycache__/chandra-facecpython-313.pyc deleted file mode 100644 index d1d6dab..0000000 Binary files a/face/__pycache__/chandra-facecpython-313.pyc and /dev/null differ diff --git a/face/chandra-face b/face/chandra-face index d12ae0c..b2f19f5 100755 --- a/face/chandra-face +++ b/face/chandra-face @@ -105,7 +105,7 @@ def check_trusted(path, what): raise Fail("%s %s is a symlink" % (what, path), 2) if st.st_uid not in (0, os.geteuid()): raise Fail("%s %s is not owned by root" % (what, path), 2) - if st.st_mode & 0o022: + if st.st_mode & 0o002 or (st.st_mode & 0o020 and st.st_gid != 0): raise Fail("%s %s can be written by others" % (what, path), 2) @@ -248,7 +248,7 @@ class OpenCVRecognizer: import cv2 # noqa import numpy # noqa except ImportError: - raise Fail("python3-opencv (with numpy) is not installed", 2) + raise Fail("OpenCV is missing: run just install-face", 2) import cv2 import numpy as np @@ -622,7 +622,7 @@ def cmd_status(cfg, user, out): try: import cv2 # noqa except ImportError: - problem = "python3-opencv is not installed" + problem = "OpenCV is missing: run just install-face" if not problem: for m in MODELS: if not os.path.exists(os.path.join(cfg.models, m)): @@ -681,10 +681,10 @@ def elevate(argv, user): args += ["--user", user] run0 = shutil.which("run0") if run0 and os.path.isdir("/run/systemd/system"): - os.execv(run0, [run0, "--background=", "--"] + ["/usr/bin/python3", "-I"] + args) + os.execv(run0, [run0, "--background=", "--"] + [sys.executable, "-I"] + args) pk = shutil.which("pkexec") if pk: - os.execv(pk, [pk, "/usr/bin/python3", "-I"] + args) + os.execv(pk, [pk, sys.executable, "-I"] + args) raise Fail("needs root, and neither run0 nor pkexec is installed") diff --git a/face/install.py b/face/install.py index b58a6dd..409b1c4 100644 --- a/face/install.py +++ b/face/install.py @@ -5,10 +5,13 @@ scripts/as-root): run0 python3 face/install.py # install, fetch the face models run0 python3 face/install.py --pam # ... and use it for polkit-1 and sudo run0 python3 face/install.py --no-models + run0 python3 face/install.py --pixi PATH # the pixi binary (`just install-face` passes it) run0 python3 face/install.py --remove # take it out of every PAM service, uninstall run0 python3 face/install.py --remove --purge # ... and delete the enrolled faces Installs: + /usr/local/lib/chandra/face-env/ Python + OpenCV + numpy, a pixi environment made from + face/pixi.toml + pixi.lock (root's; nothing from the distro) /usr/local/lib/chandra/chandra-face the helper (enroll, compare, ...), root's /usr/local/bin/chandra-face -> the helper /pam_chandra_face.so the PAM module (built here with cc; needs libpam headers) @@ -20,7 +23,7 @@ PAM files are only changed with --pam (or later with `chandra-face pam enable SE is `-auth sufficient pam_chandra_face.so`, before the service's other auth lines, so the password still works whenever the face doesn't. """ -import glob, os, shutil, subprocess, sys +import glob, os, pwd, shutil, subprocess, sys here = os.path.dirname(os.path.abspath(__file__)) helper = "/usr/local/lib/chandra/chandra-face" @@ -28,6 +31,47 @@ link = "/usr/local/bin/chandra-face" conf = "/etc/chandra/face.conf" store = "/var/lib/chandra-face" models = "/usr/local/share/chandra/face" +env_dir = "/usr/local/lib/chandra/face-env" +env_python = os.path.join(env_dir, ".pixi/envs/default/bin/python3") + + +def find_pixi(): + """pixi: --pixi PATH, $PIXI, PATH, then root's or the invoking user's ~/.pixi/bin.""" + if "--pixi" in sys.argv: + i = sys.argv.index("--pixi") + if i + 1 < len(sys.argv) and sys.argv[i + 1]: + return sys.argv[i + 1] + cands = [os.environ.get("PIXI", ""), shutil.which("pixi") or "", "/root/.pixi/bin/pixi"] + for var in ("SUDO_USER", "PKEXEC_UID", "RUN0_USER"): + v = os.environ.get(var, "") + try: + home = pwd.getpwuid(int(v)).pw_dir if v.isdigit() else pwd.getpwnam(v).pw_dir if v else "" + except KeyError: + home = "" + if home: + cands.append(os.path.join(home, ".pixi/bin/pixi")) + for c in cands: + if c and os.access(c, os.X_OK): + return c + return None + + +def make_env(): + """The root-owned pixi environment the helper and the PAM module run; its python3.""" + pixi = find_pixi() + if not pixi: + sys.exit("pixi not found: install it (https://pixi.sh) or pass --pixi PATH; " + "`just install-face` passes the one on your PATH") + os.makedirs(env_dir, 0o755, exist_ok=True) + for f in ("pixi.toml", "pixi.lock"): + shutil.copyfile(os.path.join(here, f), os.path.join(env_dir, f)) + os.chmod(os.path.join(env_dir, f), 0o644) + env = dict(os.environ, PIXI_HOME="/root/.pixi") + subprocess.check_call([pixi, "install", "--frozen", "--manifest-path", + os.path.join(env_dir, "pixi.toml")], env=env) + subprocess.check_call([env_python, "-I", "-c", "import cv2, numpy"]) + print("installed", env_dir, "(Python, OpenCV, numpy)") + return env_python def pam_dir(): @@ -54,6 +98,9 @@ if "--remove" in sys.argv: if os.path.lexists(p): os.remove(p) print("removed", p) + if os.path.isdir(env_dir): + shutil.rmtree(env_dir) + print("removed", env_dir) if os.path.isdir(models): shutil.rmtree(models) print("removed", models) @@ -69,7 +116,12 @@ if "--remove" in sys.argv: os.umask(0o022) os.makedirs(os.path.dirname(helper), exist_ok=True) -shutil.copyfile(os.path.join(here, "chandra-face"), helper + ".new") +py = make_env() +# The helper runs on that Python (its shebang), so `chandra-face ...` from a shell does too. +with open(os.path.join(here, "chandra-face")) as fh: + src = fh.read().split("\n", 1)[1] +with open(helper + ".new", "w") as fh: + fh.write("#!%s -I\n" % py + src) os.chmod(helper + ".new", 0o755) os.replace(helper + ".new", helper) print("installed", helper) @@ -83,6 +135,7 @@ if not cc: sys.exit("no C compiler: install gcc (and the libpam headers: libpam0g-dev / pam-devel)") subprocess.check_call([cc, "-O2", "-Wall", "-shared", "-fPIC", "-o", mod + ".new", "-DCHANDRA_FACE_HELPER=\"%s\"" % helper, + "-DCHANDRA_FACE_PYTHON=\"%s\"" % py, os.path.join(here, "pam_chandra_face.c"), "-lpam"]) os.chmod(mod + ".new", 0o644) os.replace(mod + ".new", mod) @@ -97,14 +150,9 @@ os.makedirs(store, 0o755, exist_ok=True) os.chmod(store, 0o755) if "--no-models" not in sys.argv: - subprocess.check_call([sys.executable, "-I", helper, "--no-elevate", "fetch-models"]) + subprocess.check_call([py, "-I", helper, "--no-elevate", "fetch-models"]) if "--pam" in sys.argv: - subprocess.check_call([sys.executable, "-I", helper, "--no-elevate", "pam", "enable"]) -try: - import cv2 # noqa -except ImportError: - print("note: install OpenCV for Python (python3-opencv / python-opencv / opencv-python) " - "before enrolling a face") + subprocess.check_call([py, "-I", helper, "--no-elevate", "pam", "enable"]) print(""" Settings > Session > Face unlock comes with the session itself (the compositor, its host and the Settings module), not with this install: if Settings doesn't show it yet, run `just install` diff --git a/face/pam_chandra_face.c b/face/pam_chandra_face.c index 9800636..7c4966c 100644 --- a/face/pam_chandra_face.c +++ b/face/pam_chandra_face.c @@ -38,7 +38,7 @@ #define CHANDRA_FACE_HELPER "/usr/local/lib/chandra/chandra-face" #endif #ifndef CHANDRA_FACE_PYTHON -#define CHANDRA_FACE_PYTHON "/usr/bin/python3" +#define CHANDRA_FACE_PYTHON "/usr/local/lib/chandra/face-env/.pixi/envs/default/bin/python3" #endif struct opts { @@ -111,6 +111,12 @@ static void forward(pam_handle_t *pamh, const struct opts *o, char *line) { } } +/* Only root can change it: root's, not writable by others, nor by a group other than root's + * (pixi environments keep conda's 0775 modes, group root). */ +static int root_only(const struct stat *st) { + return st->st_uid == 0 && !(st->st_mode & 002) && (!(st->st_mode & 020) || st->st_gid == 0); +} + static long now_ms(void) { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); @@ -125,12 +131,16 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, cons if (pam_get_user(pamh, &user, NULL) != PAM_SUCCESS || !user || !*user) return PAM_USER_UNKNOWN; if (is_remote(pamh)) return PAM_AUTHINFO_UNAVAIL; if (lid_closed()) return PAM_AUTHINFO_UNAVAIL; - /* The helper must be root's: it runs as root with the user's face data. */ + /* The helper and its Python must be root's: they run as root with the user's face data. */ struct stat st; - if (stat(o.helper, &st) != 0 || st.st_uid != 0 || (st.st_mode & 022)) { + if (stat(o.helper, &st) != 0 || !root_only(&st)) { if (o.debug) pam_syslog(pamh, LOG_WARNING, "helper %s missing or not root's", o.helper); return PAM_AUTHINFO_UNAVAIL; } + if (stat(o.python, &st) != 0 || !root_only(&st)) { + if (o.debug) pam_syslog(pamh, LOG_WARNING, "python %s missing or not root's", o.python); + return PAM_AUTHINFO_UNAVAIL; + } int pfd[2]; if (pipe2(pfd, O_CLOEXEC) != 0) return PAM_AUTHINFO_UNAVAIL; /* Our caller may ignore SIGCHLD (then waitpid can't see the helper exit); restore it. */ diff --git a/face/pixi.lock b/face/pixi.lock new file mode 100644 index 0000000..7c2170f --- /dev/null +++ b/face/pixi.lock @@ -0,0 +1,1002 @@ +version: 7 +platforms: +- name: linux-64 + virtual-packages: + - __unix=0 + - __linux=4.18 + - __glibc=2.28 + - __archspec=0=x86_64 +- name: linux-aarch64 + virtual-packages: + - __unix=0 + - __linux=4.18 + - __glibc=2.28 + - __archspec=0=aarch64 +environments: + default: + channels: + - url: https://conda.anaconda.org/conda-forge/ + indexes: + - https://pypi.org/simple + packages: + linux-64: + - conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-20_gnu.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-hda65f42_10.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.46.1-default_hbd61a6d_103.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libblas-3.11.0-12_h4a7cf45_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.11.0-12_h0358290_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.11.0-hd2095e1_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.7.0-h81df57d_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgfortran-16.2.0-h69a702a_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgfortran5-16.2.0-h6b99dfc_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/liblapack-3.11.0-12_h47877c9_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/liblzma-5.8.3-hb03c661_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hb9d3cd8_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libopenblas-0.3.34-pthreads_hf13c14d_2.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libpython-3.12.16-ha57cdbe_0_cpython.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.54.1-h0737f62_101.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libstdcxx-16.2.0-h934c35e_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.38-h280c20c_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.6-hdb14827_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/numpy-2.5.5-py312he827f4e_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.6.5-h781a0a9_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.12.16-h5f976f7_0_cpython.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.3-hd6e31c0_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h1df4ec4_4.conda + - conda: https://conda.anaconda.org/conda-forge/linux-64/zstd-1.5.7-hb78ec9c_7.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.11.20-hbd8a1cb_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.12-9_cp312.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026e-h5d301ff_0.conda + - pypi: https://files.pythonhosted.org/packages/c2/be/cdf44e32b580af6c0e8f237665c538e6a5a37872f865e92e08fb854d5fd9/opencv_python_headless-5.1.0.95-cp37-abi3-manylinux_2_28_x86_64.whl + linux-aarch64: + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/_openmp_mutex-4.5-20_gnu.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/bzip2-1.0.8-h4777abc_10.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/ld_impl_linux-aarch64-2.46.1-default_h1979696_103.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libblas-3.11.0-12_haddc8a3_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libcblas-3.11.0-12_hd72aa62_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libexpat-2.11.0-h4154aff_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libffi-3.7.0-hdaad0be_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgcc-16.2.0-h205dda4_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgfortran-16.2.0-he9431aa_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgfortran5-16.2.0-hc864f27_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgomp-16.2.0-h8acb6b2_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/liblapack-3.11.0-12_h88aeb00_openblas.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/liblzma-5.8.3-he30d5cf_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libnsl-2.0.1-h86ecc28_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libopenblas-0.3.34-pthreads_h4148b7d_2.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libpython-3.12.16-h3cfa5a6_0_cpython.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libsqlite-3.54.1-hd26f1b6_101.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libstdcxx-16.2.0-hef695bb_7.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libuuid-2.42.4-hd6fdeab_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libxcrypt-4.4.38-h80f16a2_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libzlib-1.3.2-hdc9db2a_3.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/ncurses-6.6-h2b6f883_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/numpy-2.5.5-py312hfb93532_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/openssl-3.6.5-he6ad1d5_0.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/python-3.12.16-h94ad73b_0_cpython.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/readline-8.3-ha7194a6_1.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/tk-8.6.13-noxft_hf03c496_4.conda + - conda: https://conda.anaconda.org/conda-forge/linux-aarch64/zstd-1.5.7-h9d15635_7.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.11.20-hbd8a1cb_0.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.12-9_cp312.conda + - conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026e-h5d301ff_0.conda + - pypi: https://files.pythonhosted.org/packages/26/db/73313673e5c07eb4023c929022e6ef5f7cfd7885f7ea14019b1e1f74540a/opencv_python_headless-5.1.0.95-cp37-abi3-manylinux_2_28_aarch64.whl +packages: +- conda: https://conda.anaconda.org/conda-forge/linux-64/_openmp_mutex-4.5-20_gnu.conda + build_number: 20 + sha256: 1dd3fffd892081df9726d7eb7e0dea6198962ba775bd88842135a4ddb4deb3c9 + md5: a9f577daf3de00bca7c3c76c0ecbd1de + depends: + - __glibc >=2.17,<3.0.a0 + - libgomp >=7.5.0 + constrains: + - openmp_impl <0.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 28948 + timestamp: 1770939786096 +- conda: https://conda.anaconda.org/conda-forge/linux-64/bzip2-1.0.8-hda65f42_10.conda + sha256: 1a0d382c515ebf55f8ee1f38c8b81bc95af5c2acc42ad53b66bc5df932032f96 + md5: e675fabcf81499adc7edf58124fb1e01 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + license: bzip2-1.0.6 + license_family: BSD + purls: [] + run_exports: + weak: + - bzip2 >=1.0.8,<2.0a0 + size: 257808 + timestamp: 1785906269155 +- conda: https://conda.anaconda.org/conda-forge/linux-64/ld_impl_linux-64-2.46.1-default_hbd61a6d_103.conda + sha256: 901649b1edbe841fd4ee7e2d491a05184ed540eb01cdae506872f344babc1d28 + md5: 2362c70e7e79827c32db35547d9c179b + depends: + - __glibc >=2.17,<3.0.a0 + - zstd >=1.5.7,<1.6.0a0 + constrains: + - binutils_impl_linux-64 2.46.1 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: {} + size: 742109 + timestamp: 1791565468810 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libblas-3.11.0-12_h4a7cf45_openblas.conda + build_number: 12 + sha256: 6a6263c3d4a484dbac4ae7a8191be5f868c0574bbc7faa42b258bb59dc6d5fa2 + md5: d718330824f78deef9ca46fe62a33820 + depends: + - libopenblas >=0.3.34,<0.3.35.0a0 + - libopenblas >=0.3.34,<1.0a0 + constrains: + - blas 2.312 openblas + - libcblas 3.11.0 12*_openblas + - liblapack 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + - mkl <2027 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libblas >=3.11.0,<4.0a0 + size: 18102 + timestamp: 1793822074865 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libcblas-3.11.0-12_h0358290_openblas.conda + build_number: 12 + sha256: 8ea7d98b71e1200e2e4141c1813d6950e6acc917d220bbf54058390d252460f8 + md5: 074ad2000c240d26e791e6aa9d055e30 + depends: + - libblas 3.11.0 12_h4a7cf45_openblas + constrains: + - blas 2.312 openblas + - liblapack 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libcblas >=3.11.0,<4.0a0 + size: 18098 + timestamp: 1793822078553 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libexpat-2.11.0-hd2095e1_0.conda + sha256: f81a13d80aa62aa6cba1ab54cce5262eea4f2a05979a0c35d0fe979f0ea94600 + md5: 47c5c4a042f288a54654ebe79bafd1b3 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + constrains: + - expat 2.11.0.* + license: MIT + license_family: MIT + purls: [] + run_exports: {} + size: 83976 + timestamp: 1795647413550 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libffi-3.7.0-h81df57d_1.conda + sha256: c8c7583ef063bc3c430f1d48298e5ad24f796a35c22ed5b14183325825a61106 + md5: 6525a0b06aa4fd390795f0740636a9dd + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + license: MIT + license_family: MIT + purls: [] + run_exports: + weak: + - libffi >=3.7.0,<3.8.0a0 + size: 68004 + timestamp: 1787753412298 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgcc-16.2.0-ha9f2e26_7.conda + sha256: e031634c3a928f9594eba868bc46ef5230d6571a364a0c63215b06c4563bfcea + md5: 735629b400b70eeab21a2ba8f5b1c2ce + depends: + - __glibc >=2.17,<3.0.a0 + - _openmp_mutex >=4.5 + constrains: + - libgcc-ng ==16.2.0=*_7 + - libgomp 16.2.0 he0feb66_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 1058444 + timestamp: 1790303109576 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgfortran-16.2.0-h69a702a_7.conda + sha256: 9682ae4dd11487e10b904b3cb3ab6379cad25233d45fdfdf90d54349df244494 + md5: 3a8d285f5f22138ef826ad54cf267e73 + depends: + - libgfortran5 16.2.0 h6b99dfc_7 + constrains: + - libgfortran-ng ==16.2.0=*_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 28571 + timestamp: 1790303139904 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgfortran5-16.2.0-h6b99dfc_7.conda + sha256: 04dbab12c925b92977bb835dd2f5eda413607afa79f95a554e5a04b07a380322 + md5: 7719ed7be38ad8c492c4bd5cc2bce0c4 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=16.2.0 + constrains: + - libgfortran 16.2.0 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 2528180 + timestamp: 1790303122004 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libgomp-16.2.0-he0feb66_7.conda + sha256: 92a0bb350c7be6a4eedcb4e111c60aefd176018e6b1c009a6e025dbe9bbcd758 + md5: d904c7ddd95e026254b4b80808ee9e12 + depends: + - __glibc >=2.17,<3.0.a0 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 640566 + timestamp: 1790303046034 +- conda: https://conda.anaconda.org/conda-forge/linux-64/liblapack-3.11.0-12_h47877c9_openblas.conda + build_number: 12 + sha256: f048e68a22fbdd927b8a7e007c3da19c6f1d2c08a9e4f6065af68f463c369f19 + md5: fdb860223496082e2b4922f00fd9233f + depends: + - libblas 3.11.0 12_h4a7cf45_openblas + constrains: + - blas 2.312 openblas + - libcblas 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - liblapack >=3.11.0,<3.12.0a0 + size: 18085 + timestamp: 1793822081478 +- conda: https://conda.anaconda.org/conda-forge/linux-64/liblzma-5.8.3-hb03c661_1.conda + sha256: 9787df8c22a59c9a70d3e5a10db9ad663485e75e9ccc3f09bd092cb7b95e0dab + md5: 1390b7c5ac0b1d8e447bc5efa6d3c8c2 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + constrains: + - xz 5.8.3.* + license: 0BSD + purls: [] + run_exports: + weak: + - liblzma >=5.8.3,<6.0a0 + size: 112995 + timestamp: 1786348617826 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libnsl-2.0.1-hb9d3cd8_1.conda + sha256: 927fe72b054277cde6cb82597d0fcf6baf127dcbce2e0a9d8925a68f1265eef5 + md5: d864d34357c3b65a4b731f78c0801dc4 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=13 + license: LGPL-2.1-only + license_family: GPL + purls: [] + run_exports: + weak: + - libnsl >=2.0.1,<2.1.0a0 + size: 33731 + timestamp: 1750274110928 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libopenblas-0.3.34-pthreads_hf13c14d_2.conda + sha256: 69a722751e14eab2eb3bfdcb9acb1187afbd962b0c49b48d829341e0f6787f60 + md5: 7e19fcd73d7f0997d3cb3326d2586a86 + depends: + - libgfortran5 >=15.3.0 + - libgfortran + - libgcc >=15 + - __glibc >=2.17,<3.0.a0 + constrains: + - openblas >=0.3.34,<0.3.35.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libopenblas >=0.3.34,<1.0a0 + size: 6845411 + timestamp: 1789141490688 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libpython-3.12.16-ha57cdbe_0_cpython.conda + sha256: 71126cad347dfd1be645b1207baa3729e64f055edb5f785dadeb84872480a015 + md5: e1442492859319edcd76293a2488156e + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + license: Python-2.0 + purls: [] + run_exports: + weak: + - libpython >=3.12,<4.0a0 + size: 8763999 + timestamp: 1793015475617 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libsqlite-3.54.1-h0737f62_101.conda + sha256: c294029f893d05286f1061bbab85b820f1eea73dd859af4bcc619197bcc34810 + md5: 36e097bf5f1e0699e88c8ac801f2dc65 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + - libzlib >=1.3.2,<2.0a0 + constrains: + - icu <0.0a0 + license: blessing + purls: [] + run_exports: + weak: + - libsqlite >=3.54.1,<4.0a0 + size: 980491 + timestamp: 1793051548007 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libstdcxx-16.2.0-h934c35e_7.conda + sha256: fa7018298629fc429971fffd6ecba3d27a7b02e4e890d6a93ea01ffebe8cb745 + md5: 9b6707e0caca917fa6ea9ee473f37a5d + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc 16.2.0 ha9f2e26_7 + constrains: + - libstdcxx-ng ==16.2.0=*_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 6615436 + timestamp: 1790303132935 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libuuid-2.42.4-hcfc3c73_1.conda + sha256: 0e2e8f2daa9306e67f046e31092d637431d8cf0a26c407ab22401d108c2d4631 + md5: d852293faea3c04a6e896b908b43aded + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libuuid >=2.42.4,<3.0a0 + size: 36134 + timestamp: 1793891599274 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libxcrypt-4.4.38-h280c20c_0.conda + sha256: f7e9292dd219a6435bbb1223da9586c3e70d66d169c5a92f08db3f2127df04e9 + md5: f7a7ff5a6ab331e037abd34f379a631d + depends: + - libgcc >=14 + - __glibc >=2.17,<3.0.a0 + license: LGPL-2.1-or-later + purls: [] + run_exports: + weak: + - libxcrypt >=4.4.38 + size: 101957 + timestamp: 1785887123445 +- conda: https://conda.anaconda.org/conda-forge/linux-64/libzlib-1.3.2-h25fd6f3_3.conda + sha256: eb8a0db0aa570124f7d2a93d7c7f596e3390df5e047818d873baad32985fc736 + md5: 0de0122d9570a8ab637c6b73db268389 + depends: + - __glibc >=2.17,<3.0.a0 + constrains: + - zlib 1.3.2 *_3 + license: Zlib + license_family: Other + purls: [] + run_exports: + weak: + - libzlib >=1.3.2,<2.0a0 + size: 63713 + timestamp: 1785362952714 +- conda: https://conda.anaconda.org/conda-forge/linux-64/ncurses-6.6-hdb14827_1.conda + sha256: 5d46557214ed184381dafe835b7c94a474a1c3b307a08a250b1ea4779b44ffb3 + md5: ee6c0cd80a60961a1f48aa3e0b91f986 + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=14 + license: X11 AND BSD-3-Clause + purls: [] + run_exports: + weak: + - ncurses >=6.6,<7.0a0 + size: 911196 + timestamp: 1786355078102 +- conda: https://conda.anaconda.org/conda-forge/linux-64/numpy-2.5.5-py312he827f4e_1.conda + sha256: f5009554174a930b57d0637f3e8805362cfe35fa2b25efdcae2cba260fc66b87 + md5: 733b1d171d76049f1074aa718d4f56bf + depends: + - python + - libgcc >=15 + - __glibc >=2.17,<3.0.a0 + - libstdcxx >=15 + - libblas >=3.9.0,<4.0a0 + - libcblas >=3.9.0,<4.0a0 + - liblapack >=3.9.0,<4.0a0 + - python_abi 3.12.* *_cp312 + constrains: + - numpy-base <0a0 + license: BSD-3-Clause + license_family: BSD + purls: + - pkg:pypi/numpy?source=compressed-mapping + run_exports: + weak: + - numpy >=1.25,<3 + size: 9256813 + timestamp: 1794816433162 +- conda: https://conda.anaconda.org/conda-forge/linux-64/openssl-3.6.5-h781a0a9_0.conda + sha256: 9c1533f1cf784f0e250919c0c9762d0b0e6bc727a79290ffb7cea1ceca1d038c + md5: 5a51a2ea653f120240b1a9bf76e0aae9 + depends: + - __glibc >=2.17,<3.0.a0 + - ca-certificates + - libgcc >=15 + license: Apache-2.0 + license_family: Apache + purls: [] + run_exports: + weak: + - openssl >=3.6.5,<4.0a0 + size: 3195299 + timestamp: 1791098052301 +- conda: https://conda.anaconda.org/conda-forge/linux-64/python-3.12.16-h5f976f7_0_cpython.conda + sha256: a40188b47c3995bc42a33820be4d780af5c11cc295409413fb925549f0abfe92 + md5: bef9f5422e5246840497b4ae3d968001 + depends: + - __glibc >=2.17,<3.0.a0 + - bzip2 >=1.0.8,<2.0a0 + - ld_impl_linux-64 >=2.36.1 + - libexpat >=2.8.5,<3.0a0 + - libffi >=3.7.0,<3.8.0a0 + - libgcc >=15 + - liblzma >=5.8.3,<6.0a0 + - libnsl >=2.0.1,<2.1.0a0 + - libpython 3.12.16 ha57cdbe_0_cpython + - libsqlite >=3.54.1,<4.0a0 + - libuuid >=2.42.4,<3.0a0 + - libxcrypt >=4.4.38 + - libzlib >=1.3.2,<2.0a0 + - ncurses >=6.6,<7.0a0 + - openssl >=3.5.9,<4.0a0 + - readline >=8.3,<9.0a0 + - tk >=8.6.13,<8.7.0a0 + - tzdata + constrains: + - python_abi 3.12.* *_cp312 + license: Python-2.0 + purls: [] + run_exports: + weak: + - python_abi 3.12.* *_cp312 + noarch: + - python + size: 22997826 + timestamp: 1793015501085 +- conda: https://conda.anaconda.org/conda-forge/linux-64/readline-8.3-hd6e31c0_1.conda + sha256: 01b3fe073a66e321970d09e04b388708f8cbdca5cdfbfcb7c9eeb470ad10383d + md5: 69c01c781e7c8190bbdaf79e3848c5ca + depends: + - __glibc >=2.17,<3.0.a0 + - libgcc >=15 + - ncurses >=6.6,<7.0a0 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: + weak: + - readline >=8.3,<9.0a0 + size: 348899 + timestamp: 1787033801506 +- conda: https://conda.anaconda.org/conda-forge/linux-64/tk-8.6.13-noxft_h1df4ec4_4.conda + build_number: 104 + sha256: a1a241d172c1ccab067ba245206dd048bc3c2d1b84504b53c9468e99adfc16a1 + md5: 676a2f9b1c4fcf57b70aa5c65f6c60d0 + depends: + - libgcc >=15 + - __glibc >=2.17,<3.0.a0 + - libzlib >=1.3.2,<2.0a0 + constrains: + - xorg-libx11 >=1.8.13,<2.0a0 + license: TCL + purls: [] + run_exports: + weak: + - tk >=8.6.13,<8.7.0a0 + size: 3566806 + timestamp: 1787272857910 +- conda: https://conda.anaconda.org/conda-forge/linux-64/zstd-1.5.7-hb78ec9c_7.conda + sha256: 47d682b9f6d6ec9eb1a6e6c3e75ea6273e899e78fb7fc59f81d39745009fbc60 + md5: aa459086047c0e5e27023ab19f8cb86a + depends: + - __glibc >=2.17,<3.0.a0 + - libzlib >=1.3.2,<2.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - zstd >=1.5.7,<1.6.0a0 + size: 601301 + timestamp: 1786599621503 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/_openmp_mutex-4.5-20_gnu.conda + build_number: 20 + sha256: a2527b1d81792a0ccd2c05850960df119c2b6d8f5fdec97f2db7d25dc23b1068 + md5: 468fd3bb9e1f671d36c2cbc677e56f1d + depends: + - libgomp >=7.5.0 + constrains: + - openmp_impl <0.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 28926 + timestamp: 1770939656741 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/bzip2-1.0.8-h4777abc_10.conda + sha256: 24eacc8a20fd7c4616566178562bef7f9344eb4a8700cfc3180fa75a6ff9d39f + md5: fd544ef1c672d645bf78e5819cbb8f91 + depends: + - libgcc >=14 + license: bzip2-1.0.6 + license_family: BSD + purls: [] + run_exports: + weak: + - bzip2 >=1.0.8,<2.0a0 + size: 194694 + timestamp: 1785906301397 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/ld_impl_linux-aarch64-2.46.1-default_h1979696_103.conda + sha256: 516808982ad26ebdc4a9d8f71ee86ea55d0bc95382b7bca80620e0ac220971f3 + md5: ca781d8b499c39ddfe10e55a0347d6d9 + depends: + - zstd >=1.5.7,<1.6.0a0 + constrains: + - binutils_impl_linux-aarch64 2.46.1 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: {} + size: 905349 + timestamp: 1791565559147 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libblas-3.11.0-12_haddc8a3_openblas.conda + build_number: 12 + sha256: f31b1191a08776fb8980730dbafbda04f8232b0bb0d7900dd88f27a3348828c3 + md5: d233995250456bd2bf432ae503f4bf30 + depends: + - libopenblas >=0.3.34,<0.3.35.0a0 + - libopenblas >=0.3.34,<1.0a0 + constrains: + - blas 2.312 openblas + - libcblas 3.11.0 12*_openblas + - liblapack 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + - mkl <2027 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libblas >=3.11.0,<4.0a0 + size: 18213 + timestamp: 1793822016423 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libcblas-3.11.0-12_hd72aa62_openblas.conda + build_number: 12 + sha256: 994f82e3a44496c8b8a2fcb48e33a6e0097e3edf4c394347b2df50caaac95d92 + md5: ed3fca67505d709caf629a5ed3707e93 + depends: + - libblas 3.11.0 12_haddc8a3_openblas + constrains: + - blas 2.312 openblas + - liblapack 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libcblas >=3.11.0,<4.0a0 + size: 18161 + timestamp: 1793822019894 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libexpat-2.11.0-h4154aff_0.conda + sha256: 7366ffd7532a5b4698267a0b7f1aee3204aa0755d2dd2b0e6109e7e2958c9c57 + md5: a9e083f1129427235e03dc2e0df6240c + depends: + - libgcc >=15 + constrains: + - expat 2.11.0.* + license: MIT + license_family: MIT + purls: [] + run_exports: {} + size: 84960 + timestamp: 1795647405926 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libffi-3.7.0-hdaad0be_1.conda + sha256: b1879d78b622c5f4817fd6d77fe7ae3ab7b501542e3c2f4ac77198c54c62c189 + md5: f9e5b3e446b526b34a7e25ecec08efd9 + depends: + - libgcc >=15 + license: MIT + license_family: MIT + purls: [] + run_exports: + weak: + - libffi >=3.7.0,<3.8.0a0 + size: 63137 + timestamp: 1787753382033 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgcc-16.2.0-h205dda4_7.conda + sha256: eae7a3449d5a3b5351c5427137c076cc3fc826645c7bfc42dc10772b783826f1 + md5: 489d5c9dc62265b3f6a57f9a106f1caf + depends: + - _openmp_mutex >=4.5 + constrains: + - libgcc-ng ==16.2.0=*_7 + - libgomp 16.2.0 h8acb6b2_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 627793 + timestamp: 1790302345214 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgfortran-16.2.0-he9431aa_7.conda + sha256: 827d61d002235b26f9af0a51dccf9a1b0f2e83e50f05e10ff86a984bfd4897b4 + md5: 12d3d9bbc1d00788551a7c1e4a381a9b + depends: + - libgfortran5 16.2.0 hc864f27_7 + constrains: + - libgfortran-ng ==16.2.0=*_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 28663 + timestamp: 1790302372603 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgfortran5-16.2.0-hc864f27_7.conda + sha256: 190e69c2be216c3f716dbcf23a5a37c4b8ddcd8beb7c1c5b8e48e85ddc73d50f + md5: 57df9dcb4e772dbe04d041838c76733a + depends: + - libgcc >=16.2.0 + constrains: + - libgfortran 16.2.0 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 1488495 + timestamp: 1790302355505 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libgomp-16.2.0-h8acb6b2_7.conda + sha256: 4406fd67c5beeb99b9372f9bf07aa3e40ca141e337eceebac3ff64aa72799494 + md5: 259ded79ac497cfbcf5434540e8b81b6 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: + strong: + - _openmp_mutex >=4.5 + size: 617342 + timestamp: 1790302273072 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/liblapack-3.11.0-12_h88aeb00_openblas.conda + build_number: 12 + sha256: 26e4c57b1aa5023f4b48f43f817c18e206cecf20dc319c06ff2c4e1bd99c13c2 + md5: f47ba9250e40753a6d782e2320d499c4 + depends: + - libblas 3.11.0 12_haddc8a3_openblas + constrains: + - blas 2.312 openblas + - libcblas 3.11.0 12*_openblas + - liblapacke 3.11.0 12*_openblas + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - liblapack >=3.11.0,<3.12.0a0 + size: 18186 + timestamp: 1793822022684 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/liblzma-5.8.3-he30d5cf_1.conda + sha256: f760669fd1cea27f689f411c0d5488e26ce50e382c9b63e4ad348f959850124a + md5: e0e6411a60d00186eec7c73f4118ab67 + depends: + - libgcc >=14 + constrains: + - xz 5.8.3.* + license: 0BSD + purls: [] + run_exports: + weak: + - liblzma >=5.8.3,<6.0a0 + size: 125578 + timestamp: 1786348561649 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libnsl-2.0.1-h86ecc28_1.conda + sha256: c0dc4d84198e3eef1f37321299e48e2754ca83fd12e6284754e3cb231357c3a5 + md5: d5d58b2dc3e57073fe22303f5fed4db7 + depends: + - libgcc >=13 + license: LGPL-2.1-only + license_family: GPL + purls: [] + run_exports: + weak: + - libnsl >=2.0.1,<2.1.0a0 + size: 34831 + timestamp: 1750274211000 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libopenblas-0.3.34-pthreads_h4148b7d_2.conda + sha256: afa7b72bf42a8f02298f2688c07413a93614897fbf5c0f55c9326f61da02ad9a + md5: 8cc0a91ba08fe51ecff1ca2e9049d685 + depends: + - libgfortran5 >=15.3.0 + - libgfortran + - libgcc >=15 + constrains: + - openblas >=0.3.34,<0.3.35.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libopenblas >=0.3.34,<1.0a0 + size: 5854484 + timestamp: 1789141497196 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libpython-3.12.16-h3cfa5a6_0_cpython.conda + sha256: 4c746ea6ce098d53e85776106458ea99b310d45f962c4ccc5db6f1f2439c25f4 + md5: 1686b0d3a036cf68629281e5bc725c82 + depends: + - libgcc >=15 + license: Python-2.0 + purls: [] + run_exports: + weak: + - libpython >=3.12,<4.0a0 + size: 8232992 + timestamp: 1793016009855 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libsqlite-3.54.1-hd26f1b6_101.conda + sha256: 61a67f7085f497fa7622c6e1ae8611b8b2796a2eca70dcecc8d9124ca4f0d46b + md5: e5ac4a3119ab693d90cd7599982a791e + depends: + - libgcc >=15 + - libzlib >=1.3.2,<2.0a0 + constrains: + - icu <0.0a0 + license: blessing + purls: [] + run_exports: + weak: + - libsqlite >=3.54.1,<4.0a0 + size: 977839 + timestamp: 1793051533271 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libstdcxx-16.2.0-hef695bb_7.conda + sha256: b241a3acfa9cdb1359112864a1241225533c92642de3000d52ae65ef5d3a9786 + md5: 6c823668e78160957d1b061ceec15c2c + depends: + - libgcc 16.2.0 h205dda4_7 + constrains: + - libstdcxx-ng ==16.2.0=*_7 + license: GPL-3.0-only WITH GCC-exception-3.1 + license_family: GPL + purls: [] + run_exports: {} + size: 6236630 + timestamp: 1790302364054 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libuuid-2.42.4-hd6fdeab_1.conda + sha256: 66d4d6201d52b4e3679dcfcc73658902a1cfb1a096f9d72a7b2d93d78e13948a + md5: 394dc5a24e06bdea0b41389d1eee9a23 + depends: + - libgcc >=15 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - libuuid >=2.42.4,<3.0a0 + size: 37956 + timestamp: 1793891605926 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libxcrypt-4.4.38-h80f16a2_0.conda + sha256: d3514900e2121972e435f7803763c1843dad6709e48aa02a2b47c4d481f83be7 + md5: b1a5cb7ff2d8f5911ba1fb6897176098 + depends: + - libgcc >=14 + license: LGPL-2.1-or-later + purls: [] + run_exports: + weak: + - libxcrypt >=4.4.38 + size: 133882 + timestamp: 1785887114864 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/libzlib-1.3.2-hdc9db2a_3.conda + sha256: 76efa6cc9d7e6f5ee3bbca0939f64054af2bdfb3c3632531f8e633cf6c2ea41e + md5: bd534c2fbe56d8c2ea3b2d8f5e12bca8 + constrains: + - zlib 1.3.2 *_3 + license: Zlib + license_family: Other + purls: [] + run_exports: + weak: + - libzlib >=1.3.2,<2.0a0 + size: 70108 + timestamp: 1785276540870 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/ncurses-6.6-h2b6f883_1.conda + sha256: d69a04914139627f0a6bfd19412d6c7f1e37edc896af84a6011e07e8bc1e69fa + md5: c3b4349171ca987ff33a1de61f7b3f96 + depends: + - libgcc >=14 + license: X11 AND BSD-3-Clause + purls: [] + run_exports: + weak: + - ncurses >=6.6,<7.0a0 + size: 955422 + timestamp: 1786355019431 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/numpy-2.5.5-py312hfb93532_1.conda + sha256: 1f264be35975943f70e0b27a615e168fd8be4238dd3bc043c6efbe1553883bd7 + md5: d25c0f23e85a4c43611940915985867c + depends: + - python + - libgcc >=15 + - libstdcxx >=15 + - libblas >=3.9.0,<4.0a0 + - python_abi 3.12.* *_cp312 + - liblapack >=3.9.0,<4.0a0 + - libcblas >=3.9.0,<4.0a0 + constrains: + - numpy-base <0a0 + license: BSD-3-Clause + license_family: BSD + purls: + - pkg:pypi/numpy?source=compressed-mapping + run_exports: + weak: + - numpy >=1.25,<3 + size: 8011392 + timestamp: 1794816445032 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/openssl-3.6.5-he6ad1d5_0.conda + sha256: 238136f1df197ecd89bafd728a34d0642176f3170423d13d8276746d675a9485 + md5: 92aec5ec417d2ce9ae109e6c5ad377ff + depends: + - ca-certificates + - libgcc >=15 + license: Apache-2.0 + license_family: Apache + purls: [] + run_exports: + weak: + - openssl >=3.6.5,<4.0a0 + size: 3716078 + timestamp: 1791097887829 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/python-3.12.16-h94ad73b_0_cpython.conda + sha256: fd15475f0d09e51c564a2ca7b3210bbc29d573cf8ef13f29ccfbd9825519fc8c + md5: 85e2422da0ae7d8e8b7847179866aa90 + depends: + - bzip2 >=1.0.8,<2.0a0 + - ld_impl_linux-aarch64 >=2.36.1 + - libexpat >=2.8.5,<3.0a0 + - libffi >=3.7.0,<3.8.0a0 + - libgcc >=15 + - liblzma >=5.8.3,<6.0a0 + - libnsl >=2.0.1,<2.1.0a0 + - libpython 3.12.16 h3cfa5a6_0_cpython + - libsqlite >=3.54.1,<4.0a0 + - libuuid >=2.42.4,<3.0a0 + - libxcrypt >=4.4.38 + - libzlib >=1.3.2,<2.0a0 + - ncurses >=6.6,<7.0a0 + - openssl >=3.5.9,<4.0a0 + - readline >=8.3,<9.0a0 + - tk >=8.6.13,<8.7.0a0 + - tzdata + constrains: + - python_abi 3.12.* *_cp312 + license: Python-2.0 + purls: [] + run_exports: + weak: + - python_abi 3.12.* *_cp312 + noarch: + - python + size: 22411446 + timestamp: 1793016037969 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/readline-8.3-ha7194a6_1.conda + sha256: 80167dcf73a96b6d0c1bb2298d7b8b9bc21b27cc5bf56979f9c548b49a4d1722 + md5: 5b399a7afa10098f2a6b02263181426e + depends: + - libgcc >=15 + - ncurses >=6.6,<7.0a0 + license: GPL-3.0-only + license_family: GPL + purls: [] + run_exports: + weak: + - readline >=8.3,<9.0a0 + size: 364344 + timestamp: 1787033761576 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/tk-8.6.13-noxft_hf03c496_4.conda + build_number: 104 + sha256: a1aa0d0f0b3d539644ff992e6dd0facf950c79df58fc37590ce5be84ff5e3f22 + md5: ebaded4b4b74c2cc43a754ded4eed76f + depends: + - libgcc >=15 + - libzlib >=1.3.2,<2.0a0 + constrains: + - xorg-libx11 >=1.8.13,<2.0a0 + license: TCL + purls: [] + run_exports: + weak: + - tk >=8.6.13,<8.7.0a0 + size: 3664220 + timestamp: 1787272859143 +- conda: https://conda.anaconda.org/conda-forge/linux-aarch64/zstd-1.5.7-h9d15635_7.conda + sha256: 427fd14bcb3b8659796fecc682716617409350fb5a98e5b7b47558a10d1a2fc7 + md5: d942e34ac3920ba83f8b2d0169570187 + depends: + - libzlib >=1.3.2,<2.0a0 + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: + weak: + - zstd >=1.5.7,<1.6.0a0 + size: 615477 + timestamp: 1786599613561 +- conda: https://conda.anaconda.org/conda-forge/noarch/ca-certificates-2026.11.20-hbd8a1cb_0.conda + sha256: 8c104262bf331b14478e36c6cedd63b558d4b7ff96f218742a91878353edeed1 + md5: 05f63e1cbcb57e737619f989a2b8c8b3 + depends: + - __unix + license: ISC + purls: [] + run_exports: {} + size: 123617 + timestamp: 1795239311426 +- conda: https://conda.anaconda.org/conda-forge/noarch/python_abi-3.12-9_cp312.conda + build_number: 9 + sha256: ee9c2922e07afc85fc82d5fa82c9ac2c79da3be3283a5e17bf2f2ae38dbd02fb + md5: 4c32076993e6270825441d059ab5c18b + constrains: + - python 3.12.* *_cpython + license: BSD-3-Clause + license_family: BSD + purls: [] + run_exports: {} + size: 6751 + timestamp: 1788302823694 +- conda: https://conda.anaconda.org/conda-forge/noarch/tzdata-2026e-h5d301ff_0.conda + sha256: 2b7ca858879f183ce2dcc65b300f48a0133d5430550f35b23d80d405a0788dbf + md5: abccc3810d2b97e570dee487f2b46e38 + license: LicenseRef-Public-Domain + purls: [] + run_exports: {} + size: 119208 + timestamp: 1792758382821 +- pypi: https://files.pythonhosted.org/packages/26/db/73313673e5c07eb4023c929022e6ef5f7cfd7885f7ea14019b1e1f74540a/opencv_python_headless-5.1.0.95-cp37-abi3-manylinux_2_28_aarch64.whl + name: opencv-python-headless + version: 5.1.0.95 + sha256: 11d9753e15b8b3c56e6aa765139f722ca19ff26016d43bc81035f5d122731a81 + requires_dist: + - numpy<2.0 ; python_full_version < '3.9' + - numpy>=2 ; python_full_version >= '3.9' + requires_python: '>=3.6' +- pypi: https://files.pythonhosted.org/packages/c2/be/cdf44e32b580af6c0e8f237665c538e6a5a37872f865e92e08fb854d5fd9/opencv_python_headless-5.1.0.95-cp37-abi3-manylinux_2_28_x86_64.whl + name: opencv-python-headless + version: 5.1.0.95 + sha256: 7d387d4a64abe0c737440d38b5a90822f9bbcc10c8ce06a35904d6ecf7a2fb30 + requires_dist: + - numpy<2.0 ; python_full_version < '3.9' + - numpy>=2 ; python_full_version >= '3.9' + requires_python: '>=3.6' diff --git a/face/pixi.toml b/face/pixi.toml new file mode 100644 index 0000000..f59818d --- /dev/null +++ b/face/pixi.toml @@ -0,0 +1,15 @@ +# 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" diff --git a/justfile b/justfile index 250d0f8..fe085f8 100644 --- a/justfile +++ b/justfile @@ -120,7 +120,7 @@ uninstall: # Install face unlock (PAM module + chandra-face + models; docs/face-unlock.md). `just install-face --pam` also turns it on for polkit-1 and sudo. The Settings rows come with the session: `just install` and log in again. install-face *args: - scripts/as-root python3 "{{justfile_directory()}}/face/install.py" {{args}} + scripts/as-root python3 "{{justfile_directory()}}/face/install.py" --pixi "$(command -v pixi || echo "$HOME/.pixi/bin/pixi")" {{args}} # Remove face unlock (from every PAM service first). `just uninstall-face --purge` also deletes the enrolled faces. uninstall-face *args: