With our MunkiAutoStaging processor we have adopted AutoPkg's handling of version strings, using the distutils.version module. Since distutils are deprecated and will be removed with Python 3.12 its functionality should be replaced.
We are not sure on how to proceed with this issue, since the suggested alternative is to use the packaging package, but this is not a core module. And it's not a drop in replacement, as well.
Do you have any plans on how to tackle this issue for the AutoPkg core, yet?
One option would be to include the packages package in AutoPkg's Python and use its version.
With our MunkiAutoStaging processor we have adopted AutoPkg's handling of version strings, using the
distutils.version
module. Sincedistutils
are deprecated and will be removed with Python 3.12 its functionality should be replaced.We are not sure on how to proceed with this issue, since the suggested alternative is to use the
packaging
package, but this is not a core module. And it's not a drop in replacement, as well.Do you have any plans on how to tackle this issue for the AutoPkg core, yet?
One option would be to include the
packages
package in AutoPkg's Python and use itsversion
.Thanks, Matthias