-
Notifications
You must be signed in to change notification settings - Fork 365
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
pinning dev versions of packages makes opam hard to use #3876
Comments
You can specify a version number to pin to get around this: |
Yes, you have two options here. Assuming you want to pin
Now I am re-reading your question and thinking that maybe your problem was the other way around: you want to pin Of course, you can still change the declared version of What do you think ? |
Forgot to mention that there is a shortcut to customise the version of a dev package when pinning. It won't help with you seing a "fake" version (but opam helpfully adds a
will do the same pinning, but register your pinned version as |
opam 2.1 adds |
I often want to use a pinned
dev
version of a package. If the package dependency version numbers have upper bounds,dev
cannot fulfill them (for example>= 0.3.0 & < 1.0.0
). The pinned version of the package can't be used. Faking the version number is ugly and cumbersome. Can we modify the bounds check to considerdev
to be included in any bounded range?/cc @linse
The text was updated successfully, but these errors were encountered: