Skip to content

Turn require Coq depr warnings as error by default#21851

Open
proux01 wants to merge 2 commits intorocq-prover:masterfrom
proux01:warnerror-require-coq
Open

Turn require Coq depr warnings as error by default#21851
proux01 wants to merge 2 commits intorocq-prover:masterfrom
proux01:warnerror-require-coq

Conversation

@proux01 proux01 added this to the 9.3+rc1 milestone Mar 31, 2026
@proux01 proux01 requested review from a team as code owners March 31, 2026 09:06
@proux01 proux01 added kind: cleanup Code removal, deprecation, refactorings, etc. request: full CI Use this label when you want your next push to trigger a full CI. labels Mar 31, 2026
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Mar 31, 2026
@proux01 proux01 added the request: full CI Use this label when you want your next push to trigger a full CI. label Mar 31, 2026
@proux01 proux01 force-pushed the warnerror-require-coq branch from 8e19fdd to d54ba77 Compare March 31, 2026 09:37
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Mar 31, 2026
@SkySkimmer SkySkimmer added the needs: overlay This is breaking external developments we track in CI. label Mar 31, 2026
@SkySkimmer SkySkimmer self-assigned this Mar 31, 2026
proux01 added a commit to rocq-community/bignums that referenced this pull request Mar 31, 2026
proux01 added a commit to rocq-community/atbr that referenced this pull request Mar 31, 2026
proux01 added a commit to rocq-community/bignums that referenced this pull request Mar 31, 2026
proux01 added a commit to proux01/fiat that referenced this pull request Apr 1, 2026
proux01 added a commit to proux01/Mtac2 that referenced this pull request Apr 1, 2026
proux01 added a commit to proux01/paramcoq that referenced this pull request Apr 1, 2026
proux01 added a commit to rocq-community/paramcoq that referenced this pull request Apr 1, 2026
Janno added a commit to Mtac2/Mtac2 that referenced this pull request Apr 1, 2026
proux01 added a commit to proux01/smtcoq that referenced this pull request Apr 1, 2026
proux01 added a commit to rocq-community/stalmarck that referenced this pull request Apr 1, 2026
proux01 added a commit to rocq-community/stalmarck that referenced this pull request Apr 1, 2026
proux01 added a commit to rocq-community/stalmarck that referenced this pull request Apr 1, 2026
@proux01 proux01 added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
@proux01 proux01 force-pushed the warnerror-require-coq branch from 6bcaae9 to 0c97b2e Compare April 2, 2026 11:26
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
nmvdw added a commit to UniMath/UniMath that referenced this pull request Apr 2, 2026
Adapt to rocq-prover/rocq#21851

Co-authored-by: Niels van der Weide <nnmvdw@gmail.com>
proux01 added a commit to proux01/coq-elpi that referenced this pull request Apr 2, 2026
@proux01 proux01 added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
@proux01 proux01 force-pushed the warnerror-require-coq branch from 0c97b2e to 5bae0b3 Compare April 2, 2026 12:11
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
gares added a commit to LPCIC/coq-elpi that referenced this pull request Apr 2, 2026
proux01 added a commit to proux01/hierarchy-builder that referenced this pull request Apr 2, 2026
proux01 added a commit to math-comp/hierarchy-builder that referenced this pull request Apr 2, 2026
@proux01 proux01 added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
@proux01 proux01 force-pushed the warnerror-require-coq branch from 5bae0b3 to 84c97af Compare April 2, 2026 14:47
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 2, 2026
JasonGross pushed a commit to mit-plv/fiat that referenced this pull request Apr 2, 2026
* Adapt to rocq-prover/rocq#21851

* Update CI

9.2.0 was released last week but we don't have the docker image yet.
JasonGross pushed a commit to proux01/rewriter that referenced this pull request Apr 2, 2026
@JasonGross
Copy link
Copy Markdown
Member

What is the reason for this? (Is there any urgency?)

Given the somewhat fluid boundary between corelib and stdlib, it seems much nicer to have a common prefix that can be used to refer to both of them.

I was under the impression that the stdlib split was done somewhat tentatively, with the option to revert it if it seemed to do more harm than good. Has there been a debrief of the impacts of doing the split and which impacts are positive and which are negative?

@proux01
Copy link
Copy Markdown
Contributor Author

proux01 commented Apr 3, 2026

These deprecations date back from 9.0, planing actual removal in 9.4 is already way offer the official 2 successive versions compatibility policy.

Note that you still have your common require prefix, it's just Stdlib instead of Coq.

proux01 added a commit to proux01/algebra-tactics that referenced this pull request Apr 3, 2026
proux01 added a commit to proux01/analysis that referenced this pull request Apr 3, 2026
proux01 added a commit to math-comp/analysis that referenced this pull request Apr 3, 2026
@proux01 proux01 added the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 3, 2026
@proux01 proux01 force-pushed the warnerror-require-coq branch from 84c97af to bf2dfa7 Compare April 3, 2026 13:49
@coqbot-app coqbot-app bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Apr 3, 2026
@JasonGross
Copy link
Copy Markdown
Member

Dropping compatibility after two versions is fine for changes that are unambiguously positive, but you have not addressed my other question:

Has there been a debrief of the impacts of doing the split and which impacts are positive and which are negative?

@proux01
Copy link
Copy Markdown
Contributor Author

proux01 commented Apr 7, 2026

That's pretty orthogonal. The Coq -> Stdlib renaming has more to do with the renaming than with the Stdlib library becoming an actual library. And whatever happens to Stdlib in the future, it's unlikely we'll ever rename it Coq.

Even if you disagree, this is not yet removing the deprecation so you have one more release cycle to trigger any discussion you want to have.

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

Labels

kind: cleanup Code removal, deprecation, refactorings, etc. needs: overlay This is breaking external developments we track in CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants