diff mbox series

[meta-python,12/14] python3-google-auth-oauthlib: Add python3-plistlib to ptest RDEPENDS

Message ID 20261125080732.2419614-73-khem.raj@oss.qualcomm.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj Nov. 25, 2026, 8:07 a.m. UTC
Python 3.15's webbrowser.py does "lazy import plistlib". The
InstalledAppFlow.run_local_server tests patch webbrowser with
autospec, which reads every attribute of the module and resolves the
lazy import, so all ten of them fail with:

  ModuleNotFoundError: Standard library module 'plistlib' was not found

plistlib is packaged separately as python3-plistlib. ptest: 47 pass,
1 skipped on qemux86-64 (glibc, systemd).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../python/python3-google-auth-oauthlib_1.5.0.bb                 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb b/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb
index b618c5f033..384387e64b 100644
--- a/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb
+++ b/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb
@@ -17,6 +17,7 @@  RDEPENDS:${PN}-ptest += " \
         python3-click \
         python3-cryptography \
         python3-mock \
+        python3-plistlib \
         python3-pytest \
         python3-unittest-automake-output \
         python3-unixadmin \