-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Pkg.resolve() throws error: KeyError: key "version" not found #27558
Comments
This apparently makes it impossible to update certain packages due to: ArgumentError: Package FastTransforms does not have AbstractFFTs in its dependencies:
- If you have FastTransforms checked out for development and have
added AbstractFFTs as a dependency but haven't updated your primary
environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with FastTransforms. |
Should be fixed by f0390db#diff-ee8106cfedf28064b893d9858fa83a12R1027 |
Please try with newest master. |
Nope still broken:
|
Ok, any repro? |
What do you mean? |
Reproducer. Is it possible to give instructions that I can execute that would give the same error? |
This is what I did:
Then in julia julia> using FastTransforms
ArgumentError: Package FastTransforms does not have AbstractFFTs in its dependencies:
- If you have FastTransforms checked out for development and have
added AbstractFFTs as a dependency but haven't updated your primary
environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with FastTransforms.
julia> Pkg.resolve() Oddly, EDIT: No it doesn't, I still get the ArgumentError. |
Can you try do all of this in a new environment to isolate it from other things: shell> mkdir isolation
shell> cd isolation
/Users/kristoffer/isolation
(v0.7) pkg> init
Initialized project at /Users/kristoffer/isolation/Project.toml
(isolation) pkg> dev ~/FastTransforms.jl
┌ Warning: packages will require to have a [Julia]Project.toml file in the future
└ @ Pkg.Types Types.jl:588
Resolving package versions...
Updating `Project.toml`
[057dd010] + FastTransforms v0.3.2+ [`~/FastTransforms.jl`]
Updating `Manifest.toml`
[621f4979] + AbstractFFTs v0.3.1
[9e28174c] + BinDeps v0.8.8
...
julia> using FastTransforms
[ Info: Precompiling module FastTransforms
...
ERROR: LoadError: ArgumentError: Module FFTW not found in current path.
Run `Pkg.add("FFTW")` to install the FFTW package. which is because FastTransforms doesn't declare a dependency on FFTW. Adding FFTW to the REQUIRE file, it now errors at
|
OK, doing that I can't reproduce it, so let's just assume that my .julia got in a weird state and close this. EDIT: Wiping .julia and starting from scratch has indeed helped. |
Well, we don't want things to randomly go into bad states so it would be good to get to the bottom of this. Please report if it happens again. |
I wouldn't call it "randomly" if I updated Julia half-way through.... will definitely report again. |
The text was updated successfully, but these errors were encountered: