shields icon indicating copy to clipboard operation
shields copied to clipboard

On conda, the displayed badge version is outdated.

Open akikuno opened this issue 1 year ago • 2 comments

Are you experiencing an issue with...

shields.io

🐞 Description

On PyPI, the correct latest version (v0.4.1) badge is displayed, but on conda, it shows the older version (v0.3.1).

I confirmed that both the PyPI and conda original sites display the latest version (v0.4.1). PyPI: https://pypi.org/project/wslPath Conda: https://anaconda.org/conda-forge/wslpath

🔗 Link to the badge

pypi: https://img.shields.io/pypi/v/wslPath.svg conda: https://img.shields.io/conda/v/conda-forge/wslPath

💡 Possible Solution

No response

akikuno avatar May 18 '24 23:05 akikuno

Hi. When we render this badge we call https://api.anaconda.org/package/conda-forge/wslPath and then report the value of the latest_version property, which is 0.3.1. I don't really know conda well enough to tell you why 0.4.1 is not considered the latest (even though that is also reported as a known version in the API response). I think that is a question you'd need to ask upstream, but fundamentally the version we're reporting is what the registry tells us is the latest. Thanks

chris48s avatar May 19 '24 07:05 chris48s

@chris48s Thank you very much for your guidance. I will contact Anaconda. I will update here if there is any progress. Should I close this issue for now? I'll leave it up to you.

akikuno avatar May 21 '24 02:05 akikuno