miyagawa / cpanminus

cpanminus - get, unpack, build and install modules from CPAN
http://cpanmin.us
746 stars 213 forks source link

Found AnyEvent::HTTP::LWP::UserAgent 0.10 which doesn't satisfy 0.8. #672

Closed atoomic closed 2 months ago

atoomic commented 2 months ago

Noticed that issue while running CI https://github.com/miyagawa/cpanminus/actions/runs/8846389462/job/24292171782

# ==> Found dependencies: AnyEvent::HTTP::LWP::UserAgent
# Searching AnyEvent::HTTP::LWP::UserAgent (0.8) on cpanmetadb ...
# Found AnyEvent::HTTP::LWP::UserAgent 0.10 which doesn't satisfy 0.8.
# -> FAIL Installing the dependencies failed: Module 'AnyEvent::HTTP::LWP::UserAgent' is not installed
# -> FAIL Bailing out the installation for Facebook-Graph-1.0500.
# '
#     doesn't match '(?-xism:Installed version \(0\.10\) of AnyEvent::HTTP::LWP::UserAgent is not in range '0\.8')'
# Looks like you failed 2 tests of 3.
miyagawa commented 2 months ago

That message "Found AnyEvent::HTTP::LWP::UserAgent 0.10" is fine - it's expected to be there. It is red herring for when the error message is different when it fails to install the module, rather than detecting a conflicting version.

miyagawa commented 2 months ago

I disabled the test on 5.8. Otherwise this isn't an issue.