--- setuptools_scm-8.1.0/testing/test_functions.py.orig
+++ setuptools_scm-8.1.0/testing/test_functions.py
@@ -145,6 +145,7 @@
     )
 
 
+@pytest.mark.skip(reason="always fails: https://github.com/pypa/setuptools_scm/issues/1045")
 def test_dump_version_flake8(tmp_path: Path) -> None:
     flake8 = shutil.which("flake8")
     if flake8 is None: