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

[coq] Remove Coq build languages 0.1 to 0.7 #6445

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ejgallego
Copy link
Collaborator

Since #6409 we automatically infer rules for coq-native, and in general this requires at least Coq 8.10 due to the need of command-line option flags added in that version for native.

The recommended path for most projects is just to upgrade their dune file and Coq version file. Coq 8.10 will likely be the base we support in (lang coq 1.0).

@ejgallego ejgallego added the coq label Nov 11, 2022
@ejgallego ejgallego requested a review from Alizter November 11, 2022 17:21
@@ -3,9 +3,7 @@ open Dune_lang.Decoder

let coq_syntax =
Dune_lang.Syntax.create ~name:"coq" ~desc:"the Coq language"
[ ((0, 1), `Since (1, 9))
; ((0, 2), `Since (2, 5))
; ((0, 3), `Since (2, 8))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That doesn't seem like a good way of deleting old versions. The user will get a confusing message that 0.1 isn't recognized or some such. Instead, we should add a Delete_in constructor here that would give a proper message.

@ejgallego ejgallego force-pushed the coq_lang_remove_810 branch 2 times, most recently from 9304bc5 to 287ffa0 Compare April 21, 2023 09:42
As discussed with Ali, we want the previous semantics with implicit
global theories to go away ASAP as they don't provide a usable
workflow in general.

Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
Since ocaml#6409 we automatically infer rules for coq-native, and in
general this requires at least Coq 8.10 due to the need of
command-line option flags added in that version for native.

Also, since ocaml#7047 and `(coq lang 0.8)` we detect installed theories,
correcting a longstanding problem, we require all users to migrate.

The recommended path for most projects is just to upgrade their dune
file and Coq version file. Coq 8.10 will likely be the base we support
in `(lang coq 1.0)`.

Signed-off-by: Emilio Jesus Gallego Arias <[email protected]>
@ejgallego ejgallego force-pushed the coq_lang_remove_810 branch from 287ffa0 to 0004531 Compare April 21, 2023 09:50
@ejgallego ejgallego changed the title [coq] Remove support for Coq < 8.10 , and coq build languages 0.1 and 0.2 [coq] Remove Coq build languages 0.1 to 0.7 Apr 21, 2023
@emillon
Copy link
Collaborator

emillon commented Aug 1, 2023

See #8294 for a way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

4 participants