A new function `OpamFile.OPAM.is_to_be_avoided` or something like that can be created to factorize use of `avoid-version || deprecated` in our codebase. Suggestion from https://github.com/ocaml/opam/pull/6494#discussion_r2071831673
A new function
OpamFile.OPAM.is_to_be_avoidedor something like that can be created to factorize use ofavoid-version || deprecatedin our codebase.Suggestion from #6494 (comment)