Bug#1040361: python3-fiona: do not ship /usr/lib/python3/dist-packages/docs/conf.py

Helmut Grohne helmut at subdivi.de
Tue Jul 4 21:27:51 BST 2023


Package: python3-fiona
Version: 1.9.4-1+b1
Severity: serious

python3-fiona contains /usr/lib/python3/dist-packages/docs/conf.py. This
is a sphinxdoc configuration file and certainly does not belong there. I
tried figuring out why it gets there. A build log says:

| INFO:root:creating build/lib.linux-x86_64-cpython-311/docs
| INFO:root:copying docs/conf.py -> build/lib.linux-x86_64-cpython-311/docs

I don't quite see which part causes this to happen, but the effect is
the same.

In any case, this file happens to also be contained in python3-diskcache
(which also is wrong) and that causes an undeclared file conflict, which
typically is release-critical.  Rather than declare that conflict,
python3-fiona simply should not ship that file.

Helmut



More information about the Pkg-grass-devel mailing list