python3-lalinference 4.1.2 lots of warnings at install time
I'm seeing this on an Ubuntu Focal machine but I'm sure this would also happen elsewhere:
Setting up python3-lalinference (4.1.2-1+ubuntu20.04.0) ...
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:1399: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if nan_samps is not 0:
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:1666: SyntaxWarning: "is" with a literal. Did you mean "=="?
if new_post.samples.ndim is 0:
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:1709: SyntaxWarning: "is" with a literal. Did you mean "=="?
if post.samples.ndim is 0:
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5284: SyntaxWarning: "is" with a literal. Did you mean "=="?
if inputtype is 'ns':
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5286: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif inputtype is 'common':
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5288: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif inputtype is 'fm':
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5290: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif inputtype is "inf_mcmc":
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5292: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif inputtype is "xml":
/usr/lib/python3/dist-packages/lalinference/bayespputils.py:5939: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif s is '\n':
/usr/lib/python3/dist-packages/lalinference/lalinference_pipe_utils.py:1678: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if srate is not 0:
/usr/lib/python3/dist-packages/lalinference/lalinference_pipe_utils.py:1681: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if original_srate is not 0:
/usr/lib/python3/dist-packages/lalinference/tiger/make_injtimes.py:100: SyntaxWarning: "is" with a literal. Did you mean "=="?
if whereInj is 'often':
/usr/lib/python3/dist-packages/lalinference/tiger/make_injtimes.py:107: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif whereInj is 'middle':
/usr/lib/python3/dist-packages/lalinference/tiger/make_injtimes.py:191: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if len(data) is not 4:
# python -V
Python 3.8.10