I noticed that when executing pip install -r requirements.txt, my Scipy 1.9.3 package got downgraded, due to hard constraint in the requirements file. This doesn't seem necessary since Scipy isn't such a crucial package in general as mentioned here: https://github.com/PX4/flight_review/issues/233#issuecomment-1089857342
Solution
Remove hard constraint on SciPy version, and accept install any version over 1.8.1 (and don't downgrade system package if already installed and is version higher than 1.8.1)
Description
I noticed that when executing
pip install -r requirements.txt
, my Scipy 1.9.3 package got downgraded, due to hard constraint in the requirements file. This doesn't seem necessary since Scipy isn't such a crucial package in general as mentioned here: https://github.com/PX4/flight_review/issues/233#issuecomment-1089857342Solution
Remove hard constraint on SciPy version, and accept install any version over 1.8.1 (and don't downgrade system package if already installed and is version higher than 1.8.1)