Skip to content

Support for Rocq 9.2 - #40

Merged
RalfJung merged 16 commits into
rocq-community:masterfrom
skylee03:rocq
Aug 7, 2026
Merged

Support for Rocq 9.2#40
RalfJung merged 16 commits into
rocq-community:masterfrom
skylee03:rocq

Conversation

@skylee03

@skylee03 skylee03 commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Since Rocq 9.2, the coq package is no longer available via OPAM. Our package should instead depend on rocq-core and rocq-stdlib separately.

We are expected to generate the OPAM file from meta.yml using generate.sh. However, the generator currently does not support depending on rocq-* packages in place of coq (see rocq-community/templates#142). It also appears that generate.sh is no longer actively maintained.

Until generate.sh is updated, I propose that we maintain a separate branch with a manually written coq-autosubst.opam file. This would allow us to pin on that branch and use Autosubst with Rocq 9.2 without waiting for the generator to be fixed.

@RalfJung

RalfJung commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Until generate.sh is updated, I propose that we maintain a separate branch with a manually written coq-autosubst.opam file.

I think we should just make that the main branch. I don't want to have to worry about multiple branches.

I think it's okay to just remove "coq" entirely and depend on "rocq-core" (any version). No reason to do extra work to support old versions like 8.20. CI will need updating to test more recent versions then.

Comment thread coq-autosubst.opam Outdated
@RalfJung

RalfJung commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

Please do not make a single big PR that mixes multiple things. This PR should focus in just getting the opam package to work with rocq-core and updating CI. Fixing warnings can be done in a separate PR.

Comment thread coq-autosubst.opam
@skylee03
skylee03 marked this pull request as ready for review August 6, 2026 15:10

@RalfJung RalfJung left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks! Looks good, just minor comments.

Comment thread coq-autosubst.opam Outdated
Comment thread meta.yml Outdated
Comment thread README.md Outdated
@RalfJung
RalfJung merged commit c24be22 into rocq-community:master Aug 7, 2026
4 checks passed
@RalfJung

RalfJung commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Looks good, thanks :)

@skylee03
skylee03 deleted the rocq branch August 8, 2026 10:10
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