]> git.droids-corp.org - dpdk.git/commit
doc: replace deprecated distutils version parsing
authorThomas Monjalon <thomas@monjalon.net>
Tue, 11 Jan 2022 11:35:44 +0000 (12:35 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 11 Jan 2022 13:33:09 +0000 (14:33 +0100)
commit2654ce5c56a4c17a649550ba89fd9003f21eab5b
treed42d73cafd90002aeec92e5a1ae895bebf7fc309
parent7be78d027918dbc846e502780faf94d5acdf5f75
doc: replace deprecated distutils version parsing

When using Python 3.10, this warning appears:
  DeprecationWarning: The distutils package is deprecated
  and slated for removal in Python 3.12.
  Use setuptools or check PEP 632 for potential alternatives

The PEP 632 recommends replacing "distutils.version" with "packaging".

Bugzilla ID: 914
Cc: stable@dpdk.org
Reported-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Jerin Jacob <jerinj@marvell.com>
buildtools/call-sphinx-build.py
doc/guides/conf.py