On Sun, 2023-03-19 at 20:49 +0100, Patrice Duroux wrote:

> Sorry maybe I wasn't clear enough, but my purpose was more to track packages
> facing such cases (a subset of my first pattern):
> 
> chiark-scripts: /usr/lib/python2.7/dist-packages/fishdescriptor/__init__.py

Please file a feature request against lintian asking for it to detect
and warn about Python 2 related paths within packages.

> gtimelog: /usr/lib/python3.9/dist-packages/gtimelog/paths.py

lintian already warns about this:

W: gtimelog: python-module-in-wrong-location 
usr/lib/python3.9/dist-packages/gtimelog -> 
usr/lib/python3/dist-packages/gtimelog

> odoo-14: 
> /usr/lib/python3/dist-packages/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/usr/local/lib/python3.7/dist-packages/v4l2.py.iotpatch

Please check if lintian finds this and report a feature request if not.

> python3-flufl.i18n: 
> /usr/lib/python3/dist-packages/debian/python3-flufl.i18n/usr/lib/python3.9/dist-packages/flufl.i18n-3.0.1.egg-info/dependency_links.txt

lintian already warns but perhaps it should be upgraded in severity.

P: python3-flufl.i18n: repeated-path-segment dist-packages 
[usr/lib/python3/dist-packages/debian/python3-flufl.i18n/usr/lib/python3.9/dist-packages/]

> Is there something to do regarding that when a Debian release support only 
> one Python version?
> QA tool to track this?

Definitely something to add to lintian.

> Submit report to each packages?

Leave it to uploaders to notice the lintian complaints.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to