-
Notifications
You must be signed in to change notification settings - Fork 165
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
Could we make coq-ltac2 a dummy package in 8.11 instead of requiring Coq < 8.11? #1422
Comments
Can't you depend on coq-ltac2 || (Coq >= 8.11)?
Gaëtan Gilbert
…On 19/05/2020 20:36, Clément Pit-Claudel wrote:
Description of the problem
I'm trying to support 8.9 through 8.11 in the same project. I use Ltac2, so I have a dependency on the coq-ltac2 package. But currently that package requires Coq < 8.11.
Could the coq-ltac2 be marked as compatible with 8.11 and made to install a dummy package there? Or is there a simpler solution that I overlooked?
cc @ppedrot <https://github.com/ppedrot>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <https://github.com/coq/coq/issues/12367>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AASZB3EGVS5JVSNBCRJDOGTRSLGTHANCNFSM4NFH6N7Q>.
|
According to https://opam.ocaml.org/doc/Manual.html, the correct syntax is probably |
Thanks, I should have looked there. I only looked at https://dune.readthedocs.io/en/stable/dune-files.html#package, and AFAICT dune doesn't support that. Am I missing something? |
Indeed, it looks like this feature might be missing from dune. @ejgallego? |
I don't recall the status of that, at least on master you should be able to do:
|
This is an OR between versions, but we need an OR between packages. |
If that's not yet implemented I'd suggest you file a feature request and hopefully will solved soon. I can check what's the status of this but not today sorry. |
Thanks a lot for the report @cpitclaudel , regarding the opam issue, I suggest to re-submit at https://github.com/coq/opam-coq-archive/issues as it is an issue of the repos. |
Isn't it the whole issue? It is easy to transfer issues between repos of the same organization @ejgallego. |
Oh sorry I was not aware of that, thanks for taking care of the transfer. |
Description of the problem
I'm trying to support 8.9 through 8.11 in the same project. I use Ltac2, so I have a dependency on the coq-ltac2 package. But currently that package requires Coq < 8.11.
Could the coq-ltac2 be marked as compatible with 8.11 and made to install a dummy package there? Or is there a simpler solution that I overlooked?
cc @ppedrot
The text was updated successfully, but these errors were encountered: