fix: add opencv-python-headless to dev deps and libportaudio2 to CI
Some checks failed
Lint & Test / test (push) Failing after 21s
Some checks failed
Lint & Test / test (push) Failing after 21s
The test import chain (conftest → storage → filters → cv2) requires opencv-python-headless. Also install libportaudio2 for sounddevice.
This commit is contained in:
@@ -18,6 +18,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
|
||||||
|
- name: Install system dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y --no-install-recommends libportaudio2
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
working-directory: server
|
working-directory: server
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ dev = [
|
|||||||
"respx>=0.21.1",
|
"respx>=0.21.1",
|
||||||
"black>=24.0.0",
|
"black>=24.0.0",
|
||||||
"ruff>=0.6.0",
|
"ruff>=0.6.0",
|
||||||
|
"opencv-python-headless>=4.8.0",
|
||||||
]
|
]
|
||||||
camera = [
|
camera = [
|
||||||
"opencv-python-headless>=4.8.0",
|
"opencv-python-headless>=4.8.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user