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

Fail to find artifact for core modules pinned in the snapshot #47

Closed
miyagawa opened this issue May 8, 2022 · 0 comments
Closed

Fail to find artifact for core modules pinned in the snapshot #47

miyagawa opened this issue May 8, 2022 · 0 comments

Comments

@miyagawa
Copy link
Owner

miyagawa commented May 8, 2022

When the snapshot contains core modules lower than the core version, Carmel will complain that it can't find the artifact for it.

This could happen when you migrate the snapshot from Carton, or upgrade perl versions.

➜  cat cpanfile          
requires 'HTTP::Tinyish';

➜  grep HTTP-Tiny- cpanfile.snapshot      
  HTTP-Tiny-0.070                                           
    pathname: D/DA/DAGOLDEN/HTTP-Tiny-0.070.tar.gz

➜  corelist -a HTTP::Tiny | grep 5.32
  v5.32.0    0.076         
  v5.32.1    0.076     

➜  carmel
Using HTTP::Tinyish (0.14)
Using File::Which (1.22)
Using IPC::Run3 (0.048)
---> Installing new dependencies: HTTP::Tiny
Can't find an artifact for HTTP::Tiny => 0.055
You need to run `carmel install` first to get the modules installed and artifacts built.

The problem persists until you delete cpanfile.snapshot to start over.

@miyagawa miyagawa changed the title Fail to find artifact for core modules Fail to find artifact for core modules pinned in the snapshot May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant