Closed jeromekelleher closed 3 weeks ago
@tomwhite I think this should give us long-term back-and-forth compatibility with numpy 1.26 and >=2 :crossed_fingers: What do you think?
Did you test if an ICF created with NumPy 1 can be loaded with NumPy 2? If not, that could be done later.
I did check it manually, but ran out of enthusiasm in terms of coming up with a test case to formally check this. I figure it's a rare enough corner case that we can not worry too much about it?
coverage: 98.91%. remained the same when pulling 4dd205e06ebe53634b7442fdec0aab1e3a70f013 on jeromekelleher:numpy2 into 3d7bfec2f1159a93883337bd9a08e6fef3014369 on sgkit-dev:main.