File fix-np.bool8.patch of Package python-hug
From bb51c603c1f1573738966af39d42acc95925f341 Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <swagner@intevation.de>
Date: Wed, 18 Sep 2024 12:35:37 +0200
Subject: [PATCH] remove np.bool8, remove in numpy
---
tests/test_output_format.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_output_format.py b/tests/test_output_format.py
index 48c400fb..9d54c5d6 100644
--- a/tests/test_output_format.py
+++ b/tests/test_output_format.py
@@ -375,7 +375,7 @@ def test_json_converter_numpy_types():
# Some type names are merely shorthands.
# The following shorthands for built-in types are excluded: numpy.bool, numpy.int, numpy.float.
- np_bool_types = [numpy.bool_, numpy.bool8]
+ np_bool_types = [numpy.bool_]
np_int_types = [
numpy.int_,
numpy.byte,