static-frame / arraykit

Python C Extensions for StaticFrame
Other
8 stars 2 forks source link

TypeError: argument must be an iterable over numpy.dtype #41

Closed flexatone closed 3 years ago

flexatone commented 3 years ago

@brandtbucher : While arraykit is passing all SF tests on older NumPy, with NumPy 1.20.1 we are getting the following error. Is this something we can fix in the arraykit implementation?

    self._row_dtype = resolve_dtype_iter(b.dtype for b in self._blocks)
TypeError: argument must be an iterable over numpy.dtype, not numpy.dtype[str_]

https://github.com/InvestmentSystems/static-frame/runs/2386175564?check_suite_focus=true

flexatone commented 3 years ago

This issue was solved by moving the minimum NumPy up to 1.17.4.