Fix Python 3.12+ compatibility for StrictVersion, pexpect, and test runner
mininet-tests / Mininet Tests (ubuntu-20.04, python2) (push) Canceled after 0s
mininet-tests / Mininet Tests (ubuntu-20.04, python3) (push) Canceled after 0s
mininet-tests / Mininet Tests (ubuntu-22.04, python2) (push) Canceled after 0s
mininet-tests / Mininet Tests (ubuntu-22.04, python3) (push) Canceled after 0s
code-check / Mininet Code Check (push) Canceled after 0s

This commit is contained in:
Godopu committed 2026-08-31 01:47:56 +00:00
1 parent d9c8f86889
commit 6f0e0f5e21
4 files changed
+54 -8

No files matched your search

+2 -2
View File
@@ -190,7 +190,7 @@ function mn_deps {
$install gcc make socat psmisc xterm ssh iperf telnet \
ethtool help2man $pf pylint $pep8 \
net-tools ${PYPKG}-tk
net-tools ${PYPKG}-tk ${PYPKG}-packaging || true
# Install pip
$install ${PYPKG}-pip || $install ${PYPKG}-pip-whl
@@ -203,7 +203,7 @@ function mn_deps {
sudo ${PYTHON} get-pip.py
rm get-pip.py
fi
${python} -m pip install pexpect
${PYTHON} -m pip install pexpect || true
$install iproute2 || $install iproute
$install cgroup-tools || $install cgroup-bin
$install cgroupfs-mount