diff --git a/meta/classes-recipe/python_flit_core.bbclass b/meta/classes-recipe/python_flit_core.bbclass
index cb40ab0faf..ea37630746 100644
--- a/meta/classes-recipe/python_flit_core.bbclass
+++ b/meta/classes-recipe/python_flit_core.bbclass
@@ -8,6 +8,20 @@ inherit python_pep517
 
 DEPENDS += "python3-flit-core-native"
 
+# Many projects pin flit_core below the next major version in their
+# build-system requires; pyproject-build then rejects the flit-core we
+# ship once it is newer. Drop the upper bound on flit_core there.
+python_flit_core_relax_requires () {
+    if [ -f ${PEP517_SOURCE_PATH}/pyproject.toml ]; then
+        sed -i -E \
+            -e '/flit[_-]core/s/,[[:space:]]*<[[:space:]]*[0-9][0-9.]*//' \
+            -e '/flit[_-]core/s/<[[:space:]]*[0-9][0-9.]*[[:space:]]*,[[:space:]]*//' \
+            -e '/flit[_-]core/s/<[[:space:]]*[0-9][0-9.]*//' \
+            ${PEP517_SOURCE_PATH}/pyproject.toml
+    fi
+}
+do_configure[prefuncs] += "python_flit_core_relax_requires"
+
 python_flit_core_do_manual_build () {
     cd ${PEP517_SOURCE_PATH}
     nativepython3 -m flit_core.wheel --outdir ${PEP517_WHEEL_PATH} .
