control: retitle -1 [libmodulemd] Patch the GIR override to drop the python-six 
dependency

On Sat, Sep 14, 2024 at 05:09:51PM +0200, Alexandre Detiste wrote:
> Source: libmodulemd
> Version: 2.14.0-3
> Severity: normal
> 
> Dear Maintainer,
> 
> I cannot make any sense of the wording about
> python3-six in the long description.
> 
> Pytho3-six was a translation layer that was used back then
> to have the same code base work on Python2 and 3.
> 
> This long description is most likely obsolete
> and this paragraph can go away.

...you'd think so, wouldn't you...

    (unstable-amd64)root@straylight:/# dpkg -L gir1.2-modulemd-2.0 | perl -nle 
'-f and print' | xargs -rn1 grep -3 -EHe 'import.*six' -e 'six.*import'
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-import functools
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py:from six import 
text_type
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-from gi.repository 
import GLib
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-
    /usr/lib/python3/dist-packages/gi/overrides/Modulemd.py-import datetime
    (unstable-amd64)root@straylight:/#

...it's unconditional :(

I've actually thought about patching it out in the past, and I think
I just might do that, and send the patch upstream. They've accepted
a couple of my patches already, so they might deem this one reasonable,
too.

Thanks for bringing my attention to this, I had completely forgotten
about it!

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature

Reply via email to