Package: src:pcp
Version: 3.2.2-1
Severity: serious
Tags: sid buster

PCP_PYTHON_PROG=python3 can be changed in the config file, invalidating the
package dependencies. I think the python2 alternatives should be dropped and
PCP_PYTHON_PROG shouldn't be a config option.

   pcp Depends: python3-pcp | python-pcp.

python-six, python-json-pointer as build dependencies: Why no python3
equivalents? Looks like Python2 is used for the build by default. I'd suggest to
replace those by their Python3 equivalents unconditionally.

pcp-export-pcp2influxdb: Depends on python-requests unconditionally, no
python3-requests.

I assume the packages are built to be "usable" with both Python2/Python3 but
breaking package dependencies on the way. There is a reason that Debian has
separate Python2/Python3 stacks. That should be fixed.

And if the python-pcp extension isn't used at all, it probably should be removed
entirely.

Reply via email to