diff options
author | Tim Orling <timothy.t.orling@intel.com> | 2021-11-25 18:01:17 -0800 |
---|---|---|
committer | Tim Orling <timothy.t.orling@intel.com> | 2021-11-25 20:16:13 -0800 |
commit | fa4ab0f900b388f9ad47d9de0753d3bb1f950a65 (patch) | |
tree | 036dd558ebf010d0a22aea2956ead8ca02d152cf | |
parent | 7967250b8b7c22b80fa8cbe84a776ff28ea26b1a (diff) | |
download | openembedded-core-contrib-fa4ab0f900b388f9ad47d9de0753d3bb1f950a65.tar.gz |
lib/oe/terminal.py: use bb.version.LooseVersion
distutils has been deprecated in Python 3.10 and is slated for removal
in Python 3.12 (~October 2023).
Refactor to use the newly imported bb.version.LooseVersion instead of
distutils.version.LooseVersion.
[YOCTO #14610]
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
-rw-r--r-- | meta/lib/oe/terminal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index 59aa80de66..6681b0831a 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py @@ -5,7 +5,7 @@ import logging import oe.classutils import shlex from bb.process import Popen, ExecutionError -from distutils.version import LooseVersion +from bb.version import LooseVersion logger = logging.getLogger('BitBake.OE.Terminal') |