See @ngoldbaum's comment at https://github.com/scientific-python/spin/pull/241#issuecomment-2417940112