Skip to content

Commit 1bd960c

Browse files
[Backport 1.30-strict] CI: Distro from env variable in test 1.31-strict, pin pytest (#4912) (#4923) (#4933)
1 parent 6e978f7 commit 1bd960c

15 files changed

+25
-23
lines changed

.github/workflows/build-snap.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
set -x
7272
sudo apt-get install python3-setuptools
7373
sudo pip3 install --upgrade pip
74-
sudo pip3 install -U pytest sh psutil
74+
sudo pip3 install -U pytest==8.3.4 sh psutil
7575
sudo apt-get -y install open-iscsi
7676
sudo systemctl enable iscsid
7777
- name: Fetch snap

tests/lxc/install-deps/images_almalinux-8

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ yum install fuse squashfuse -y
77
yum install snapd -y
88
systemctl enable --now snapd.socket
99
ln -s /var/lib/snapd/snap /snap
10-
yum install python3-pip -y
10+
yum install python3-pip -y
1111
yum install docker -y
12-
pip3 install pytest requests pyyaml sh psutil
12+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
1313

1414
# wait for the snapd seeding to take place!
1515
n=0

tests/lxc/install-deps/images_archlinux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pacman -S --noconfirm python
2020
pacman -S --noconfirm docker
2121
sudo systemctl enable --now docker.service
2222
echo "127.0.0.1 localhost" | sudo tee -a /etc/hosts
23-
pip3 install pytest requests pyyaml
23+
pip3 install pytest==8.3.4 requests pyyaml
2424

2525
# wait for the snapd seeding to take place!
2626
n=0

tests/lxc/install-deps/images_centos-7

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ yum install sudo -y
55
yum install snapd -y
66
systemctl enable --now snapd.socket
77
ln -s /var/lib/snapd/snap /snap
8-
yum install python3-pip -y
8+
yum install python3-pip -y
99
yum install docker -y
10-
pip3 install pytest requests pyyaml sh psutil
10+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
1111

1212
# wait for the snapd seeding to take place!
1313
n=0

tests/lxc/install-deps/images_centos-8-Stream

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ yum install fuse squashfuse -y
77
yum install snapd -y
88
systemctl enable --now snapd.socket
99
ln -s /var/lib/snapd/snap /snap
10-
yum install python3-pip -y
10+
yum install python3-pip -y
1111
yum install docker -y
12-
pip3 install pytest requests pyyaml sh psutil
12+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
1313

1414
# wait for the snapd seeding to take place!
1515
n=0

tests/lxc/install-deps/images_debian-10

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh psutil
8+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

tests/lxc/install-deps/images_debian-11

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh psutil
8+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

tests/lxc/install-deps/images_debian-12

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export DEBIAN_FRONTEND=noninteractive
55

66
apt-get update
77
apt-get install python3-pip docker.io libsquashfuse0 squashfuse fuse snapd -y
8-
pip3 install pytest requests pyyaml sh psutil --break-system-packages
8+
pip3 install pytest==8.3.4 requests pyyaml sh psutil --break-system-packages
99
# Attempting to address https://forum.snapcraft.io/t/lxd-refresh-cause-container-socket-error/8698
1010
# if core is to be installed by microk8s it fails
1111

tests/lxc/install-deps/images_fedora-37

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ yum install fuse squashfuse -y
66
yum install snapd -y
77
systemctl enable --now snapd.socket
88
ln -s /var/lib/snapd/snap /snap
9-
yum install python3-pip -y
9+
yum install python3-pip -y
1010
yum install docker -y
11-
pip3 install pytest requests pyyaml sh psutil
11+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
1212

1313
# wait for the snapd seeding to take place!
1414
n=0

tests/lxc/install-deps/images_fedora-38

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ yum install fuse squashfuse -y
66
yum install snapd -y
77
systemctl enable --now snapd.socket
88
ln -s /var/lib/snapd/snap /snap
9-
yum install python3-pip -y
9+
yum install python3-pip -y
1010
yum install docker -y
11-
pip3 install pytest requests pyyaml sh psutil
11+
pip3 install pytest==8.3.4 requests pyyaml sh psutil
1212

1313
# wait for the snapd seeding to take place!
1414
n=0

0 commit comments

Comments
 (0)