This pull request addresses issue #56 by fixing the version comparison logic in the to_dict method. It ensures that all version components are treated as strings before sorting them using LooseVersion. This prevents the TypeError caused by comparing instances of str and int.
This pull request addresses issue #56 by fixing the version comparison logic in the to_dict method. It ensures that all version components are treated as strings before sorting them using LooseVersion. This prevents the TypeError caused by comparing instances of str and int.