This commit is contained in:
doctorpangloss 2025-07-16 15:26:19 -07:00
parent e455b0ad2e
commit 3c5f477718

View File

@ -23,14 +23,8 @@ jobs:
steps:
- run: |
apt-get update
# required for opencv
apt-get install --no-install-recommends -y ffmpeg libsm6 libxext6
pip install uv && uv --version
apt-get purge -y
rm -rf /var/lib/apt/lists/*
uv pip uninstall --system $(pip list --format=freeze | grep opencv)
rm -rf /usr/local/lib/python3.12/dist-packages/cv2/
uv pip install --no-build-isolation opencv-python-headless
name: Prepare Python
- run: |
curl -LsSf https://astral.sh/uv/install.sh | sh