Closed GernotMaier closed 2 months ago
It looks like you only updated numpy and not minuit?
There are definitely tests covering the code that is throwing the error here.
Does this happen in a fresh environment? It might be that old minuit versions were not compatible with numpy 2.0 but didn't specify so in their dependencies.
Side note: we really should make the imports in io lazy. Importing half of ctapipe for write_table is not great.
This is after running a micromamba update -f environment.yml
on an existing environment. Let me try to generate a fresh environment to see if somehow minuit was not updated.
Fyi: the first iminuit version to support numpy 2.0 is 2.26 from June:
OK - there is no error when installing a fresh environment. So this is then likely an issue of mamba when updating an env.
I therefore suggest to close this issue.
It's an issue of the dependency specification of the iminuit package, nothing much mamba can do about it.
Describe the bug
from ctapipe.io import write_table
throws an ImportError after updating to numpy 2.02To Reproduce Steps to reproduce the behavior: