02-17-2023, 04:10 AM
Looks like when I use the postprocessor, it tries to use pip to install pyside2:
Installing required module: PySide2 ...
Running command:
/usr/bin/python3.8 -m pip install --upgrade pip
This could be pretty harmful. There are quite a few package management schemes for python, and pip will try to install dependencies automatically. So you could end up breaking somebody's whole dev environment by installing a dependency of pyside2 via pip that, say, hides a different version of the same package installed by apt, and is a critical component of some other software I'm writing.
Probably better to make the dependency optional (since it looks like the post runs just fine without it) or just ask the user nicely to install pyside2 rather than trying to do it for them.
Installing required module: PySide2 ...
Running command:
/usr/bin/python3.8 -m pip install --upgrade pip
This could be pretty harmful. There are quite a few package management schemes for python, and pip will try to install dependencies automatically. So you could end up breaking somebody's whole dev environment by installing a dependency of pyside2 via pip that, say, hides a different version of the same package installed by apt, and is a critical component of some other software I'm writing.
Probably better to make the dependency optional (since it looks like the post runs just fine without it) or just ask the user nicely to install pyside2 rather than trying to do it for them.