[jsk_rosbag_tools] set python_interpreter python2 for melodic, install scipy<1.9.0+numpy>=1.21.0 for python3 and apt scipy+numpy<1.21.0 for python2 #1781
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR solves #1780
typeDict
is deprecated innumpy>=1.21.0
inscipy
For python3, I install
scipy
incatkin_virtualenv
to upgradescipy
.https://stackoverflow.com/questions/74852225/attributeerror-module-numpy-has-no-attribute-typedict/74969328#74969328
scipy version should be
1.9.0
because ofopenblas
problem withmeson
.scipy/scipy#16308
For python2, I install
numpy<1.21.0
to avoid attribute error.So I made two requirements for
python2
andpython3
.scipy<1.9.0
(because of meson build error)numpy>=1.21.0
(scipy requires this version)scipy
from aptnumpy<1.21.0
(because of typeDict attribute error)this PR also specify the python interpreter as
python2
for melodic.