Closed sathvikbhagavan closed 1 year ago
@ChrisRackauckas can we merge this?
This also fails?
Hmm, its a different error in CI / test (Core 1.6)
✓ Surrogates
✓ CUDA
✓ cuDNN
✓ NNlibCUDA
✓ Flux
133 dependencies successfully precompiled in 157 seconds
Testing Running tests...
Resolving package versions...
ERROR: LoadError: Unsatisfiable requirements detected for package Statistics [10745b16]:
Statistics [10745b16] log:
├─possible versions are: 0.0.0 or uninstalled
├─Statistics [10745b16] is fixed to version 0.0.0
└─found to have no compatible versions left with Zygote [e88e6eb3]
└─Zygote [e88e6eb3] log:
├─possible versions are: 0.1.0-0.6.63 or uninstalled
└─restricted to versions 0.4-0.6 by Surrogates [6fc51010], leaving only versions 0.4.0-0.6.63
└─Surrogates [6fc51010] log:
├─possible versions are: 6.5.1 or uninstalled
├─restricted to versions 6 by SurrogatesAbstractGPs [78aa1720], leaving only versions 6.5.1
│ └─SurrogatesAbstractGPs [78aa1720] log:
│ ├─possible versions are: 0.1.0 or uninstalled
│ └─SurrogatesAbstractGPs [78aa1720] is fixed to version 0.1.0
└─Surrogates [6fc51010] is fixed to version 6.5.1
Surrogates
is getting precompiled though. I am not sure why the error is coming though.
Latest Turing doesn't allow v1.6: is this related?
Surrogates doesn't use Turing.jl
afaik
Can you trigger the workflow for the latest julia version - it worked for me locally (although tests were failing - unrelated reason) and it was cancelled in the previous run.
Why does CI / test (Core, 1)
job gets cancelled?
Because v1.6 fails.
Ok, Surrogates
does precompile on both but I am not sure why we are getting a version conflict on 1.6. Any ideas to fix this?
Some package requires >v1.6, something in the GP stack.
One small thing I tried was adding this line in runtests:
Pkg.add(name="Statistics", version=VERSION)
and this worked if I did ]test
and did not error out with the package resolution issue in julia 1.6
I'll try figure out what is going on here.
The following fixes the issue on 1.6 Pkg:
diff --git a/src/Operations.jl b/src/Operations.jl
index 0644e0ee7..6ac5a48c4 100644
--- a/src/Operations.jl
+++ b/src/Operations.jl
@@ -281,7 +281,7 @@ function collect_project!(ctx::Context, pkg:
:PackageSpec, path::String,
pkg.version = project.version
else
# @warn("project file for $(pkg.name) is missing a `version` entry")
- pkg.version = VersionNumber(0)
+ pkg.version = VERSION # VersionNumber(0)
end
return
end
Since
Pkg.add(name="Statistics", version=VERSION)
seems to work I would go with that on 1.6 though as a workaround.
okay thanks let's do that.
Getting an error:
Same error in the CI build on master - https://github.com/SciML/Surrogates.jl/actions/runs/5554601185/job/15046314727
This should fix that