You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the extentions of my package with Aqua in the CI, I get a ConcurrencyViolationError:
using HarmonicBalance
using Aqua
using ModelingToolkit, OrdinaryDiffEqTsit5, SteadyStateDiffEq
TimeEvolution = Base.get_extension(HarmonicBalance, :TimeEvolution)
ModelingToolkitExt = Base.get_extension(HarmonicBalance, :ModelingToolkitExt)
SteadyStateDiffEqExt = Base.get_extension(HarmonicBalance, :SteadyStateDiffEqExt)
for mod in [TimeEvolution, ModelingToolkitExt, SteadyStateDiffEqExt]
Aqua.test_ambiguities(mod)
Aqua.test_all(
mod;
deps_compat=false,
ambiguities=false,
piracies=false,
stale_deps=false,
project_extras=false,
persistent_tasks=false
)
end
Per its documentation, test_ambiguities expects packages (that is top-level modules). Packages extensions by themselves don't qualify as that, but unfortunately don't get caught by the test there.
Could you instead of e.g. test_ambiguities(ModelingToolkitExt) run test_ambiguities([HarmonicBalance, ModelingToolkit])? The latter should load the extension as well, as all of its triggers are already loaded.
(I'll leave this issue open until the check in test_ambiguities for top-level modules is fixed.)
When testing the extentions of my package with Aqua in the CI, I get a
ConcurrencyViolationError
:The text was updated successfully, but these errors were encountered: