#1136·howdy

howdy test crashes with NumPy 2.x due to scalar indexing

Author: mdj2812Created Aug 10, 2026Updated Aug 10, 2026

Description

sudo howdy test crashes on systems using NumPy 2.x.

Error:

IndexError: invalid index to scalar variable.

The issue happens in cli/test.py:

hist_total = int(sum(hist)[0]) value_perc = float(value[0]) / hist_total * 100

NumPy 2.x returns scalar values here instead of indexable arrays.

Environment:

  • CachyOS
  • howdy-git r592.d3ab993
  • Python ...
  • NumPy 2.5.2