When the search command finds a result that matches a project that is already installed, it adds 'installed_version' and 'latest_version' keys to the results.
'installed_version' gives a string representing the version (e.g., '0.1.1'), but 'latest_version' gives an object like NormalizedVersion('0.1.1'). These should be consistent. I suggest turning 'latest_version' into a string.
When the search command finds a result that matches a project that is already installed, it adds
'installed_version'
and'latest_version'
keys to the results.'installed_version'
gives a string representing the version (e.g.,'0.1.1'
), but'latest_version'
gives an object likeNormalizedVersion('0.1.1')
. These should be consistent. I suggest turning'latest_version'
into a string.Here's an example that shows the issue: