You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2021/12/05 16:40:12 UTC

[GitHub] [incubator-heron] windhamwong opened a new issue #3742: Python 3.8 has warning with library kazoo 2.7.0

windhamwong opened a new issue #3742:
URL: https://github.com/apache/incubator-heron/issues/3742


   I think we got another bug here. As the Python version using is 3.8 under your pr branch, it warns the Python library kazoo (used in zookeeper connection). Heron Tracker uses kazoo 2.7.0 but Python 3.8 is not compatible with it and has to upgrade kazoo to 2.8.0. 
   Warning:
   ```
   /root/.pex/installed_wheels/6e40458c80f1b6a2bb9c38603c9fe8a17f0aa169/kazoo-2.7.0-py2.py3-none-any.whl/kazoo/protocol/serialization.py:114: SyntaxWarning: "is"
    with a literal. Did you mean "=="?
     read_only = bool_struct.unpack_from(bytes, offset)[0] is 1
   /root/.pex/installed_wheels/6e40458c80f1b6a2bb9c38603c9fe8a17f0aa169/kazoo-2.7.0-py2.py3-none-any.whl/kazoo/protocol/serialization.py:449: SyntaxWarning: "is" with a literal. Did you mean "=="?
   ```
   
   Shall have another PR for this :D
   
   _Originally posted by @windhamwong in https://github.com/apache/incubator-heron/issues/3741#issuecomment-986241599_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@heron.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-heron] nicknezis closed issue #3742: Python 3.8 has warning with library kazoo 2.7.0

Posted by GitBox <gi...@apache.org>.
nicknezis closed issue #3742:
URL: https://github.com/apache/incubator-heron/issues/3742


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@heron.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org