diff mbox series

[meta-python,16/24] python3-qface: drop the six dependency

Message ID 20260921115500.53770-16-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-python,01/24] nvmetcli: drop the six dependency | expand

Commit Message

Markus Volk Sept. 21, 2026, 11:54 a.m. UTC
qface declares six in install_requires but does not import it anywhere.
Patch it out and drop the dependency from the recipe.

Built for intel-corei7-64.

AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../0001-drop-the-six-dependency.patch        | 27 +++++++++++++++++++
 .../python/python3-qface_2.0.14.bb            |  2 +-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch b/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch
new file mode 100644
index 0000000000..e4722a021b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch
@@ -0,0 +1,27 @@ 
+From 306a9a40b6056c9d07037282bec645ca393ed4b2 Mon Sep 17 00:00:00 2001
+From: Markus Volk <f_l_k@t-online.de>
+Date: Mon, 21 Sep 2026 13:31:21 +0200
+Subject: [PATCH] drop the six dependency
+
+six is a Python 2 compatibility shim; qface declares it in
+install_requires but no longer imports it anywhere.
+
+Upstream-Status: Pending
+
+AI-Generated: Uses Claude Code (Claude Opus 5)
+---
+ setup.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 3dca1d3..d2734d3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -51,7 +51,6 @@ setup(
+         'jinja2>=2.10.3',
+         'pyyaml>=5.1',
+         'watchdog>=1.0',
+-        'six>=1.11.0',
+         'coloredlogs>=10.0',
+     ],
+     extras_require={
diff --git a/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb b/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb
index 9e78074e0e..a8a4083b23 100644
--- a/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb
+++ b/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb
@@ -2,6 +2,7 @@  SUMMARY = "A generator framework based on a common modern IDL"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5"
 
+SRC_URI += "file://0001-drop-the-six-dependency.patch"
 SRC_URI[sha256sum] = "df31014fbe95b3d910d059ce1a8e827d57d234aca3a5c42094d6ad096fd8f39e"
 
 inherit pypi setuptools3
@@ -11,7 +12,6 @@  DEPS = "\
     python3-click \
     python3-pyyaml \
     python3-pytest \
-    python3-six \
     python3-path \
     python3-antlr4-runtime \
     python3-watchdog \