After some research and experiments, it seems like it comes from using the container image. I tried with a clean Python and only installing tensorflow without version requirements and it still fails.
Tensorflow builds are not compatible with alpine-based images which is the base used by the official Stash image (alpine uses musl-based symbols instead of the classic glibc-based symbols).