Skip to content

Fixes for exporting to conan cache#26

Merged
tonyastolfi merged 3 commits into
mathworks:mainfrom
vidyasilai:conan_export_fixes
Jun 22, 2026
Merged

Fixes for exporting to conan cache#26
tonyastolfi merged 3 commits into
mathworks:mainfrom
vidyasilai:conan_export_fixes

Conversation

@vidyasilai

Copy link
Copy Markdown
Collaborator

No description provided.

@vidyasilai vidyasilai self-assigned this Jun 22, 2026
Comment thread test_package/conanfile.py Outdated

def requirements(self):
self.requires(self.tested_reference_str)
self.requires("batteries/[>=0.71.1 <1]", force=True)

@tonyastolfi tonyastolfi Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think this should be marked as visible=True, instead of explicitly adding batteries::batteries in the downstream package's link libraries.

See https://docs.conan.io/2/reference/conanfile/methods/requirements.html#visible

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Fixed

@tonyastolfi tonyastolfi merged commit 1816340 into mathworks:main Jun 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants