An acausal modeling framework for automatically parallelized scientific machine learning (SciML) in Julia. A computer algebra system for integrated symbolics for physics-informed machine learning and automated transformations of differential equations
Describe the bug 🐞
When precompiling ModelingToolkit when Julia is started with --depwarn=yes or --depwarn=error, a warning is given:
┌ ModelingToolkit
│ WARNING: using deprecated binding SymbolicUtils.istree in Symbolics.
│ , use iscall instead.
│ WARNING: using deprecated binding Symbolics.istree in ModelingToolkit.
│ , use TermInterface.iscall instead.
└
┌ ModelingToolkit
│ WARNING: using deprecated binding SymbolicUtils.istree in Symbolics.
│ , use iscall instead.
│ WARNING: using deprecated binding Symbolics.istree in ModelingToolkit.
│ , use TermInterface.iscall instead.
└
Environment (please complete the following information):
Output of using Pkg; Pkg.status()
Status `~/Documents/Work/dev/scratch/MTKPrecompWarnTest/Project.toml`
[961ee093] ModelingToolkit v9.21.0
Output of using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Describe the bug 🐞 When precompiling ModelingToolkit when Julia is started with
--depwarn=yes
or--depwarn=error
, a warning is given:This can cause certain Aqua tests to fail in some cases e.g. https://github.com/SciML/BaseModelica.jl/pull/22.
Expected behavior Since a recent PR got rid of
istree
in MTK https://github.com/SciML/ModelingToolkit.jl/issues/2753 this is pretty strange.Minimal Reproducible Example 👇
Error & Stacktrace ⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
versioninfo()
Additional context Can be replicated by precompiling MTK in a clean environment.