[issue36296] distutils.version.StrictVersion objects cannot be compared with distutils.version.LooseVersionobjects

Harry Seeber report at bugs.python.org
Fri Mar 15 12:47:22 EDT 2019


Harry Seeber <harry.seeber at gusto.com> added the comment:

I'm using these classes directly to parse semantic-ish versions in metadata
for Munki packages (a package manager for MacOS). Looks like this packaging
library is what I should use. Thanks you!

On Thu, Mar 14, 2019 at 5:32 PM Éric Araujo <report at bugs.python.org> wrote:

>
> Éric Araujo <merwok at netwok.org> added the comment:
>
> Hello!  Are you seeing this problem when building or installing some
> package, or are you using the classes directly?
>
> If it’s the latter, I would recommand you to use
> https://pypi.org/project/packaging/ rather than distutils, which is not
> meant to be used as a generic library.
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue36296>
> _______________________________________
>

-- 

Harry Seeber

IT Support | Gusto <http://gusto.com/>

Gusto | all-in-one platform for HR, payroll, and benefits

noun (guhs-toh)

great enjoyment, energy, and enthusiasm

ex: Harry's cat Edgar pounces upon butterflies #withGusto

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36296>
_______________________________________


More information about the Python-bugs-list mailing list