Due to this issue: pypa/setuptools-scm#653 and brokenness in setuptools itself it is currently not possible to turn setuptools_scm off if it is installed inside the build environment.
That means if I depend on cmake-build-extension for only the purpose of building CMake extensions and not using the setuptools_scm features I have to set up a bunch of pre-emptive excludes that setuptools_scm is so kind to add for me.
I would suggest that until upstream setuptools and setuptools_scm get their act together that you make setuptools_scm and exta and opt-in via cmake-build-extension[scm] or something similar.
Due to this issue: pypa/setuptools-scm#653 and brokenness in setuptools itself it is currently not possible to turn
setuptools_scmoff if it is installed inside the build environment.That means if I depend on
cmake-build-extensionfor only the purpose of building CMake extensions and not using thesetuptools_scmfeatures I have to set up a bunch of pre-emptive excludes thatsetuptools_scmis so kind to add for me.I would suggest that until upstream
setuptoolsandsetuptools_scmget their act together that you makesetuptools_scmand exta and opt-in viacmake-build-extension[scm]or something similar.