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
We have a docker build which would install the most recent version of Julia, then runs in python from diffeqpy import de to install relevant Julia packages. This started failing since the new Julia release, but I have validated that this still works if I specifically install Julia v1.10.5
Expected behavior
Expect to be able to import and use diffeqpy.de. This is
Minimal Reproducible Example 👇
Note: requires that there is no existing install of Julia on machine.
#14 408.8 Traceback (most recent call last):
#14 408.8 File "/app/build/install_julia.py", line 9, in <module>
#14 408.8 from diffeqpy import de
#14 408.8 File "/app/.venv/lib/python3.10/site-packages/diffeqpy/de.py", line 5, in <module>
#14 408.8 de.jit = Main.seval("jit(x) = typeof(x).name.wrapper(ModelingToolkit.complete(ModelingToolkit.modelingtoolkitize(x)), x.u0, x.tspan, x.p)") # kinda hackey
#14 408.8 File "/home/ray/.julia/packages/PythonCall/Nr75f/src/JlWrap/any.jl", line 254, in __setattr__
#14 408.8 self._jl_callmethod($(pyjl_methodnum(pyjlany_setattr)), k, v)
#14 408.8 AttributeError: Julia: Global DifferentialEquations.jit does not exist and cannot be assigned. Declare it using `global` before attempting assignment.
Environment (please complete the following information):
Output of using Pkg; Pkg.status()
Status `~/.julia/environments/v1.11/Project.toml` (empty project)
Output of using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.11/Manifest.toml` (empty manifest)
Output of versioninfo()
Julia Version 1.11.0
Commit 501a4f25c2b (2024-10-0711:40 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU:8× Apple M3
WORD_SIZE:64
LLVM: libLLVM-16.0.6 (ORCJIT, apple-m3)
Threads:1 default, 0 interactive, 1 GC (on 4 virtual cores)
The text was updated successfully, but these errors were encountered:
Thank you so much for the development of
diffeqpy
! I have just started using it but finding it super helpful.Describe the bug 🐞
Julia v1.11.0 was released on 08/10/24 (announced here)
We have a docker build which would install the most recent version of Julia, then runs in python
from diffeqpy import de
to install relevant Julia packages. This started failing since the new Julia release, but I have validated that this still works if I specifically install Julia v1.10.5Expected behavior
Expect to be able to import and use
diffeqpy.de
. This isMinimal Reproducible Example 👇
Note: requires that there is no existing install of Julia on machine.
From terminal:
Error & Stacktrace⚠️
Environment (please complete the following information):
using Pkg; Pkg.status()
Status `~/.julia/environments/v1.11/Project.toml` (empty project)
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Status `~/.julia/environments/v1.11/Manifest.toml` (empty manifest)
versioninfo()
The text was updated successfully, but these errors were encountered: