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

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

nocollier
Copy link
Contributor

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

Copy link
Contributor

@Zeitsperre Zeitsperre left a comment

Choose a reason for hiding this comment

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

Good idea. Thanks!

@Zeitsperre
Copy link
Contributor

@nocollier Would you please add your name to the AUTHORS.rst under Contributors please? I'll merge this afterwards. Thanks again!

@nocollier
Copy link
Contributor Author

Thanks!

@Zeitsperre Zeitsperre merged commit ab0adf7 into bird-house:master Jan 3, 2025
8 checks passed
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.

2 participants