Bug#1069234: bcftools: gff2gff.py and guess-ploidy.py fails to run

2024-05-05 Thread Giulio Genovese
Dear Andreas,

I understand with commit a46c2e25

the bcftools debian package has acquired the new python3-gffutils and
python3-matplotlib dependencies. I used this debian package to build some
minimalistic dockers but this has now ballooned the size of my dockers from
~100MB to >600MB.

Would it be possible to have these required dependencies changed to
suggested dependencies? BCFtools is mostly software written in C with
minimal dependencies and to see it changed to a package with >10x as many
required dependencies kind of removes this minimalism philosophy.

Something similar was done with the bwa debian package where the perl
required dependency was moved to a suggested dependency. This seems to have
made all parties happy. It would be great if the same philosophy could be
applied to the bcftools debian package.

Giulio


Bug#1069234: bcftools: gff2gff.py and guess-ploidy.py fails to run

2024-04-18 Thread Sudip Mukherjee
Package: bcftools
Version: 1.19-1+b1
Severity: normal

Dear Maintainer,

gff2gff.py fails to run with the error:

$ gff2gff.py --help
Traceback (most recent call last):
  File "/usr/bin/gff2gff.py", line 13, in 
import gffutils
ModuleNotFoundError: No module named 'gffutils'

And guess-ploidy.py fails to run with the error:

$ guess-ploidy.py --help
Traceback (most recent call last):
  File "/usr/bin/guess-ploidy.py", line 29, in 
import matplotlib as mpl
ModuleNotFoundError: No module named 'matplotlib'

Its missing the runtime dependencies.

-- 
Regards
Sudip

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bcftools depends on:
ii  libc6   2.37-17
ii  libhts3t64  1.19+ds-1.1+b1

Versions of packages bcftools recommends:
ii  perl  5.38.2-3

Versions of packages bcftools suggests:
ii  python33.11.8-1
pn  python3-matplotlib 
pn  python3-numpy  
pn  texlive-latex-recommended