SciPy disappeared from Python 3.10?

Our test build with Python 3.10 (AMD64, Linux, jammy) is now failing, although it was working well two weeks ago, and all builds with any other Python versions still work. As far as I can tell, now it for some reason tries to build SciPy from source instead of installing a wheel package. But the only difference between the previous good and the current failing builds that I’ve noticed is that Python 3.10 got upgraded from 3.10.5 to 3.10.8. Is this the reason? Why this causes such troubles? And what can be done now to make it work again (and in future)?

(I don’t know whether this is related to Python packages no longer installing on jammy with python 3.10, perhaps indirectly.)