This test is incompatible with setuptools-scm>=7.0, but does not seem to cause other problems as the upstream PR fixing this is also only targeting the testsuite.