remove ctypedef class from lib.pyx
@jbrockmendel 
`E   TypeError: issubclass() arg 1 must be a class` matches what i got locally from the same approach Ah ok. I guess this makes it so dtype is not a Python object, so probably need to change that check around Thanks @WillAyd  nice!