You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using MetaCPAN resolver and pinning a module version which is not the "lead module" of the distribution, comparison to know if it satisfies can fail.
$ cpanm --metacpan Pod::Simple::[email protected] --force
Found Pod::Simple::HTMLLegacy 3.45 which doesn't satisfy == 5.01
$ cpanm Pod::Simple::[email protected] --force
...
1 distribution installed
Pod::Simple::HTMLLegacy is not the lead package.
But the distribution Pod::Simple version 3.45 contains well the package Pod::Simple::HTMLLegacy version 5.01 - fastapi
The text was updated successfully, but these errors were encountered:
thibaultduponchelle
changed the title
Pinning non-lead modules with MetaCPAN is
Pinning non-lead modules with MetaCPAN can fail comparison to know if it satisfies the requirement
Dec 11, 2024
thibaultduponchelle
changed the title
Pinning non-lead modules with MetaCPAN can fail comparison to know if it satisfies the requirement
Pinning non-lead modules with MetaCPAN can fail comparison
Dec 11, 2024
thibaultduponchelle
changed the title
Pinning non-lead modules with MetaCPAN can fail comparison
Pinning non-lead modules with MetaCPAN resolver can fail comparison
Dec 11, 2024
This is likely an issue with metacpan API not returning the version of the specified package, and cpanm is assuming the distribution version to be the same.
Hi @miyagawa 👋🏼
When using MetaCPAN resolver and pinning a module version which is not the "lead module" of the distribution, comparison to know if it satisfies can fail.
Pod::Simple::HTMLLegacy
is not the lead package.But the distribution
Pod::Simple
version 3.45 contains well the packagePod::Simple::HTMLLegacy
version 5.01 - fastapiSee also MetaCPAN Pod-Simple-3.45
The text was updated successfully, but these errors were encountered: