Skip to content

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

Closed
ejgallego wants to merge 2 commits intoocaml:mainfrom
ejgallego:coq_lang_remove_810
Closed

[coq] Remove Coq build languages 0.1 to 0.7#6445
ejgallego wants to merge 2 commits intoocaml:mainfrom
ejgallego:coq_lang_remove_810

Conversation

@ejgallego
Copy link
Copy Markdown
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
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
Copy Markdown
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 <e+git@x80.org>
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 <e+git@x80.org>
@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
Copy Markdown
Collaborator

emillon commented Aug 1, 2023

See #8294 for a way to do this.

@ejgallego
Copy link
Copy Markdown
Collaborator Author

Superseeded by #12035

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

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants