Bug#1093278: paraview needs a stricter python dependency

Drew Parsons dparsons at emerall.com
Sun Jan 19 14:23:50 GMT 2025


On 2025-01-19 14:44, Colin Watson wrote:
> 
> You can achieve that with:
>  PY3VERS=$(PY3DEF)
> +PY3RANGE=$(shell echo $(PY3DEF) | awk 'BEGIN { FS="." }; { print $$1 
> "." $$2 "-" $$1 "." $$2 + 1 }')
> 
> +	dh_python3 -V $(PY3RANGE) --no-ext-rename # Hack: Do not rename 
> libraries from e.g. vtkClientServerPython.so to 
> vtkClientServerPython.cpython-38-x86_64-linux-gnu.so!


Thanks Colin, that should work.
I'll apply your's and Adrian's recommendation to use the range
(versioned python3 not specific python3.Y)

The test script could be hacked to use the "required" specific version,
but I think that wouldn't help anyway to get paraview on the binNMU list 
for python3 upgrades.
The ranged version will do it.

Drew



More information about the debian-science-maintainers mailing list