Skip to contentSkip to conversation

pynfs: explicitly install python3-setuptools and python3-packaging

PATCH In review Jeff Layton 2 participants 2 messages Jan 8

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pynfs: explicitly install python3-setuptools and python3-packaging

The pynfs setup was breaking for me on a Fedora 42 guest. Adding these two packages (which are necessary) to be explicitly installed seems to fix it.

---
I'm guessing something changed in package dependencies recently, and these are no longer getting installed automatically.

---
 playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml | 2 ++
 1 file changed, 2 insertions(+)
playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml +2 -0
index 6046c84ac4c42f3df1242f6b71403fb25b46a2fe..066e073ae36b9fc3350e9783c47efd57bb540523 100644
@@ -23,6 +23,8 @@
       - swig
       - python3-gssapi
       - python3-ply
+      - python3-setuptools
+      - python3-packaging
 
 - name: Install xdrlib3
   ansible.builtin.pip:

---
base-commit: 346717537ce33c6f28c6cf5ae8edaa7bb4207ce1
change-id: 20260108-pynfs-26a3229ca92d

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 33 lines · Jeff Layton

The pynfs setup was breaking for me on a Fedora 42 guest. Adding these two packages (which are necessary) to be explicitly installed seems to fix it.

---
I'm guessing something changed in package dependencies recently, and these are no longer getting installed automatically.

---
 playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml | 2 ++
 1 file changed, 2 insertions(+)
playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml +0 -0
index 

6046c84ac4c42f3df1242f6b71403fb25b46a2fe..066e073ae36b9fc3350e9783c47efd57bb540523 100644

playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml +2 -1
@@ -23,6 +23,8 @@
       - swig
       - python3-gssapi
       - python3-ply
+      - python3-setuptools
+      - python3-packaging
 
 - name: Install xdrlib3
   ansible.builtin.pip:
 
---

base-commit: 346717537ce33c6f28c6cf5ae8edaa7bb4207ce1
change-id: 20260108-pynfs-26a3229ca92d

Quoted 3 lines

Best regards,

Signature · 1 line
Jeff Layton <[email protected]>
Signature · 1 line
Chuck Lever