Skip to content

Commit

Permalink
tests: Install pytest with pip on CentOS/RHEL
Browse files Browse the repository at this point in the history
The package dropped out of CentOS 10.
  • Loading branch information
martinpitt committed Jul 14, 2024
1 parent 2004c98 commit 5762686
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/run-fedora
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
set -eux
# install build dependencies
dnf -y install python3-setuptools python3 python3-gobject-base \
python3-dbus python3-pytest dbus-x11 util-linux \
python3-dbus dbus-x11 util-linux \
upower NetworkManager bluez libnotify polkit

if ! grep -q :el /etc/os-release; then
dnf -y install power-profiles-daemon iio-sensor-proxy
dnf -y install power-profiles-daemon iio-sensor-proxy python3-pytest
else
dnf -y install python3-pip
pip install pytest
fi

if [ "$SKIP_STATIC_CHECKS" != "1" ]; then
Expand Down

0 comments on commit 5762686

Please sign in to comment.