cannot import name 'builder' from 'google.protobuf.internal'

I want to give a try to protozfits and installed it on a Fedora 38 PC:

pip install protozfits

Then I followed an side remark here and tried

$ python -m protozfits.recompress_zfits --help
Traceback (most recent call last):
  File "<frozen runpy>", line 189, in _run_module_as_main
  File "<frozen runpy>", line 112, in _get_module_details
  File "/home/hoffmann/.local/lib/python3.11/site-packages/protozfits/__init__.py", line 33, in <module>
    from .anyarray import any_array_to_numpy, numpy_to_any_array  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/hoffmann/.local/lib/python3.11/site-packages/protozfits/anyarray.py", line 7, in <module>
    from .CoreMessages_pb2 import AnyArray
  File "/home/hoffmann/.local/lib/python3.11/site-packages/protozfits/CoreMessages_pb2.py", line 9, in <module>
    from google.protobuf.internal import builder as _builder
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/lib64/python3.11/site-packages/google/protobuf/internal/__init__.py)

Any advice? I did not plan to recompress ZFITS specifically, but the error (import builder from google.protobuf) seems to occur systematically as soon as I try to use protozfits.