-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
quay-v3.11.0
With current Quay version (3.11) the startup logs have a lot of "SyntaxWarning" messages which may scare users.
reconciliationworker stderr | /app/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? reconciliationworker stderr | if x is 0 or x is 1: reconciliationworker stderr | /app/lib/python3.9/site-packages/jmespath/visitor.py:32: SyntaxWarning: "is" with a literal. Did you mean "=="? reconciliationworker stderr | if x is 0 or x is 1: ...
Several components raising such warning and a check on the upstream jmespath git-repo has a fix and PyPI repo has version 1.0.1 of jmespath which includes that fix.
`requirements.txt` still lists "jmespath==0.9.4" which does not include the fix, therefore asking to get the library updated to avoid user confusion
Those messages do not seem to indicate an issue with the code as of now, but Python may eventually raise errors from that type mismatched comparison.
- links to
- mentioned on