diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb
index 3e86c4fd2c..58eb963910 100644
--- a/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-scm_10.0.5.bb
@@ -12,6 +12,8 @@ PYPI_PACKAGE = "setuptools_scm"
 
 inherit pypi python_setuptools_build_meta
 
+export SETUPTOOLS_SCM_PRETEND_VERSION = "${PV}"
+
 DEPENDS += "\
     python3-packaging-native \
     python3-vcs-versioning-native \
