-
Notifications
You must be signed in to change notification settings - Fork 358
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
opam doesn't detect homebrew installed python3 #5023
Comments
The issue here is: when it is asked to |
We could go through the output of |
Is it not possible to use the return code of the
Notice, for python 2 the return code is not 0 (success) marked by ✗ in my shell output. |
Sadly |
xref #4759 |
That makes sense. Another thought is how many virtual packages are there? If not too many, perhaps the OCaml code for pooling can make exceptions for those by either grepping the version from the package name after the @ symbol in the package name or call |
It's not conceivable, it will take time (depext mechanism must remain very short, it is called for half opam commands), and if we hard code virtual packages list, users need to wait for an release of opam for each new package added. We'll try to dig with In the meantime, you can fix your setup by telling to opam that |
We're considering a different way of tackling external dependencies in opam 3.x which might be able to fix this properly, but in the meantime it's at least possible to add the explicit bypass as noted in #5023 (comment). This isn't fixable in an adequate way with the 2.x depext system - closing this as wontfix, for now. |
Notice the warning in the second output of
opam config report
:The text was updated successfully, but these errors were encountered: