When our Django server start there are syntax warning messages showed in the Cirrus log for the query.py in the ibm_db_django package. Please could you help resolve? The warning message has been added in python 3.8+. Thank you.
Cirrus log message:
/workspace/cloned-git-repository/cio-ci-cd-venv/lib64/python3.11/site-packages/ibm_db_django/query.py:86:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.low_mark is not 0:
if self.low_mark is not 0 and self.high_mark is not None:
Reference: https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/