Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation of Python's distutils module #852

Open
choules opened this issue Jan 13, 2023 · 1 comment
Open

Deprecation of Python's distutils module #852

choules opened this issue Jan 13, 2023 · 1 comment

Comments

@choules
Copy link
Member

choules commented Jan 13, 2023

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.

Thanks,
Matthias

@gregneagle
Copy link
Contributor

See #856

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

No branches or pull requests

2 participants