Commit bef4661
committed
pynfs: Fix the xdrlib dependency for Debian
When running "make pynfs" in the current directory, I get to the
"Install pynfs build dependencies" task, which fails with the
message "No package matching 'python3-standard-xdrlib' is
available". The test system is running Debian 11.
Python 3.13 removed xdrlib (PEP 594), and we recently adjusted
install-deps/redhat/main.yml to accommodate that.
I found that the xdrlib module is already part of Python 3.9's
standard library on Debian 11. The package python3-standard-xdrlib
doesn't exist on Debian 11 because xdrlib is included by default.
Remove the python3-standard-xdrlib package and adopt the solution
used by install-deps/redhat/main.yml, which is to pull in xdrlib3
when xdrlib is not included in the standard Python library (this
should be only on Debian 13).
Signed-off-by: Chuck Lever <[email protected]>1 parent 2d47a77 commit bef4661
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments