Time was, any LooseVersion could be compared to any other LooseVersion, and if that meant comparing ints and strs, so be it. That time was Python 2. Obviously Python 2 is end-of-life, but to verify that the behavior was consistent, I needed get tests working in Python 2. That basically means subclassing object and stripping out type annotations, which is fine, since we're publishing a stub anyway.
I'm not going to bother trying to get tox/GitHub actions working with Python 2. This will be installable on end-of-life Pythons, but not supported.
Time was, any
LooseVersion
could be compared to any otherLooseVersion
, and if that meant comparingint
s andstr
s, so be it. That time was Python 2. Obviously Python 2 is end-of-life, but to verify that the behavior was consistent, I needed get tests working in Python 2. That basically means subclassingobject
and stripping out type annotations, which is fine, since we're publishing a stub anyway.I'm not going to bother trying to get tox/GitHub actions working with Python 2. This will be installable on end-of-life Pythons, but not supported.
Closes #16.