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

Package catala.0.7.0 #21959

Merged
merged 4 commits into from
Aug 9, 2022
Merged
Changes from 3 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
81 changes: 81 additions & 0 deletions packages/catala/catala.0.7.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
opam-version: "2.0"
synopsis:
"Compiler and library for the literate programming language for tax code specification"
description:
"Catala is a domain-specific language for deriving faithful-by-construction algorithms from legislative texts. See https://catala-lang.org for more information"
maintainer: ["[email protected]"]
authors: [
"Denis Merigoux"
"Nicolas Chataing"
"Emile Rolley"
"Louis Gesbert"
"Aymeric Fromherz"
"Alain Delaët-Tixeuil"
]
license: "Apache-2.0"
homepage: "https://github.com/CatalaLang/catala"
bug-reports: "https://github.com/CatalaLang/catala/issues"
depends: [
"ANSITerminal" {>= "0.8.2"}
"benchmark" {>= "1.6"}
"bindlib" {>= "5.0.1"}
"calendar" {>= "2.04"}
"cmdliner" {>= "1.1.0"}
"cppo" {>= "1"}
"dune" {>= "2.8"}
"js_of_ocaml-ppx" {>= "4.0.0"}
"menhir" {>= "20200211"}
"menhirLib" {>= "20200211"}
"ocaml" {>= "4.13.0"}
"ocamlfind" {!= "1.9.5"}
kit-ty-kate marked this conversation as resolved.
Show resolved Hide resolved
"ocamlgraph" {>= "1.8.8"}
"ppx_yojson_conv" {>= "0.14.0"}
"re" {>= "1.9.0"}
"sedlex" {>= "2.4"}
"ubase" {>= "0.05"}
"unionFind" {>= "20200320"}
"visitors" {>= "20200210"}
"zarith" {>= "1.12"}
"zarith_stubs_js" {>= "v0.14.1"}
"alcotest" {with-test & >= "1.5.0"}
"odoc" {with-doc}
"ocamlformat" {cataladevmode & = "0.21.0"}
kit-ty-kate marked this conversation as resolved.
Show resolved Hide resolved
"obelisk" {cataladevmode}
"conf-npm" {cataladevmode}
"conf-python-3-dev" {cataladevmode}
"z3" {catalaz3mode}
Copy link

Choose a reason for hiding this comment

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

This is breaking builds for me with the error:

undefined filter variable in dependencies of catala.0.7.0: catalaz3mode

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, could you explicit the opam version you're using, and what specific options ? E.g. maybe --strict ?

Copy link
Member

Choose a reason for hiding this comment

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

(it would be fine to remove these dependencies for the opam repository, while keeping them in our source for devs — we expect to leverage the upcoming for-dev feature once it's available — but the undefined variables shouldn't stop opam from continuing in general)

Copy link

Choose a reason for hiding this comment

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

2.0.7 and yes I'm using strict

Copy link
Member

@kit-ty-kate kit-ty-kate Aug 17, 2022

Choose a reason for hiding this comment

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

This should have been fixed in #21996. cc @na4zagin3 too

]
depopts: ["z3"]
conflicts: [
"z3" {< "4.8.11"}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/CatalaLang/catala.git"
depexts: [
["groff" "colordiff" "latexmk" "python3-pip" "pandoc"]
{cataladevmode & os-family = "debian"}
["groff" "colordiff" "texlive" "py3-pip" "py3-pygments"]
{cataladevmode & os-distribution = "alpine"}
["groff" "colordiff" "latex-mk" "python-pygments" "pandoc"]
{cataladevmode & os-family = "arch"}
]
url {
src: "https://github.com/CatalaLang/catala/archive/0.7.0.tar.gz"
checksum: [
"md5=6dbbc2f50c23693f26ab6f048e78172f"
"sha512=a5701e14932d8a866e2aa3731f76df85ff2a68b4fa943fd510c535913573274d66eaec1ae6fcae17f20b475876048a9ab196ef6d8c23d4ea6b90b986aa0a6daa"
]
}