-
Notifications
You must be signed in to change notification settings - Fork 57
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
Make Cmdliner.Arg.conv
abstract and remove deprecated interfaces for 2.0
#206
Labels
Comments
dbuenzli
pushed a commit
that referenced
this issue
Mar 10, 2025
dbuenzli
added a commit
that referenced
this issue
Mar 10, 2025
dbuenzli
added a commit
that referenced
this issue
Mar 10, 2025
dbuenzli
added a commit
that referenced
this issue
Mar 10, 2025
This was referenced Mar 10, 2025
This was referenced Mar 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue keeps track of breaking changes for 2.0 these are:
Cmdliner.Arg.conv
abstract. Announced it would become in 2017, sadly it was not possible to visibly deprecate it.Instructions
Projects can handle all breaking changes performed by 2.0 and still compile with
cmdliner.1.3.0
.If you have been notified that your project will not compile with 2.0 and want to make sure it does please follow these instructions:
Compile your project with
opam pin add cmdliner.1.3.0
and fix the deprecation warnings as suggested. These may not show up if you silenced them in which case either unsilence them or go to 2. they will show up as "Unbound value" errors.Compile your projects with
opam pin add cmdliner --dev
and fix remaining compilation errors. These should mainly be due to theArg.conv
becoming an abstract type and can be tackled:result
variants and use eitherArg.conv'
orArg.conv
on your pairs.Arg.conv_parser
andArg.conv_printer
if you were deconstructingArg.conv
values as pairs.Update your opam file with
cmdliner {>= "1.3.0"}
Tracking a few project updates
Tracking a few project updates:
See also the references below.
The text was updated successfully, but these errors were encountered: