zfs/rpm
Rich Ercolani 8cd9f20a34
Correct a flaw in the Python 3 version checking (#12636)
It turns out the ax_python_devel.m4 version check assumes that
("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1
is 10 or above and X is not. (Also presumably X+1=100 and ...)

So let's remake the check to behave consistently, using the
"packaging" or (if absent) the "distlib" modules.

(Also, update the Github workflows to use the new packages.)

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes: #12073
2021-11-01 14:54:47 -07:00
..
generic Correct a flaw in the Python 3 version checking (#12636) 2021-11-01 14:54:47 -07:00
redhat kmod-zfs should obsolete kmod-spl as well as spl-kmod 2021-04-14 13:19:50 -07:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:41:48 -07:00