-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git tags are not valid semvers #2409
Comments
It seems the documentation is not up-to-date as it says use |
The Page you linked do not mention git tags. This page (https://git-scm.com/book/en/v2/Git-Basics-Tagging) describes that adding a v-prefix is common practice. I am not sure why this is a problem with Conan. |
You're right, it's mainly git tagging which is not compatible with semver. Looks like only the |
I don't really see a problem. |
Looking at https://semver.org/ I find
so IMHO it is conan's job to support v prefixes. |
Closing this issue as it is not related to this library. |
Impossible to use conan version ranges because the git tags are not valid semver because of the 'v' prefix.
See https://docs.conan.io/en/latest/versioning/version_ranges.html.
Steps to reproduce:
ERROR: Version range '~=v3.9' from requirement 'nlohmann_json/[~=v3.9]@project/stable' required by '...' could not be resolved in local cache
The text was updated successfully, but these errors were encountered: