From f35f5d00f3fecf9a4fd5f1eb0b592db8fad43c26 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 8 Jan 2025 22:35:05 +0100 Subject: [PATCH] bugfix requirement error error was ``` idhub-1 | ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject idhub-1 exited with code 1 ``` > The solution is to pin down the numpy version to any before the 2.0.0 related https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 0a75cdd..78e85b1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,6 +6,7 @@ black==23.9.1 python-decouple==3.8 jsonschema[format]==4.19.1 pandas==2.1.1 +numpy>=1.21,<2.0 xlrd==2.0.1 odfpy==1.4.1 requests==2.31.0