diff --git a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb
index bf357872c39..5bd3a5439cf 100644
--- a/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb
+++ b/meta/recipes-gnome/blueprint-compiler/blueprint-compiler_0.20.4.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
 SRC_URI = "git://gitlab.gnome.org/GNOME/blueprint-compiler;protocol=https;branch=blueprint-0-20;tag=v${PV}"
 SRCREV = "31b62c24a72c1670d2d93dcdf2d130f1ae12778e"
 
-inherit meson pkgconfig python3targetconfig
+inherit meson pkgconfig python3-dir
 
 PACKAGES += "${PN}-python"
 
