tidy3d
tidy3d copied to clipboard
Sort out `numpy` 2.0 release
Numpy version is currently not specified in our pyproject.toml. So the version will be largely determined by our dependencies. Maybe a few potential pitfalls:
- One of our dependencies wants numpy 2 and the other only works with numpy 1. In this case, I assume poetry / pip will just resolve this and install the lower versions such that numpy 1 versions are installed?
- User upgrades to numpy 2 and some of our internal numpy code breaks?
I assume we really only need to worry about 2. There are some articles about upgrading https://numpy.org/devdocs/numpy_2_0_migration_guide.html https://pythonspeed.com/articles/numpy-2/#:~:text=NumPy%202%20is%20a%20new,might%20be%20required%20to%20upgrade.
We can go through and see if anything needs to get updated.