[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998820: lintian: overly generic python modules /usr/lib/python3/dist-packages/benchmarks/*.py



Package: lintian
Version: 2.111.0
Severity: normal

python3-satpy ships (among others)

drwxr-xr-x root/root         0 2021-11-07 11:56 ./usr/lib/python3/dist-packages/benchmarks/
-rw-r--r-- root/root       752 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/__init__.py
-rw-r--r-- root/root      2632 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/abi_l1b_benchmarks.py
-rw-r--r-- root/root      2671 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/ahi_hsd_benchmarks.py
-rw-r--r-- root/root      5817 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/fci_benchmarks.py
-rw-r--r-- root/root      2594 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/seviri_hrit_benchmarks.py
-rw-r--r-- root/root      2811 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/utils.py
-rw-r--r-- root/root      4121 2021-11-04 02:43 ./usr/lib/python3/dist-packages/benchmarks/viirs_sdr_benchmarks.py

This has caused file conflicts with other packages doing the same
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991981

Probably ./usr/lib/python3/dist-packages/benchmarks/__init__.py should
be "blacklisted" as overly generic and the remaining files under
benchmarks should be discouraged.
(But benchmarks/$MODULE/*.py should probably be OK.)


Andreas


Reply to: