Description: Drop the Python "six" dependency
 We only build a Python 3.x module, so there is no "other" text type
 besides `str`.
Bug-Debian: https://bugs.debian.org/1081759
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2026-01-06

--- a/bindings/python/gi/overrides/Modulemd.py
+++ b/bindings/python/gi/overrides/Modulemd.py
@@ -16,7 +16,6 @@
 
 import functools
 
-from six import text_type
 from gi.repository import GLib
 
 import datetime
@@ -94,9 +93,6 @@
         if isinstance(obj, str):
             return ModulemdUtil.variant_str(obj)
 
-        elif isinstance(obj, text_type):
-            return ModulemdUtil.variant_str(obj.encode("utf-8"))
-
         elif isinstance(obj, bool):
             return ModulemdUtil.variant_bool(obj)
 
