I’m not sure about the exact cause, but in my experience, when hooks don’t work properly, rebuilding the environment has sometimes resolved the issue. Additionally, I will try setting up a minimal virtual environment to see if that helps. It might be worth trying.