`minimize_blockmodel_dl` error with numpy 1.25.

I installed graph-tool in a fresh conda environment (python=3.11) via conda install -c conda-forge graph-tool. I got an environment with graph-tool=2.56 and numpy=1.25.0. In this environment, execution of

from graph_tool.all import *
g = collection.ns["ego_social/facebook_combined"]
state = minimize_blockmodel_dl(g)

results in the following error:

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/home/vargonis/miniconda3/envs/langchain/lib/python3.11/site-packages/graph_tool/inference/minimize.py", line 128, in minimize_blockmodel_dl

    state = state(g, **state_args)

            ^^^^^^^^^^^^^^^^^^^^^^

  File "/home/vargonis/miniconda3/envs/langchain/lib/python3.11/site-packages/graph_tool/inference/blockmodel.py", line 239, in __init__

    B = min(B, self.g.num_vertices())

        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/vargonis/miniconda3/envs/langchain/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 2953, in min

    return _wrapreduction(a, np.minimum, 'min', axis, None, out,

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/home/vargonis/miniconda3/envs/langchain/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 88, in _wrapreduction

    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

numpy.exceptions.AxisError: axis 4039 is out of bounds for array of dimension 0

The error goes away if one creates the environment like this: conda create -c conda-forge -n my_env_name python=3.11 numpy=1.24 graph-tool.