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

Make Cmdliner.Arg.conv abstract and remove deprecated interfaces for 2.0 #206

Closed
dbuenzli opened this issue Mar 9, 2025 · 0 comments
Closed

Comments

@dbuenzli
Copy link
Owner

dbuenzli commented Mar 9, 2025

This issue keeps track of breaking changes for 2.0 these are:

  1. The commit that makes Cmdliner.Arg.conv abstract. Announced it would become in 2017, sadly it was not possible to visibly deprecate it.
  2. Commits that remove interfaces that have been deprecated before 2.0.

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:

  1. 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.

  2. Compile your projects with opam pin add cmdliner --dev and fix remaining compilation errors. These should mainly be due to the Arg.conv becoming an abstract type and can be tackled:

  3. Update your opam file with cmdliner {>= "1.3.0"}

Tracking a few project updates

Tracking a few project updates:

See also the references below.

dbuenzli added a commit that referenced this issue Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant