Skip to content

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