From 4fc900943234f9636f3557e70753dc3570e360ed Mon Sep 17 00:00:00 2001
From: Ralf Jung <jung@mpi-sws.org>
Date: Mon, 9 Jan 2023 19:28:18 +0100
Subject: [PATCH] drop support for Coq 8.12

---
 .gitlab-ci.yml | 9 +--------
 CHANGELOG.md   | 2 ++
 README.md      | 2 +-
 coq-stdpp.opam | 2 +-
 4 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b779ae8e..7f30803b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,16 +84,9 @@ build-coq.8.14.1:
     OCAML: "ocaml-base-compiler.4.07.1"
 
 build-coq.8.13.2:
-  <<: *template
-  variables:
-    OPAM_PINS: "coq version 8.13.2"
-    DENY_WARNINGS: "1"
-    OCAML: "ocaml-base-compiler.4.07.1"
-
-build-coq.8.12.2:
   <<: *template
   <<: *branches_and_mr
   variables:
-    OPAM_PINS: "coq version 8.12.2"
+    OPAM_PINS: "coq version 8.13.2"
     DENY_WARNINGS: "1"
     OCAML: "ocaml-base-compiler.4.07.1"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b6b0141..de41996d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,8 @@ API-breaking change is listed.
 
 ## std++ master
 
+Coq 8.12 is no longer supported by this release.
+
 - Rename `difference_difference` -> `difference_difference_l` and
   `difference_difference_L` -> `difference_difference_l_L`, add
   `difference_difference_r` and `difference_difference_r_L`.
diff --git a/README.md b/README.md
index a4f164df..165ecfcf 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ Notably:
 
 This version is known to compile with:
 
- - Coq version 8.12.2 / 8.13.2 / 8.14.1 / 8.15.2 / 8.16.1
+ - Coq version 8.13.2 / 8.14.1 / 8.15.2 / 8.16.1
 
 ## Installing via opam
 
diff --git a/coq-stdpp.opam b/coq-stdpp.opam
index 5f8e6694..617adbfb 100644
--- a/coq-stdpp.opam
+++ b/coq-stdpp.opam
@@ -33,7 +33,7 @@ tags: [
 ]
 
 depends: [
-  "coq" { (>= "8.12" & < "8.18~") | (= "dev") }
+  "coq" { (>= "8.13" & < "8.18~") | (= "dev") }
 ]
 
 build: ["./make-package" "stdpp" "-j%{jobs}%"]
-- 
GitLab