Skip to content

Support Rocq 9.1 and 9.2#226

Open
spitters wants to merge 2 commits into
masterfrom
bump-rocq-9.2
Open

Support Rocq 9.1 and 9.2#226
spitters wants to merge 2 commits into
masterfrom
bump-rocq-9.2

Conversation

@spitters

Copy link
Copy Markdown
Collaborator

Adds compatibility with the Rocq 9.1 and 9.2 releases, a prerequisite for cutting a 9.2.0 release of CoRN.

Changes

  • meta.yml / coq-corn.opam: lift the coq bound from < "9.1~" to < "9.3~".
  • .github/workflows/docker-action.yml: add rocq/rocq-prover:9.1 and rocq/rocq-prover:9.2 to the CI matrix.
  • Re-sync meta.yml with the committed generated files: supported_coq_versions was stale (< "8.20~") and the tested_rocq_opam_versions list (dev/9.0) was missing, so meta.yml had drifted from coq-corn.opam / the CI workflow. Now regenerable.

The bound goes to < "9.3~" (rather than < "9.2~") since master already carries adaptations for post-9.2 dev changes (e.g. the adaptation to rocq-prover/rocq#21849, milestone 9.3); the new CI rows verify the 9.1 and 9.2 stable releases.

Depends on

Follow-up (not in this PR)

Once CI is green on 9.2, cut a 9.2.0 tag and submit coq-corn.9.2.0 to the opam archive.

🤖 Generated with Claude Code

spitters and others added 2 commits July 11, 2026 13:37
Lift the coq version bound to < 9.3~ and add Rocq 9.1 and 9.2 to the
CI matrix. Also re-sync meta.yml with the generated opam/CI files: the
supported bound was stale (< 8.20~) and the tested-Rocq list was missing.

Requires a Rocq 9.2-compatible coq-math-classes release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rocq 9.2 drops the `coq` and `coq-elpi` compatibility opam packages
(coq-elpi 3.4.0 pulls coq-core, capped at 9.1.1). Depend on rocq-core
and rocq-elpi for 9.x, keeping coq/coq-elpi for 8.18-8.20, following the
coq-community/tarjan and fourcolor pattern. Also accept rocq-math-classes.
The CoRN 9.2 CI job needs a Rocq 9.2 coq-math-classes in coq-released.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread meta.yml
# Rocq 9.2 drops the `coq` compatibility opam package, so the compiler and
# elpi dependencies are hand-written as disjunctions (coq/rocq-core,
# coq-elpi/rocq-elpi) in coq-corn.opam; this field is kept for reference.
opam: '{>= "8.19" & < "8.21~"} | "rocq-core" {(>= "9.0" & < "9.3~") | (= "dev")}'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you still need coq-core (contains the coqc etc binaries)

@spitters

Copy link
Copy Markdown
Collaborator Author

Waiting for rocq-prover/opam#3772

@SkySkimmer

SkySkimmer commented Jul 11, 2026 via email

Copy link
Copy Markdown
Contributor

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants