-
Notifications
You must be signed in to change notification settings - Fork 947
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
[question] Components requirements to transitive library #16278
Comments
Hi @joastoe Thanks for your question. I am afraid no, this is by design. If a package doesn't express a explicit Note that if your package code has direct |
Thanks @memsharded for this fast answer. Indeed, My concern by adding |
The moment that there is a direct dependency of The recommended way to deal with possible conflicts and minimize them is to use version ranges. If |
Thanks for this explanation. I'll then add |
Sounds good. I'll close the ticket as responded, but please feel free to open new tickets for any further question you might have. Thanks for the feedback! |
What is your question?
Hi, I stumbled across the following:
Let's assume my package has the following requirements
requires = ["libA/0.1.0"]
This libA in turn depends on some libB
Now I use components for the package:
This fails with an error:
ERROR: mypackage/1.0.0: required component package 'libB::' not in dependencies
Is there a way to overcome this without the need of adding libB to the requires?
Thanks
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: