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

--ignore-constraints-on doesn't ignore package available constraints #5283

Open
sim642 opened this issue Sep 8, 2022 · 0 comments
Open

--ignore-constraints-on doesn't ignore package available constraints #5283

sim642 opened this issue Sep 8, 2022 · 0 comments

Comments

@sim642
Copy link

sim642 commented Sep 8, 2022

The option currently applies to only dependency version constraints according to the man page:

       --ignore-constraints-on[=PACKAGES] (default=)
           Forces opam to ignore version constraints on all dependencies to
           the listed packages. This can be used to test compatibility, but
           expect builds to break when using this. Note that version
           constraints on optional dependencies and conflicts are unaffected.
           This is equivalent to setting $OPAMIGNORECONSTRAINTS.

However the option name itself sounds more general, so it could also apply to package available constraints. In particular, it could further help with compatibility testing when the package currently has been made unavailable on certain OS-s, architectures, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants