Hi...
On Fedora 37 (x86_64): default python version is 3.11.0.
The build of sage 9.8.beta3 (configured w/o any options -> build the python-3.10 source package in sage) failed due to the error in importing setuptools while building wheel.
By configuring with an older version of Python in the fedora system (3.10.8, --with-python=/usr/bin/python3.10), the build is successful.
Kazuyoshi