Importing `DifferentialEquations` and `BifurcationKit` together unpredictably fails

Importing DifferentialEquations and BifurcationKit together unpredictably fails.

I have 3 pluto notebooks: a new one (A), an “intermediate” one (B), and an old one (C)

The notebooks import many packages but I isolated the problem to the interaction of DifferentialEquations and BifurcationKit.

All three notebooks import both packages. I have been using B continuously for a while (>1 year) and it imports both packages without an issue. I went to check old code in C and it would not run because the packages failed to compile together. I tried making a clean notebook, A, to run the old code and simply re-produced the error I got in C.

Any ideas why this is happening and more importantly any suggestions for how to fix it?

Thanks!

I was originally

using DifferentialEquations
import BifurcationKit

and for some reason, changing it to

using DifferentialEquations
using BifurcationKit

solved my problem

What’s the error?

it failed to compile BifurcationKit, I think specifically the PlotsExt, but can’t recall exactly and I cannot reproduce it this morning.

I wonder if there was some caching issue leading to old versions being used by Pluto’s package manager.

Even while I was experiencing the failure in Pluto I was able to compile the packages in the julia REPL

Sharing the full notebook would help.

the docs are built at each commit, at least tbe corresponding pzckage versions would work. however, without the error message, it is difficult to help as Chris said