aio-libs / aiozmq

Asyncio (pep 3156) integration with ZeroMQ
aiozmq.readthedocs.org
BSD 2-Clause "Simplified" License
422 stars 56 forks source link

Fix Python version detection in runtests.py (broken for Python 3.10) #171

Closed musicinmybrain closed 3 years ago

musicinmybrain commented 3 years ago

What do these changes do?

Compare versions as tuples instead of strings, so that Python 3.10 is detected as >= Python 3.3.

Are there changes in behavior for the user?

Tests work on Python 3.10 instead of complaining that Python 3.3 or higher is needed.

Related issue number

Checklist

Is all that documentation really needed for such a trivial fix?