Skip to content

Support Rocq 9.1 and 9.2#144

Merged
spitters merged 3 commits into
masterfrom
bump-rocq-9.2
Jul 11, 2026
Merged

Support Rocq 9.1 and 9.2#144
spitters merged 3 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 so that a 9.2-compatible coq-math-classes can be published (needed as a dependency for a Rocq 9.2 release of CoRN).

Changes

  • meta.yml / coq-math-classes.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.

The bound goes to < "9.3~" (rather than < "9.2~") since master already tracks rocq-prover:dev; the new CI rows verify the 9.1 and 9.2 stable releases specifically.

No source changes were needed beyond the version metadata — CI on the new rows is the verification.

🤖 Generated with Claude Code

Lift the coq version bound to < 9.3~ and add Rocq 9.1 and 9.2 to the
CI matrix. Regenerated files kept in sync with meta.yml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rocq 9.2 drops the `coq` compatibility opam package, so `depends: coq`
is unsatisfiable there. Depend on `rocq-core` for 9.x (keeping `coq` for
8.18-8.20), following the coq-community/tarjan and fourcolor pattern.
coq-bignums already ships a +rocq9.2 build, so it is unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SkySkimmer

Copy link
Copy Markdown
Contributor

The bound goes to < "9.3~" (rather than < "9.2~") since master already tracks rocq-prover:dev

NB 9.3 was branched recently and is very unlikely to break mathclasses so <9.4 should work too

Comment thread meta.yml Outdated
# The coq-core/rocq-core split (Rocq 9.2 drops the `coq` compatibility
# package) means the compiler dependency must be hand-written as a
# disjunction in coq-math-classes.opam; this field is kept for reference.
opam: '{>= "8.18" & < "8.21~"} | "rocq-core" {(>= "9.0" & < "9.3~") | (= "dev")}'

@SkySkimmer SkySkimmer Jul 11, 2026

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 coq_makefile etc binaries)

9.3 is branched and does not break math-classes (Gaëtan Gilbert), so
extend the rocq-core bound to < 9.4~.
@spitters spitters merged commit 2c7e8cb into master Jul 11, 2026
7 checks passed
@spitters spitters deleted the bump-rocq-9.2 branch July 11, 2026 12:41
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