ClimaTimeSteppers.jl
ClimaTimeSteppers.jl copied to clipboard
Circular dependency on ClimaCore for test suite
ClimaTimeSteppers.jl
test suite has tests that depend on ClimaCore
, creating a circular dependency.
Solution
Move these tests to ClimaCore
and eliminate the circular dependency
cc: @simonbyrne
There's no circular dependency-- ClimaCore does not depend on ClimaTimeSteppers.jl, and ClimaTimeSteppers.jl does not depend on ClimaCore. The ClimaTimeSteppers test environment depends on both, but that's fine. What's the issue here? Are you getting an error?
it does make it hard to upgrade ClimaComms, as we can't run the ClimaTimeSteppers tests until we've upgraded ClimaCore, and vice versa.
Would it help if we made ClimaTimeSteppers not depend on ClimaComms? We can (and probably should anyway) undo this patch: https://github.com/CliMA/ClimaTimeSteppers.jl/commit/45fa591fd5c1211397fc326bf0365047ff48226a. Then we can remove the ClimaComms dependency. I'll do that now
We need it for some of the callbacks
Ah, right
Would it help if we added a buildkite job in ClimaTimeSteppers that depends on the ClimaCore main branch?
I suppose we could make ClimaTimeSteppers a lib in ClimaCore. This would make updates easier