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

test-poc for cppstd compatibility exact #15348

Merged

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Dec 26, 2023

Changelog: Feature: Add extension_properties attribute to pass information to extensions from recipes.
Changelog: Feature: Implement compatibility_cppstd in extension_properties for the compatibility.py plugin to disable fallback to other cppstd for the recipe.
Docs: conan-io/docs#3549

Close #15347

@memsharded memsharded added this to the 2.1 milestone Dec 26, 2023
@@ -29,7 +29,8 @@ def compatibility(conanfile):

def cppstd_compat(conanfile):
# It will try to find packages with all the cppstd versions

if not getattr(conanfile, "compatibility_cppstd", True):
Copy link
Member Author

Choose a reason for hiding this comment

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

Lets explore the conf mechanism instead of attributes:

  • With intermediate priorities, soft and hard overwritten by user profiles

@memsharded memsharded requested review from jcar87 and AbrilRBS January 2, 2024 15:16
@memsharded memsharded marked this pull request as ready for review January 10, 2024 11:34
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.

[feature] Provide a strict compatibility checker for cppstd
4 participants