I'm working to backport azure-cli to epel9 and some of the testing requirements call for pytest-aiohttp, and that one calls for setuptools_scm. Could you please branch and build setuptools_scm for epel9? I'd be glad to help you maintain it if needed. Thank you.
It looks like it needs mercurial to build, but pytest-aiohttp is only using git.
$ repoquery -q --repo=c9s-crb python3-setuptools_scm --latest=1 python3-setuptools_scm-0:6.0.1-1.el9.noarch