Skip to content

Commit

Permalink
opam upperbounds on dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
art-w committed Feb 8, 2025
1 parent c627e4a commit eceb961
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- "5"
- "5.2"
local-packages:
- |
*.opam
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- "5"
- "5.2"
local-packages:
- |
*.opam
Expand Down
2 changes: 1 addition & 1 deletion cohttp-async.opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ doc: "https://mirage.github.io/ocaml-cohttp/"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
depends: [
"dune" {>= "3.8"}
"ocaml" {>= "4.14"}
"ocaml" {>= "4.14" & < "5.3.0"}
"http" {= version}
"cohttp" {= version}
"async_kernel" {>= "v0.16.0"}
Expand Down
1 change: 1 addition & 0 deletions cohttp-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ depends: [
"logs"
"uri"
"tls-eio" {with-test & >= "1.0.0"}
"mirage-crypto-rng" {with-test & < "1.2.0"}
"mirage-crypto-rng-eio" {with-test & >= "0.11.2"}
"ca-certs" {with-test & >= "1.0.0"}
"fmt"
Expand Down
3 changes: 2 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"An implementation of an HTTP client and server using the Async\nconcurrency library. See the `Cohttp_async` module for information\non how to use this. The package also installs `cohttp-curl-async`\nand a `cohttp-server-async` binaries for quick uses of a HTTP(S)\nclient and server respectively.\n")
(depends
(ocaml
(>= 4.14))
(and (>= 4.14) (< 5.3.0)))
(http
(= :version))
(cohttp
Expand Down Expand Up @@ -382,6 +382,7 @@
logs
uri
(tls-eio (and :with-test (>= 1.0.0)))
(mirage-crypto-rng (and :with-test (< 1.2.0)))
(mirage-crypto-rng-eio (and :with-test (>= 0.11.2)))
(ca-certs (and :with-test (>= "1.0.0")))
fmt
Expand Down

0 comments on commit eceb961

Please sign in to comment.