aio-libs-abandoned / aioredis-py

asyncio (PEP 3156) Redis support
https://aioredis.readthedocs.io/
MIT License
2.3k stars 336 forks source link

Use Version (packaging) instead of StrictVersion (distutils) #1465

Closed bonastreyair closed 1 year ago

bonastreyair commented 1 year ago

This PR removes the Deprectation Warning found when running tests:

DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
hiredis_version = StrictVersion(hiredis.__version__)

I just wanted to get rid of it. :)

What do these changes do?

Are there changes in behavior for the user?

Related issue number

Checklist