Skip to content

micromamba hash mismatch #238

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

Closed
boriskaus opened this issue Oct 27, 2022 · 3 comments
Closed

micromamba hash mismatch #238

boriskaus opened this issue Oct 27, 2022 · 3 comments

Comments

@boriskaus
Copy link

I'm using PythonCall as part of my package, and am consistently getting the follow bug in the CI (used to work fine).

Downloading artifact: micromamba-0.27.0
224
 Downloading artifact: micromamba-0.27.0
[225](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:228)
┌ Error: Hash Mismatch!
[226](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:229)
│   Expected sha256:   4adbf3091a4159af2c48264a8e32ecb98147b0e3f200601f384f8f53a6910ca2
[227](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:230)
│   Calculated sha256: 1b1bdd0798c3c57eda3c76660ed148a59d70e555c6dcd3c099e824bf78873d70
[228](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:231)
└ @ Pkg.PlatformEngines /opt/hostedtoolcache/julia/nightly/x64/share/julia/stdlib/v1.9/Pkg/src/PlatformEngines.jl:624
[229](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:232)
ERROR: LoadError: InitError: Unable to automatically download/install artifact 'micromamba-0.27.0' from sources listed in '/home/runner/.julia/packages/MicroMamba/rCGZ4/Artifacts.toml'.
[230](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:233)
Sources attempted:
[231](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:234)
- https://pkg.julialang.org/artifact/d45b66605cad8bca223a3eb103eebb71adcf1415
[232](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:235)
    Error: RequestError: HTTP/2 404 while requesting https://pkg.julialang.org/artifact/d45b66605cad8bca223a3eb103eebb71adcf1415
[233](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:236)
- https://micro.mamba.pm/api/micromamba/linux-64/0.27.0
[234](https://github.com/JuliaGeodynamics/LaMEM.jl/actions/runs/3338177863/jobs/5525499345#step:6:237)
    Error: Verification failed. Download does not match expected hash

See the full CI here.

I'm not sure whether the problem is here or down the line in the MicroMamba.jl package, but can imagine that other users may encounter the same. Help is appreciated.

@nrontsis
Copy link

I have the same issue

@boriskaus
Copy link
Author

It seems to me that MicroMamba v0.1.10 is broken.

A workaround is to explicitly install MicroMamba 0.1.9 before installing PythonCall:

julia> ]
pkg> add MicroMamba@0.1.9
pkg> add PythonCall

obviously a better solution would be to fix 0.1.10

@cjdoris
Copy link
Collaborator

cjdoris commented Nov 17, 2022

Fixed now thanks.

@cjdoris cjdoris closed this as completed Nov 17, 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

3 participants