diff --git a/meta/recipes-devtools/python/python3/0001-test_cppext-omit-from-python3-ptest.patch b/meta/recipes-devtools/python/python3/0001-test_cppext-omit-from-python3-ptest.patch
new file mode 100644
index 0000000000..9fca815368
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-test_cppext-omit-from-python3-ptest.patch
@@ -0,0 +1,37 @@
+From 11f77795efa9aa15b0459006a16e3bbc72ec69b9 Mon Sep 17 00:00:00 2001
+From: Trevor Gamblin <tgamblin@baylibre.com>
+Date: Wed, 5 Jul 2023 14:29:33 -0400
+Subject: [PATCH] test_cppext: omit from python3 ptest
+
+These tests fail when running python3 ptests because gcc, g++, and
+binutils aren't present. This is a lot to add to the RDEPENDS, so
+disable the tests instead.
+
+[YOCTO # 13298]
+
+Upstream-Status: Inappropriate (OE-Specific)
+
+Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
+---
+ Lib/test/test_cppext.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/Lib/test/test_cppext.py b/Lib/test/test_cppext.py
+index 465894d24e..93b71d5100 100644
+--- a/Lib/test/test_cppext.py
++++ b/Lib/test/test_cppext.py
+@@ -17,9 +17,11 @@
+ 
+ @support.requires_subprocess()
+ class TestCPPExt(unittest.TestCase):
++    @unittest.skip('requires gcc, g++ - excessive for ptest build')
+     def test_build_cpp11(self):
+         self.check_build(False, '_testcpp11ext')
+ 
++    @unittest.skip('requires gcc, g++ - excessive for ptest build')
+     def test_build_cpp03(self):
+         self.check_build(True, '_testcpp03ext')
+ 
+-- 
+2.41.0
+
diff --git a/meta/recipes-devtools/python/python3_3.11.4.bb b/meta/recipes-devtools/python/python3_3.11.4.bb
index 6b074c48cf..6a471e706d 100644
--- a/meta/recipes-devtools/python/python3_3.11.4.bb
+++ b/meta/recipes-devtools/python/python3_3.11.4.bb
@@ -32,6 +32,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
            file://deterministic_imports.patch \
            file://0001-Avoid-shebang-overflow-on-python-config.py.patch \
            file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \
+           file://0001-test_cppext-omit-from-python3-ptest.patch \
            "
 
 SRC_URI:append:class-native = " \
