-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
Resolving 1.11 manifest in 1.10 makes Statistics "not downloaded" #4058
Comments
You should have seen a warning about the manifest having been resolved for a different julia version? |
Sorry I shared the wrong zip file, fixed now. |
@IanButterworth Thanks for taking a look! The warning is missing indeed, but I mainly want to point out: With resolve on Julia 1.10, Statistics 1.11 was downgraded to 1.10 (good), and it showed a message that it is not downloaded and that instantiate will download it. But instantiate did not download Statistics 1.10. And it looks like you are left in a "broken state". So I think something went wrong with the resolve. |
In the Manifest.toml that was generated in my issue (where Statistics could not load), I have the following: julia_version = "1.10.5"
...
[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
git-tree-sha1 = "ae3bb1eb3bba077cd276bc5cfc337cc65c3075c0"
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.10.0" But if I create a new env in Julia 1.10 and add Statistics, the Manifest.toml contains: julia_version = "1.10.5"
...
[[deps.Statistics]]
deps = ["LinearAlgebra", "SparseArrays"]
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
version = "1.10.0" |
I guess this is related to Statistics being an upgradable stdlib (here confusingly named "former stdlib") Line 463 in 116ba91
|
Do you have the manifest entry for the 1.11 manifest? I wonder if the |
From the original 1.11 manifest:
|
Yeah, the 1.10 |
I'm guessing an issue here with something about Statistics being in the General registry, which 1.10 sees but doesn't know it's upgradable in newer julia versions? https://github.com/JuliaRegistries/General/tree/master/S/Statistics Lines 253 to 270 in 116ba91
|
I created an environment in Julia 1.11 (see attached zip), and then I
resolve
d it in Julia 1.10. This worked, but "Statistics" shows as "not downloaded", andinstantiate
cannot fix it.Overview of what happened:
Full log
Full reproducer (with empty julia depot):
Project+Manifest to start with (from Julia 1.11): julia 1.11 env original.zip
Project+Manifest at the end of this terminal session (from Julia 1.10) with broken Statistics: testenv11.zip
The text was updated successfully, but these errors were encountered: