yesod-mirror/third_party/python/pip_compile.sh
Copybara 8157b39ea4
Some checks failed
CI / build (push) Failing after 12s
Project import generated by Copybara.
GitOrigin-RevId: 6370f6ea785709295b6abcf9c60717cacf3ac432
2026-01-20 21:26:21 +00:00

10 lines
No EOL
484 B
Bash
Executable file

#!/bin/bash
LOCKFILE=/Users/acmcarther/projects/yesod/third_party/python/requirements.lock
REQUIREMENTS=/Users/acmcarther/projects/yesod/third_party/python/requirements.txt
# Run uv via Bazel
bazel run //third_party/python:uv_compile -- "$REQUIREMENTS" --universal --python-version 3.12 --output-file="$LOCKFILE"
# Sanitize requirements.lock using python helper
# This ensures cross-platform compatibility and robust regex
python3 third_party/python/sanitize_lockfile.py "$LOCKFILE"