Version: 2.6.0-7
Severity: normal
Tags: patch
Dear Maintainer,
I will submit a patch to fix this error-- https://ci.debian.net/packages/p/python-hug/unstable/amd64/
Debian Continuous Integration - python-hug/unstable/amd64<https://ci.debian.net/packages/p/python-hug/unstable/amd64/>
Debian Continuous Integration Results
ci.debian.net
tests/test_output_format.py:379:
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?
As you may know, `np.bool8` is a deprecated alias for `np.bool_`. (Deprecated NumPy 1.24)
And in numpy version higher than 2.0, np.bool8 has been removed. So the case has always failed due to the installed numpy version by default is 2.2.4.
I added if clause to tell the numpy version. Please see the patch.
Thanks for your reply!
Yours sincerely,
xiaozhan