You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm encountering the following warning (turned error by our CI) with python3.9 and python3.10 (did not check others)
run_bq.py:10: in
import GPy
/app/.venv/lib/python3.10/site-packages/GPy/init.py:6: in
from . import core
/app/.venv/lib/python3.10/site-packages/GPy/core/init.py:49: in
from .gp import GP
/app/.venv/lib/python3.10/site-packages/GPy/core/gp.py:9: in
from .. import kern
/app/.venv/lib/python3.10/site-packages/GPy/kern/init.py:63: in
from .src.symmetric import Symmetric
E File "/app/.venv/lib/python3.10/site-packages/GPy/kern/src/symmetric.py", line 56
E if symmetry_type is 'odd':
E ^^^^^^^^^^^^^^^^^^^^^^
E SyntaxError: "is" with a literal. Did you mean "=="?
Note that to reproduce I need to remove the .pyc file generated
The text was updated successfully, but these errors were encountered:
DaanVanVugt
changed the title
python3.10 gpy SyntaxError (literal with is)
python3.10 gpy SyntaxWarning (literal with is)
Jul 20, 2023
Hi, I'm encountering the following warning (turned error by our CI) with python3.9 and python3.10 (did not check others)
run_bq.py:10: in
import GPy
/app/.venv/lib/python3.10/site-packages/GPy/init.py:6: in
from . import core
/app/.venv/lib/python3.10/site-packages/GPy/core/init.py:49: in
from .gp import GP
/app/.venv/lib/python3.10/site-packages/GPy/core/gp.py:9: in
from .. import kern
/app/.venv/lib/python3.10/site-packages/GPy/kern/init.py:63: in
from .src.symmetric import Symmetric
E File "/app/.venv/lib/python3.10/site-packages/GPy/kern/src/symmetric.py", line 56
E if symmetry_type is 'odd':
E ^^^^^^^^^^^^^^^^^^^^^^
E SyntaxError: "is" with a literal. Did you mean "=="?
Note that to reproduce I need to remove the .pyc file generated
The text was updated successfully, but these errors were encountered: