Skip to content

Commit 2b7fa59

Browse files
authored
os: Update python-av to fix RPI 5 compatibility (#570)
Relates to * #322 * #323
1 parent e19b6a0 commit 2b7fa59

File tree

1 file changed

+3
-1
lines changed
  • software/distro/setup/planktoscope-app-env/python-hardware-controller

1 file changed

+3
-1
lines changed

software/distro/setup/planktoscope-app-env/python-hardware-controller/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ python3 -m venv "$POETRY_VENV"
4141
# Set up the hardware controllers
4242
# Upgrade python3-libcamera to solve an issue in Raspberry Pi OS bookworm-2024-11-19
4343
# https://github.com/raspberrypi/picamera2/issues/1229#issuecomment-2772493538
44+
# Upgrade python3-av to solve an issue on Raspberry Pi 5 and Raspberry Pi OS bookworm-2024-11-19
45+
# https://github.com/raspberrypi/picamera2/issues/1202
4446
# Once this fails in CI, it means the default version of python3-libcamera in
4547
# Raspberry Pi OS has been updated. In which case this can be removed.
4648
echo "If the next command fails, see comment in install.sh"
4749
sudo -E apt-get install -y -o Dpkg::Progress-Fancy=0 --only-upgrade \
48-
python3-libcamera=0.4.0+rpt20250213-1
50+
python3-libcamera=0.4.0+rpt20250213-1 python3-av=12.3.0-2+rpt1
4951
sudo -E apt-get install -y --no-install-recommends -o Dpkg::Progress-Fancy=0 \
5052
i2c-tools libopenjp2-7 python3-picamera2
5153
"$POETRY_VENV/bin/poetry" --directory "$HOME/PlanktoScope/device-backend/control" install \

0 commit comments

Comments
 (0)