Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable master #264

Merged
merged 5 commits into from
Jul 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
coq_version: ['8.4', '8.5', '8.6', '8.7', '8.8', '8.9', '8.10', '8.11', '8.12', '8.13', '8.14', '8.15', 'master']
coq_version: ['8.4', '8.5', '8.6', '8.7', '8.8', '8.9', '8.10', '8.11', '8.12', '8.13', '8.14', '8.15', '8.16', 'master']
py_version: [3.6]
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased ([master])

### Added
- Support for Coq 8.16.
(PR #264)

### Fixed
- Highlight hypotheses separated by a comma on the first line of the hypotheses
block in the Goal panel as `coqIdent`.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Coqtail enables interactive Coq proof development in Vim similar to [CoqIDE] or
[ProofGeneral].

It supports:
- [Coq 8.4 - 8.15]
- [Coq 8.4 - 8.16]
- Python >=3.6 (see [here](#python-2-support) for older versions)
- Vim >=7.4 and Neovim >=0.3
- Simultaneous Coq sessions in different buffers
Expand Down Expand Up @@ -46,7 +46,7 @@ Requirements:
- Vim/Neovim compiled with `+python3` (3.6 or later)
- Vim configuration options `filetype plugin on`, and optionally `filetype
indent on` and `syntax on` (e.g. in `.vimrc`)
- [Coq 8.4 - 8.15]
- [Coq 8.4 - 8.16]

Newer versions of Coq have not yet been tested, but should still work as long as
there are no major changes made to the [XML protocol].
Expand Down Expand Up @@ -245,7 +245,7 @@ See [YouCompleteMe] for help building Vim with Python 3 support.
If you cannot upgrade Vim, the [python2] branch still supports older Pythons.

[python2]: https://github.com/whonore/Coqtail/tree/python2
[Coq 8.4 - 8.15]: https://coq.inria.fr/download
[Coq 8.4 - 8.16]: https://coq.inria.fr/download
[CoqIDE]: https://coq.inria.fr/refman/practical-tools/coqide.html
[ProofGeneral]: https://proofgeneral.github.io/
[XML protocol]: https://github.com/coq/coq/blob/master/dev/doc/xml-protocol.md
Expand Down
10 changes: 0 additions & 10 deletions ci/coq.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,5 @@ let
(filter (s: s != "") (match "coq([0-9]|master)([0-9]*)-.*" tox_version));
in if dot_version == "8.4" then
(import (fetchTarball url_8_4) { }).coq_8_4
else if dot_version == "master" then
# NOTE: Temporary workaround until
# https://github.com/coq-community/coq-nix-toolbox/issues/95 is resolved
(pkgs.coq.override { version = dot_version; }).overrideAttrs (old: {
postInstall = old.postInstall + ''
for prog in $out/bin/coq*; do
wrapProgram $prog --prefix OCAMLPATH : $OCAMLPATH
done
'';
})
else
pkgs.coq.override ({ version = dot_version; })
5 changes: 5 additions & 0 deletions python/xmlInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,10 @@ def _standardize_add(self, res: Result) -> Result:
return res


class XMLInterface816(XMLInterface815):
"""The version 8.16.* XML interface."""


XMLInterfaces = (
((8, 4, 0), (8, 5, 0), XMLInterface84),
((8, 5, 0), (8, 6, 0), XMLInterface85),
Expand All @@ -1817,6 +1821,7 @@ def _standardize_add(self, res: Result) -> Result:
((8, 13, 0), (8, 14, 0), XMLInterface813),
((8, 14, 0), (8, 15, 0), XMLInterface814),
((8, 15, 0), (8, 16, 0), XMLInterface815),
((8, 16, 0), (8, 17, 0), XMLInterface816),
)

XMLInterfaceLatest = XMLInterfaces[-1][2]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ setenv = {[pybase]setenv}
deps = {[pybase]deps}
commands = python -m pytest -q tests/unit {posargs}

[testenv:coq{,84,85,86,87,88,89,810,811,812,813,814,815,master}-py{36}]
[testenv:coq{,84,85,86,87,88,89,810,811,812,813,814,815,816,master}-py{36}]
description = Coq integration tests
setenv =
{[pybase]setenv}
Expand Down