MINGW-packages/mingw-w64-python-numpy/0007-disable-64bit-experimental-warning.patch
مهدي شينون (Mehdi Chinoune) a7029d0e80 python-numpy: update to 2.0.1
2024-08-01 17:20:08 +01:00

19 lines
607 B
Diff

--- a/numpy/_core/src/multiarray/multiarraymodule.c
+++ b/numpy/_core/src/multiarray/multiarraymodule.c
@@ -4976,15 +4976,6 @@
goto err;
}
-#if defined(MS_WIN64) && defined(__GNUC__)
- PyErr_WarnEx(PyExc_Warning,
- "Numpy built with MINGW-W64 on Windows 64 bits is experimental, " \
- "and only available for \n" \
- "testing. You are advised not to use it for production. \n\n" \
- "CRASHES ARE TO BE EXPECTED - PLEASE REPORT THEM TO NUMPY DEVELOPERS",
- 1);
-#endif
-
/* Initialize access to the PyDateTime API */
numpy_pydatetime_import();