-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Describe the issue:
Cython 3.1 came out a few days ago and removed numpy/math.pxd. That leads to errors in crick/stats.pyx.
Error compiling Cython file:
20.45 ------------------------------------------------------------
20.45 ...
20.45 cimport numpy as np
20.45 from numpy.math cimport NAN
20.45 ^
20.45 ------------------------------------------------------------
20.45
20.45 crick/stats.pyx:2:0: 'numpy/math.pxd' not found
20.45
20.45 Error compiling Cython file:
20.45 ------------------------------------------------------------
20.45 ...
20.45 cimport numpy as np
20.45 from numpy.math cimport NAN
20.45 ^
20.45 ------------------------------------------------------------
20.45
20.45 crick/stats.pyx:2:0: 'numpy/math/NAN.pxd' not found
20.45
20.45 Error compiling Cython file:
20.45 ------------------------------------------------------------
20.45 ...
20.45 def min(self):
20.45 """min(self)
20.45
20.45 The minimum element added to the summary. Returns ``NaN`` if empty.
20.45 """
20.45 return self.stats.min if self.stats.count > 0 else NAN
20.45 ^
20.45 ------------------------------------------------------------
20.45
20.45 crick/stats.pyx:163:59: 'NAN' is not a constant, variable or function identifierMinimal Complete Verifiable Example:
I got the error while installing terracotta
pip install cython terracotta~=0.8
Environment:
- Dask version:
- Python version: 3.10
- Operating System: ubuntu (Docker python:3.10 image.)
- Install method (conda, pip, source): pip
Metadata
Metadata
Assignees
Labels
No labels