mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 13:58:12 +08:00
chore: Fix compatibility tests (#2685)
* chore: Fix compatibility tests * DEBUGGGG * fix: update deps, fix unit tests * fix: FE deps * chore: update compatibility matrix --------- Co-authored-by: kaloster <rkalo@contractor.chanzuckerberg.com>
This commit is contained in:
@@ -116,7 +116,7 @@ def _get_type_info(array: Union[np.ndarray, pd.Series, pd.Index]) -> Tuple[np.dt
|
||||
raise TypeError("Unsupported data type.")
|
||||
|
||||
dtype = array.dtype
|
||||
|
||||
|
||||
res = _get_type_info_from_dtype(dtype)
|
||||
if res is not None:
|
||||
return res
|
||||
@@ -140,7 +140,6 @@ def _get_type_info(array: Union[np.ndarray, pd.Series, pd.Index]) -> Tuple[np.dt
|
||||
|
||||
if dtype.kind in ["i", "u"] and _can_cast_array_values_to_int32(array):
|
||||
return (np.int32, {"type": "int32"})
|
||||
|
||||
if dtype.kind == "f":
|
||||
_float64_warning(array.dtype)
|
||||
return (np.float32, {"type": "float32"})
|
||||
|
||||
@@ -12,10 +12,10 @@ flatten-dict>=0.2.0
|
||||
fsspec>0.8.0
|
||||
gunicorn>=20.0.4
|
||||
h5py>=3.0.0
|
||||
numba>=0.51.2
|
||||
numpy>1.22
|
||||
numba>=0.60.0
|
||||
numpy==2.0.1
|
||||
packaging>=20.0
|
||||
pandas<2.0.0
|
||||
pandas>=2.2.2
|
||||
PyYAML>=5.4 # CVE-2020-14343
|
||||
requests>=2.22.0
|
||||
s3fs==0.4.2
|
||||
|
||||
Reference in New Issue
Block a user