fixing setuptool_scm dependency because the latest version is broken (#3100)

Co-authored-by: Tom Rijntjes <extern.tom.rijntjes@cariad.technology>
Co-authored-by: Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
diff --git a/pyproject.toml b/pyproject.toml
index 2016102..bee968c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,7 +65,7 @@
 
 [build-system]
 build-backend = "setuptools.build_meta"
-requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"]
+requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2, != 8.0.0"]
 
 [tool.setuptools_scm]
 write_to = "codespell_lib/_version.py"