You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/09/29 02:37:08 UTC

[GitHub] [incubator-kvrocks] 17998384 opened a new issue, #927: Can not build use x.py

17998384 opened a new issue, #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues.
   
   
   ### Version
   
   2.1.0
   
   ### Minimal reproduce step
   
   The following error is displayed when using./x.py build
   
   ### What did you expect to see?
   
   I want the build to succeed
   
   ### What did you see instead?
   
   `[x@xx incubator-kvrocks-2.1.0]$ ./x.py build
     File "./x.py", line 59
       """
         ^
   SyntaxError: invalid syntax
   `
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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: issues-unsubscribe@kvrocks.apache.org.apache.org

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


[GitHub] [incubator-kvrocks] 17998384 commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
17998384 commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261688071

   This can be resolved using python3.6 or higher


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] PragmaTwice commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
PragmaTwice commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261688415

   Good catch! Maybe we should add a notice or something for users to limit the minimum version of python. cc @tisonkun @git-hulk 


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] 17998384 commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
17998384 commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261687905

   This can be resolved using python3.6 or higher


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] PragmaTwice commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
PragmaTwice commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261669703

   Which python version do you use? We support only python 3+.


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] PragmaTwice commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
PragmaTwice commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261675989

   I will try to reproduce it with python 3.4. You can use more recent version to build it, such as python 3.9 or 3.10.


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] 17998384 closed issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
17998384 closed issue #927: Can not build use x.py
URL: https://github.com/apache/incubator-kvrocks/issues/927


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] 17998384 commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
17998384 commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261673436

   > Which python version are you using? We support only python 3+.
   I use python version is 3.4
   


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] 17998384 commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
17998384 commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1261683159

   > I will try to reproduce it with python 3.4. You can use more recent version to build it, such as python 3.9 or 3.10. Or you can use x.py in the unstable branch.
   
   OK,I think I know what the problem is. Strings starting with f are only supported after python3.6. Thank you for answering my question


-- 
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: issues-unsubscribe@kvrocks.apache.org

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


[GitHub] [incubator-kvrocks] tisonkun commented on issue #927: Can not build use x.py

Posted by GitBox <gi...@apache.org>.
tisonkun commented on issue #927:
URL: https://github.com/apache/incubator-kvrocks/issues/927#issuecomment-1262688639

   @PragmaTwice perhaps read the version by `platform.python_version()` or `sys.version_info`, failed if version not match. Then the script is self-explained.


-- 
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: issues-unsubscribe@kvrocks.apache.org

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