Crash on Windows due to NumPy V2.0.0-2.0.1 bug
Every single application launched with pythonw.exe on Windows will fail if it imports NumPy V2.0.0 or V2.0.1.
This is a known bug, and it has already been fixed (hopefully it will be available in next release of NumPy): https://github.com/numpy/numpy/issues/26862
NumPy V2.1.0 has been released and should integrate the fix (not tested as of today). However NumPy V2.1 no longer supports Python 3.9, so there is still an issue.
Summary:
- Python 3.8 (still supported by DataLab mostly for Windows 7 support): not concerned by this issue since NumPy V2.0 is not available for this version of Python
- Python 3.9: still not fixed by the NumPy project (NumPy V2.1 does not support Python 3.9 and NumPy V2.0.1 do not integrate the fix), so we have to ship DataLab with NumPy V1 for Python 3.9
- For Python 3.10 and earlier, this should be fixed with NumPy V2.1 (to be tested)
NumPy V2.0.2 has been released - it includes the fix (just tested on Python 3.11): https://github.com/numpy/numpy/releases/tag/v2.0.2
NumPy V2.1.0 has also been tested successfully.
Summary:
- Python 3.8 (still supported by DataLab mostly for Windows 7 support): not concerned by this issue since NumPy V2.0 is not available for this version of Python
- For Python 3.9, this is fixed with NumPy V2.0.2
- For Python 3.10 and earlier, this is fixed with NumPy V2.1.0
This closes this issue.