Skip to content

Remove Python distutils imports#1253

Draft
Mirochill wants to merge 1 commit into
mininet:masterfrom
Mirochill:fix-1244-drop-distutils-imports
Draft

Remove Python distutils imports#1253
Mirochill wants to merge 1 commit into
mininet:masterfrom
Mirochill:fix-1244-drop-distutils-imports

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • remove the distutils.version fallback from mininet.util.StrictVersion
  • add a small local version comparator fallback for environments without packaging
  • replace distutils.spawn.find_executable in the VM builder with a local PATH lookup

Fixes #1244

Validation

  • git diff --check HEAD~1..HEAD
  • rg -n "from distutils|import distutils|distutils\." mininet util examples custom setup.py -S (no matches)
  • Not run locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated distutils Python module

1 participant