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

Remove the use of deprecated distutils package #808

Merged
merged 1 commit into from May 5, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented May 5, 2022

Fixes #807

With the acceptance of PEP 632, this module was deprecated in Python 3.10
and it will be removed in Python 3.12. The LooseVersion and
StrictVersion classes are replaced by packaging.version.Version as
recommended by the PEP itself, see:

https://peps.python.org/pep-0632/#migration-advice

@sphuber sphuber requested a review from mbercx May 5, 2022 12:04
With the acceptance of PEP 632, this module was deprecated in Python 3.10
and it will be removed in Python 3.12. The `LooseVersion` and
`StrictVersion` classes are replaced by `packaging.version.Version` as
recommended by the PEP itself, see:

    https://peps.python.org/pep-0632/#migration-advice
Copy link
Member

@mbercx mbercx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swear I'm actually looking at the code and not just approving these PRs 😝

@sphuber sphuber merged commit 18dd972 into develop May 5, 2022
@sphuber sphuber deleted the fix/807/remove-distutils branch May 5, 2022 13:30
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.

Remove use of deprecated distutils package
2 participants