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 distutils for python>3.11 compatibility #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nocollier
Copy link

Overview

This PR removes a dependency on the distutils package which was deprecated in python 3.10 and removed in 3.12. Instead we use the packaging package already in requirements.txt and being used in base.py. packaging was available back in 3.9 and so I believe this solution is backwards compatible.

Tests passed for me for python 3.12.

Changes:

  • distutils.version.StrictVersion --> packaging.version.Version

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.

1 participant