I have a similar problem while bitbakeing scipy. The problem is the inherit setuptools3 in the older recipe. The setuptool wants to work with the setup.py, but newer python packages use a pyproject.toml instead, so there is no setup.py. The reason ehy the newer recipe works just fine is, that it doesn't use setuptools