diff --git a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
index 911ab1ddc6..3d27b7e17d 100644
--- a/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
+++ b/meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb
@@ -9,7 +9,7 @@ inherit pypi python_setuptools_build_meta
 DEPENDS += "python3-wheel-native"
 
 # Use different filename to prevent conflicts with thrift itself
-PYPI_SRC_URI:append = ";downloadfilename=${BP}.${PYPI_PACKAGE_EXT}"
+PYPI_ARCHIVE_NAME_PREFIX = "python-"
 
 RDEPENDS:${PN} += "\
     python3-logging \
