* xdrlib3 install error on RHEL 8.10
@ 2025-08-17 20:42 Chuck Lever
2025-08-18 0:43 ` Jeff Layton
0 siblings, 1 reply; 4+ messages in thread
From: Chuck Lever @ 2025-08-17 20:42 UTC (permalink / raw)
To: Jeff Layton, Scott Mayhew; +Cc: kdevops@lists.linux.dev
Hi Jeff / Scott -
I'm setting up RHEL 8.10 test runners to test linux-5.4.y, and ran into
this issue with the pynfs playbook:
TASK [pynfs : Install xdrlib3]
*****************************************************************************************************************
task path:
/home/cel/src/kdevops/buildbot-configs/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml:27
fatal: [pynfs-nfsd]: FAILED! => {
"changed": false,
"cmd": [
"/usr/bin/python3",
"-m",
"pip.__main__",
"install",
"xdrlib3"
]
}
MSG:
stdout: Collecting xdrlib3
:stderr: Could not find a version that satisfies the requirement
xdrlib3 (from versions: )
No matching distribution found for xdrlib3
PLAY RECAP
*************************************************************************************************************************************
pynfs-nfsd : ok=26 changed=7 unreachable=0
failed=1 skipped=21 rescued=0 ignored=0
--
Chuck Lever
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xdrlib3 install error on RHEL 8.10
2025-08-17 20:42 xdrlib3 install error on RHEL 8.10 Chuck Lever
@ 2025-08-18 0:43 ` Jeff Layton
[not found] ` <aKMo0seFGa5dTBqU@aion>
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2025-08-18 0:43 UTC (permalink / raw)
To: Chuck Lever, Scott Mayhew; +Cc: kdevops@lists.linux.dev
On Sun, 2025-08-17 at 16:42 -0400, Chuck Lever wrote:
> Hi Jeff / Scott -
>
> I'm setting up RHEL 8.10 test runners to test linux-5.4.y, and ran into
> this issue with the pynfs playbook:
>
>
> TASK [pynfs : Install xdrlib3]
> *****************************************************************************************************************
> task path:
> /home/cel/src/kdevops/buildbot-configs/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml:27
> fatal: [pynfs-nfsd]: FAILED! => {
> "changed": false,
> "cmd": [
> "/usr/bin/python3",
> "-m",
> "pip.__main__",
> "install",
> "xdrlib3"
> ]
> }
>
> MSG:
>
> stdout: Collecting xdrlib3
>
> :stderr: Could not find a version that satisfies the requirement
> xdrlib3 (from versions: )
> No matching distribution found for xdrlib3
>
>
> PLAY RECAP
> *************************************************************************************************************************************
> pynfs-nfsd : ok=26 changed=7 unreachable=0
> failed=1 skipped=21 rescued=0 ignored=0
>
Weird. If you ssh into the box and run 'pip install xdrlib3', does it
work?
--
Jeff Layton <jlayton@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xdrlib3 install error on RHEL 8.10
[not found] ` <aKMo0seFGa5dTBqU@aion>
@ 2025-08-18 16:29 ` Scott Mayhew
2025-08-18 18:05 ` Chuck Lever
0 siblings, 1 reply; 4+ messages in thread
From: Scott Mayhew @ 2025-08-18 16:29 UTC (permalink / raw)
To: Jeff Layton; +Cc: Chuck Lever, kdevops@lists.linux.dev
Re-sending because my outbound email was broken apparently.
On Mon, 18 Aug 2025, Scott Mayhew wrote:
> On Sun, 17 Aug 2025, Jeff Layton wrote:
>
> > On Sun, 2025-08-17 at 16:42 -0400, Chuck Lever wrote:
> > > Hi Jeff / Scott -
> > >
> > > I'm setting up RHEL 8.10 test runners to test linux-5.4.y, and ran into
> > > this issue with the pynfs playbook:
> > >
> > >
> > > TASK [pynfs : Install xdrlib3]
> > > *****************************************************************************************************************
> > > task path:
> > > /home/cel/src/kdevops/buildbot-configs/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml:27
> > > fatal: [pynfs-nfsd]: FAILED! => {
> > > "changed": false,
> > > "cmd": [
> > > "/usr/bin/python3",
> > > "-m",
> > > "pip.__main__",
> > > "install",
> > > "xdrlib3"
> > > ]
> > > }
> > >
> > > MSG:
> > >
> > > stdout: Collecting xdrlib3
> > >
> > > :stderr: Could not find a version that satisfies the requirement
> > > xdrlib3 (from versions: )
> > > No matching distribution found for xdrlib3
> > >
> > >
> > > PLAY RECAP
> > > *************************************************************************************************************************************
> > > pynfs-nfsd : ok=26 changed=7 unreachable=0
> > > failed=1 skipped=21 rescued=0 ignored=0
> > >
> >
> >
> > Weird. If you ssh into the box and run 'pip install xdrlib3', does it
> > work?
>
> RHEL 8 uses Python 3.6.3, which still has xdrlib (which was deprecated
> in 3.11 and removed in 3.13).
>
> If you run 'pip --verbose install xdrlib3', you'll see that it requires
> the python version to be between 3.7 and 4.0.
>
> >
> > --
> > Jeff Layton <jlayton@kernel.org>
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xdrlib3 install error on RHEL 8.10
2025-08-18 16:29 ` Scott Mayhew
@ 2025-08-18 18:05 ` Chuck Lever
0 siblings, 0 replies; 4+ messages in thread
From: Chuck Lever @ 2025-08-18 18:05 UTC (permalink / raw)
To: Scott Mayhew; +Cc: kdevops@lists.linux.dev, Jeff Layton
On 8/18/25 12:29 PM, Scott Mayhew wrote:
> Re-sending because my outbound email was broken apparently.
>
> On Mon, 18 Aug 2025, Scott Mayhew wrote:
>
>> On Sun, 17 Aug 2025, Jeff Layton wrote:
>>
>>> On Sun, 2025-08-17 at 16:42 -0400, Chuck Lever wrote:
>>>> Hi Jeff / Scott -
>>>>
>>>> I'm setting up RHEL 8.10 test runners to test linux-5.4.y, and ran into
>>>> this issue with the pynfs playbook:
>>>>
>>>>
>>>> TASK [pynfs : Install xdrlib3]
>>>> *****************************************************************************************************************
>>>> task path:
>>>> /home/cel/src/kdevops/buildbot-configs/playbooks/roles/pynfs/tasks/install-deps/redhat/main.yml:27
>>>> fatal: [pynfs-nfsd]: FAILED! => {
>>>> "changed": false,
>>>> "cmd": [
>>>> "/usr/bin/python3",
>>>> "-m",
>>>> "pip.__main__",
>>>> "install",
>>>> "xdrlib3"
>>>> ]
>>>> }
>>>>
>>>> MSG:
>>>>
>>>> stdout: Collecting xdrlib3
>>>>
>>>> :stderr: Could not find a version that satisfies the requirement
>>>> xdrlib3 (from versions: )
>>>> No matching distribution found for xdrlib3
>>>>
>>>>
>>>> PLAY RECAP
>>>> *************************************************************************************************************************************
>>>> pynfs-nfsd : ok=26 changed=7 unreachable=0
>>>> failed=1 skipped=21 rescued=0 ignored=0
>>>>
>>>
>>>
>>> Weird. If you ssh into the box and run 'pip install xdrlib3', does it
>>> work?
>>
>> RHEL 8 uses Python 3.6.3, which still has xdrlib (which was deprecated
>> in 3.11 and removed in 3.13).
>>
>> If you run 'pip --verbose install xdrlib3', you'll see that it requires
>> the python version to be between 3.7 and 4.0.
So the pynfs playbook should avoid running pip on RHEL releases prior to
RHEL 9 -- or at least the playbook should check the python version
before attempting "pip install".
But will the tip of pynfs run on those releases?
--
Chuck Lever
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-18 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-17 20:42 xdrlib3 install error on RHEL 8.10 Chuck Lever
2025-08-18 0:43 ` Jeff Layton
[not found] ` <aKMo0seFGa5dTBqU@aion>
2025-08-18 16:29 ` Scott Mayhew
2025-08-18 18:05 ` Chuck Lever
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox