-
Notifications
You must be signed in to change notification settings - Fork 7
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
Deal with compressed registry in Julia v1.7 #67
Comments
Is there a workaround? I always get the following error message:
|
As I said above already, the uncompressed registry (e.g. as a git repository) still works. The alternative is for someone to write the code to use the API in Julia v1.7+ to deal with both formats, but I'm not very motivated to do that since locally I still use the uncompressed registry. |
But how can I get an uncompressed registry?
But this did not help. |
And why not merging JuliaEcosystem/PkgDeps.jl#39 which should fix this issue? |
You'd have to opt-out the PkgServer by setting the environment variable
Because the two packages aren't related in any way? |
What version of PackageAnalyzer.jl are you using? There may actually be a simple workaround without messing with Julia's registry |
|
I tried: But I still get the same error: ERROR: ArgumentError: collection must be non-empty |
At the moment we assume the registry is uncompressed on disk. For users in Julia v1.7+ this may not be the case.
Pkg.jl
in Julia v1.7 comes with an API to deal with the registry in all cases (both compressed and uncompressed) which is probably the best option, that'd mean to drop support for Julia v1.6, but I believe that's reasonable.The text was updated successfully, but these errors were encountered: