Skip to content
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

[linter] Do not promote migration of Version class (yet) #12136

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

jgsogo
Copy link
Contributor

@jgsogo jgsogo commented Aug 10, 2022

Do not promote the new Version class as its interface will be broken in the upcoming Conan release (1.52). The future interface might be backported to 1.50.x and 1.51.x, but better not to use the current one.

Please, @jcar87, explain what is the future Version class to be used and the expected interface (maybe it is already documented and it can be just linked).

@jgsogo jgsogo requested a review from jcar87 August 10, 2022 14:06
@conan-center-bot
Copy link
Collaborator

Updating docs!

Copy link
Contributor

@jcar87 jcar87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This is just precautionary - conan.tools.scm.Version is correct for Conan 2, and exists in Conan 1.x, but in current 1.x releases it does not have the correct properties due to a bug which is being fixed for the new release and backported as path releases. Documentation will be updated to reflect the interface.

In the meantime - this removing this from the linter will help well intentioned users - otherwise we are in the catch-22 situation where CI jobs for Pull Requests show it as a linter error, but the recipe does not work for current 1.x releases.

@conan-center-bot conan-center-bot merged commit 0e97dc5 into conan-io:master Aug 11, 2022
@jgsogo jgsogo deleted the linter/remove-version-rule branch August 11, 2022 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants