-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
quay-v3.10.0, quay-v3.11.0, quay-v3.12.0, quay-v3.13.0
With current Quay version (3.13) the startup logs have a lot of "SyntaxWarning" messages which may scare users.
/app/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="? quotatotalworker stderr | /app/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="? manifestsubjectbackfillworker stderr | /app/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="? reconciliationworker stderr | /app/lib/python3.9/site-packages/netaddr/strategy/__init__.py:189: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Several components raising such warning and a check on the upstream netaddr git-repo has a fix and PyPI repo has version 1.3.0 of netaddr which includes that fix.
requirements.txt still lists "netaddr==0.7.19" 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.