-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[new release] dune-build-info, dune, dune-configurator, dune-action-plugin, dune-private-libs and dune-glob (2.6.0) #16585
Conversation
Commit: 8e693ea A pull request by opam-seasoned @rgrinberg. ☀️ All lint checks passed 8e693ea
☀️ Installability check (+6)
|
dune-configurator is failing on OCaml 4.07
|
Didn’t it fail before as well? Ill add a constraint for now and we can fix compat later |
Never mind, this ends up being a regression after all. Will re-release |
f80ea5a
to
411eb5d
Compare
…lugin, dune-private-libs and dune-glob (2.6.0) CHANGES: - Fix a bug where valid lib names in `dune init exec --libs=lib1,lib2` results in an error. (ocaml/dune#3444, fix ocaml/dune#3443, @bikallem) - Add and `enabled_ if` field to the `install` stanza. Enforce the same variable restrictions for `enabled_if` fields in the `executable` and `install` stanzas than in the `library` stanza. When using dune lang < 2.6, the usage of forbidden variables in executables stanzas with only trigger a warning to maintain compatibility. (ocaml/dune#3408 and ocaml/dune#3496, fixes ocaml/dune#3354, @voodoos) - Insert a constraint one the version of dune when the user explicitly specify the dependency on dune in the `dune-project` file (ocaml/dune#3434 , fixes ocaml/dune#3427, @diml) - Generate correct META files for sub-libraries (of the form `lib.foo`) that contain .js runtime files. (ocaml/dune#3445, @hhugo) - Add a `(no-infer ...)` action that prevents inference of targets and dependencies in actions. (ocaml/dune#3456, fixes ocaml/dune#2006, @roddyyaga) - Correctly infer targets for the `diff?` action. (ocaml/dune#3457, fixes ocaml/dune#2990, @greedy) - Fix `$ dune print-rules` crashing (ocaml/dune#3459, fixes ocaml/dune#3440, @rgrinberg) - Simplify js_of_ocaml rules using js_of_ocaml.3.6 (ocaml/dune#3375, @hhugo) - Add a new `ocaml-merlin` subcommand that can be used by Merlin to get configuration directly from dune instead of using `.merlin` files. (ocaml/dune#3395, @voodoos) - Remove experimental variants feature and make default implementations part of the language (ocaml/dune#3491, fixes ocaml/dune#3483, @rgrinberg)
411eb5d
to
feeccf5
Compare
Is this expected? cc @dinosaure
If it is, some packages will need to be constrained first before merging this PR. EDIT: ok I read the changelog and discussions. I'll open a PR to fix this. |
Yup, it's expected. Experimental features can be removed without a major version change and we discussed things with dinosaure before dropping this feature. Upper bounds need to be added indeed. |
Thanks (sorry I edited my post too late, I've read the discussions), I'm fixing the appropriate packages. Looking at other failures, is this one expected as well?
|
Thanks. I already started fixing digestif, so you can take start from this patch if you want:
|
This is expected. The author forgot to specify a dependency on stdune and just assumed it would be transitively present from configurator. Dune made no such guarantees. |
ok I had a look at all the remaining failure, they are all either related to the one already mentioned or unrelated. The failures should be fixed in #16597. I'll wait for Camelus on this PR, merge it and will re-check this PR afterwards in case I missed something. This should be done by tomorrow afternoon. |
There seems to be an issue when using
Does There is also an issue with archetype but it's related to Apart from those two issues everything else seems alright |
Yes, indeed. |
Thanks a lot! |
Embed build informations inside executable
CHANGES:
Fix a bug where valid lib names in
dune init exec --libs=lib1,lib2
results in an error. (Fixes #3443 dune#3444, fix dune init exec foo src --lib=lwt.unix fails dune#3443, @bikallem)
Add and
enabled_ if
field to theinstall
stanza. Enforce the same variablerestrictions for
enabled_if
fields in theexecutable
andinstall
stanzasthan in the
library
stanza. When using dune lang < 2.6, the usage offorbidden variables in executables stanzas with only trigger a warning to
maintain compatibility. (Add
enabled_if
toinstall
stanzas and enforce variable restrictions dune#3408 and [FIX #3494]enabled_if
corrections dune#3496, fixes Allow to putenabled_if
in install stanza dune#3354, @voodoos)Insert a constraint one the version of dune when the user explicitly
specify the dependency on dune in the
dune-project
file (Insert a constraint on the version of dune dune#3434 ,fixes Check the minimum version of dune during opam file generation dune#3427, @diml)
Generate correct META files for sub-libraries (of the form
lib.foo
) thatcontain .js runtime files. (Fix META generation wrt javascript deps dune#3445, @hhugo)
Add a
(no-infer ...)
action that prevents inference of targets anddependencies in actions. (Added (no-infer) action dune#3456, fixes Don't introduce dependency in case of using
copy
from DSL for building stubs. dune#2006, @roddyyaga)Correctly infer targets for the
diff?
action. (Fix for #2990 dune#3457, fixes diff? error: Rule failed to generate the following targets dune#2990, @greedy)Fix
$ dune print-rules
crashing (Fix #3440 dune#3459, fixes ERRORdune rules -o
fails (option "output to stdout") dune#3440, @rgrinberg)Simplify js_of_ocaml rules using js_of_ocaml.3.6 (Cleanup js_of_ocaml rules dune#3375, @hhugo)
Add a new
ocaml-merlin
subcommand that can be used by Merlin to getconfiguration directly from dune instead of using
.merlin
files. (Newocaml-merlin
subcommand acting as a configuration server for next Merlin dune#3395,@voodoos)
Remove experimental variants feature and make default implementations part of
the language (Remove variants dune#3491, fixes Drop support for library variants dune#3483, @rgrinberg)