Remove compat coq-core libraries (not executables) - #21955
Merged
Conversation
Contributor
Author
|
dune coq mode needs coq-core.kernel so let's keep that one until we drop coq-core as a whole. |
Contributor
Author
|
@JasonGross can you figure out how to port fiat-parsers? The compat infrastructure is confusing me. (without compat you just need to replace coq-core -> rocq-runtime in META.coq-fiat-parsers) |
Lysxia
pushed a commit
to Lysxia/rocq-simple-io
that referenced
this pull request
Apr 29, 2026
Contributor
Author
|
elpi_hb failure is spurious (parallel merge with elpi 3.7) |
Contributor
Author
|
ping @JasonGross |
Member
|
Sorry, will aim to take a look at this shortly. |
This was referenced May 5, 2026
JasonGross
added a commit
to JasonGross/fiat
that referenced
this pull request
May 5, 2026
Make META.coq-fiat-parsers version-controlled, with a v93 variant that uses rocq-runtime instead of coq-core, since rocq/pull/21955 removes the coq-core compat libraries. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
JasonGross
added a commit
to JasonGross/fiat
that referenced
this pull request
May 5, 2026
Use rocq-runtime instead of coq-core in META.coq-fiat-parsers.v93, since rocq/pull/21955 removes the coq-core compat libraries. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
JasonGross
added a commit
to JasonGross/rewriter
that referenced
this pull request
May 5, 2026
The deprecated coq-core.* library aliases are removed; switch the v93 META and the Makefile.local-late ltac2 -package kludge to rocq-runtime. Older versions still pin coq-core.
JasonGross
added a commit
to mit-plv/rewriter
that referenced
this pull request
May 6, 2026
JasonGross
added a commit
to mit-plv/fiat
that referenced
this pull request
May 6, 2026
* Add v93 files
```bash
( export v=2; export nv=$(( v+1 )); for i in $(git ls-files "*\.v9${v}"); do cp "$i" "${i/v9${v}/v9${nv}}"; git add "${i/v9${v}/v9${nv}}"; done )
```
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
* Make META.coq-fiat-parsers version-controlled
Add a META.coq-fiat-parsers.v<XX> variant for every supported Coq
version (each currently identical to the prior unversioned file), wire
META into ML_COMPATIBILITY_FILES so the per-version variant is copied
to META.coq-fiat-parsers at build time, and gitignore the unversioned
file so it is no longer overwritten in-tree.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
* Adapt to rocq-prover/rocq#21955
Use rocq-runtime instead of coq-core in META.coq-fiat-parsers.v93,
since rocq/pull/21955 removes the coq-core compat libraries.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
Contributor
Author
|
@coqbot run full ci |
SkySkimmer
added a commit
to rocq-community/stalmarck
that referenced
this pull request
May 22, 2026
lukaszcz
pushed a commit
to lukaszcz/coqhammer
that referenced
this pull request
May 22, 2026
ckeller
pushed a commit
to smtcoq/smtcoq
that referenced
this pull request
May 22, 2026
Janno
added a commit
to Mtac2/Mtac2
that referenced
this pull request
May 22, 2026
Adapt to rocq-prover/rocq#21955 (rm coq-core libraries)
Lysxia
pushed a commit
to QuickChick/QuickChick
that referenced
this pull request
May 22, 2026
ppedrot
pushed a commit
to MetaRocq/metarocq
that referenced
this pull request
May 26, 2026
Not sure if safechecker actually needs ltac or if rocq-runtime.vernac would be enough but doesn't need to be figured out in this PR.
ppedrot
added a commit
to MetaRocq/metarocq
that referenced
this pull request
May 26, 2026
Adapt to rocq-prover/rocq#21955 (rm coq-core libraries)
ppedrot
pushed a commit
to uds-psl/autosubst-ocaml
that referenced
this pull request
May 26, 2026
ppedrot
added a commit
to uds-psl/autosubst-ocaml
that referenced
this pull request
May 26, 2026
Adapt to rocq-prover/rocq#21955 (rm coq-core libraries)
JasonGross
pushed a commit
to rocq-community/coq-performance-tests
that referenced
this pull request
May 26, 2026
Contributor
Author
|
@coqbot run full ci |
Member
|
@coqbot merge now |
Contributor
|
@ppedrot: You can't merge the PR because it hasn't been approved yet. |
ppedrot
approved these changes
May 28, 2026
Member
|
@coqbot merge now |
Contributor
|
@ppedrot: Please take care of the following overlays:
|
JasonGross
pushed a commit
to JasonGross/rewriter
that referenced
this pull request
Jun 12, 2026
rocq-prover/rocq#21955 (in the dev builds of Rocq 9.3) removed the coq-core.* findlib compatibility aliases, so the static `requires = "coq-core.plugins.ltac"` lines in META.coq-rewriter now fail on rocq dev with: findlib error: coq-core.plugins.ltac not found ... required by `coq-rewriter.rewriter_build' The real findlib package has been rocq-runtime.plugins.ltac since Rocq 9.0, but Coq 8.x only has coq-core.plugins.ltac, so the META file is now generated from META.coq-rewriter.in by substituting @ROCQ_RUNTIME_PACKAGE@ with coq-core on 8.x and rocq-runtime on 9.x, following the same sed-template pattern as _CoqProject.in. The generation rule lives in the top-level Makefile (not Makefile.local-late) because the META file is referenced from _CoqProject and hence must exist before coq_makefile runs; Makefile.coq now depends on it, and the .d files depend on it so it is regenerated before coqdep needs it (and re-made when the Coq version changes, since it depends on the .coq-version file). Also use $(ROCQ_RUNTIME_PACKAGE) for the FINDLIBPKGS ltac2 kludge, and query the rocq-runtime packages in describe-system-config.sh. This unbreaks the docker-master / dev CI builds of rewriter and of fiat-crypto (via its rewriter submodule). https://claude.ai/code/session_01PjCbMk9zjAZWvZHuznFXqh
This was referenced Jun 13, 2026
JasonGross
added a commit
to mit-plv/rewriter
that referenced
this pull request
Jun 13, 2026
…206) The diagnostic script only queried coq-core.* findlib packages. Since Rocq 9.0 the plugins live under rocq-runtime.* (coq-core.* were compat aliases, removed in rocq-prover/rocq#21955), so on Rocq 9.x the coq-core queries now report "not found" while the real rocq-runtime packages go unreported. Query both so the system-config log is useful for diagnosing findlib resolution failures (such as the coq-core.plugins.ltac-not-found error) on both Coq 8.x and Rocq 9.x. https://claude.ai/code/session_01PjCbMk9zjAZWvZHuznFXqh Co-authored-by: Claude <[email protected]>
JasonGross
added a commit
to mit-plv/fiat-crypto
that referenced
this pull request
Jun 13, 2026
Pulls in mit-plv/rewriter's adaptation to the removal of the deprecated coq-core.* findlib library aliases (rocq-prover/rocq#21955), merged as mit-plv/rewriter#203. Without this, the dev (rocq dev / 9.3) docker CI builds fail while compiling the rewriter submodule with: *** Error: In file src/Rewriter/Util/plugins/RewriterBuild.v findlib error: coq-core.plugins.ltac not found ... required by `coq-rewriter.rewriter_build' because the rewriter META still required coq-core.plugins.* which no longer exists on rocq 9.3. The bumped rewriter generates the META per Coq version (coq-core.* on 8.x/9.0-9.2, rocq-runtime.* on 9.3). https://claude.ai/code/session_01PjCbMk9zjAZWvZHuznFXqh Co-authored-by: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overlays: