kartoza / sawps

SANBI WPS
https://kartoza.github.io/sawps/
GNU Affero General Public License v3.0
0 stars 6 forks source link

fix numpy dependency error #2084

Closed danangmassandy closed 3 weeks ago

danangmassandy commented 3 weeks ago

This is to fix below error:

File "/home/web/django_project/frontend/utils/data_table.py", line 9, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.10/site-packages/pandas/__init__.py", line 46, in <module>
    from pandas.core.api import (
  File "/usr/local/lib/python3.10/site-packages/pandas/core/api.py", line 1, in <module>
    from pandas._libs import (
  File "/usr/local/lib/python3.10/site-packages/pandas/_libs/__init__.py", line 18, in <module>
    from pandas._libs.interval import Interval
  File "interval.pyx", line 1, in init pandas._libs.interval
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
lgkgh commented 3 weeks ago

Jenkins Build Details:

Build status: SUCCESS Build duration: 11 min

github-actions[bot] commented 3 weeks ago

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
16986 16485 97% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: b18d42f by action🐍

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.25%. Comparing base (607ae38) to head (b18d42f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2084 +/- ## ========================================== - Coverage 97.26% 97.25% -0.01% ========================================== Files 374 374 Lines 16811 16788 -23 ========================================== - Hits 16351 16327 -24 - Misses 460 461 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lgkgh commented 3 weeks ago

Jenkins Build Details:

Build status: SUCCESS Build duration: 3 min 6 sec