potiuk commented on code in PR #53690: URL: https://github.com/apache/airflow/pull/53690#discussion_r2227637782
########## airflow-core/src/airflow/serialization/serializers/numpy.py: ########## @@ -69,7 +70,7 @@ def serialize(o: object) -> tuple[U, str, int, bool]: ): return int(o), name, __version__, True - if isinstance(o, np.bool_): + if hasattr(np, "bool") and isinstance(o, np.bool) or isinstance(o, np.bool_): Review Comment: Ah.. Still fails actually :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org