Skip to contentSkip to conversation

nfstest: update the list of install dependencies

PATCH In review Scott Mayhew 2 participants 2 messages Apr 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 nfstest: update the list of install dependencies

Add git-core to the list of dependencies, as git-core currently won't be installed unless you've enabled KDEVOPS_TRY_INSTALL_KDEV_TOOLS in your config.

Remove python-is-python3 from the Debian dependencies and python-unversioned-command from the Red Hat dependencies. These were needed in an earlier revision of the nfstest workflow patches that were running 'python setup.by build'. The current version runs nfstest directly from the install dir, so those packages aren't needed any more. This fixes an error that occurs on older RHEL releases, where the python-unversioned-command package doesn't exist.

Re-tested with debian-12, opensuse-tumbleweed, fedora-39, rhel-8, and rhel-9 to make sure everything still works.

---
 playbooks/roles/nfstest/vars/Debian.yml | 2 +-
 playbooks/roles/nfstest/vars/RedHat.yml | 2 +-
 playbooks/roles/nfstest/vars/Suse.yml   | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
playbooks/roles/nfstest/vars/Debian.yml +1 -1
index cb4cfe5..657bdae 100644
@@ -1,5 +1,5 @@
 ---
 nfstest_packages:
   - nfs-common
-  - python-is-python3
   - tcpdump
+  - git-core
playbooks/roles/nfstest/vars/RedHat.yml +1 -1
index d8c65fb..76adc4d 100644
@@ -1,5 +1,5 @@
 ---
 nfstest_packages:
   - nfs-utils
-  - python-unversioned-command
   - tcpdump
+  - git-core
playbooks/roles/nfstest/vars/Suse.yml +1 -0
index 35fcc8e..76adc4d 100644
@@ -2,3 +2,4 @@
 nfstest_packages:
   - nfs-utils
   - tcpdump
+  - git-core
Signature · 1 line
2.44.0
Reviewed-by on v2 1/1
#1 lore raw
Quoted 57 lines · Scott Mayhew

Add git-core to the list of dependencies, as git-core currently won't be installed unless you've enabled KDEVOPS_TRY_INSTALL_KDEV_TOOLS in your config.

Remove python-is-python3 from the Debian dependencies and python-unversioned-command from the Red Hat dependencies. These were needed in an earlier revision of the nfstest workflow patches that were running 'python setup.by build'. The current version runs nfstest directly from the install dir, so those packages aren't needed any more. This fixes an error that occurs on older RHEL releases, where the python-unversioned-command package doesn't exist.

Re-tested with debian-12, opensuse-tumbleweed, fedora-39, rhel-8, and rhel-9 to make sure everything still works.

---
 playbooks/roles/nfstest/vars/Debian.yml | 2 +-
 playbooks/roles/nfstest/vars/RedHat.yml | 2 +-
 playbooks/roles/nfstest/vars/Suse.yml   | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
playbooks/roles/nfstest/vars/Debian.yml +1 -1
index cb4cfe5..657bdae 100644
@@ -1,5 +1,5 @@
 ---
 nfstest_packages:
   - nfs-common
-  - python-is-python3
   - tcpdump
+  - git-core
playbooks/roles/nfstest/vars/RedHat.yml +1 -1
index d8c65fb..76adc4d 100644
@@ -1,5 +1,5 @@
 ---
 nfstest_packages:
   - nfs-utils
-  - python-unversioned-command
   - tcpdump
+  - git-core
playbooks/roles/nfstest/vars/Suse.yml +1 -0
index 35fcc8e..76adc4d 100644
@@ -2,3 +2,4 @@
 nfstest_packages:
   - nfs-utils
   - tcpdump
+  - git-core
Signature · 1 line
2.44.0

LGTM. Thank you for testing the non-RH distros!

Signature · 1 line
Chuck Lever