You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/02/22 02:46:01 UTC

[GitHub] [hadoop] aajisaka edited a comment on pull request #2709: HADOOP-16748. Migrate to Python 3 and upgrade Yetus to 0.13.0 (branch-3.3)

aajisaka edited a comment on pull request #2709:
URL: https://github.com/apache/hadoop/pull/2709#issuecomment-782990541


   https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2709/2/artifact/out/patch-pylint-stderr.txt
   ```
   Traceback (most recent call last):
     File "/usr/local/bin/pylint", line 11, in <module>
       sys.exit(run_pylint())
     File "/usr/local/lib/python3.5/dist-packages/pylint/__init__.py", line 19, in run_pylint
       from pylint.lint import Run as PylintRun
     File "/usr/local/lib/python3.5/dist-packages/pylint/lint/__init__.py", line 75, in <module>
       from pylint.lint.check_parallel import check_parallel
     File "/usr/local/lib/python3.5/dist-packages/pylint/lint/check_parallel.py", line 7, in <module>
       from pylint import reporters
     File "/usr/local/lib/python3.5/dist-packages/pylint/reporters/__init__.py", line 24, in <module>
       from pylint import utils
     File "/usr/local/lib/python3.5/dist-packages/pylint/utils/__init__.py", line 47, in <module>
       from pylint.utils.ast_walker import ASTWalker
     File "/usr/local/lib/python3.5/dist-packages/pylint/utils/ast_walker.py", line 6, in <module>
       from astroid import nodes
     File "/usr/local/lib/python3.5/dist-packages/astroid/__init__.py", line 66, in <module>
       from astroid.nodes import *
     File "/usr/local/lib/python3.5/dist-packages/astroid/nodes.py", line 91, in <module>
       from astroid.scoped_nodes import (
     File "/usr/local/lib/python3.5/dist-packages/astroid/scoped_nodes.py", line 48, in <module>
       from astroid.interpreter import objectmodel
     File "/usr/local/lib/python3.5/dist-packages/astroid/interpreter/objectmodel.py", line 818
       f"Unable to find the setter of property {func.function.name}"
                                                                   ^
   SyntaxError: invalid syntax
   ```
   
   https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2709/2/console
   ```
   19:33:54  #16 2.970 Collecting astroid<=2.5,>=2.4.0 (from pylint==2.6.0)
   19:33:54  #16 3.135   Downloading https://files.pythonhosted.org/packages/ff/f0/2364d469327ffef8ee1964a5995f8206fd22fcfa57f2618498f8b963329f/astroid-2.5-py3-none-any.whl (220kB)
   ```
   
   The Python version is 3.5 in Ubuntu 16.04 (xenial). However, astroid 2.5 requires Python 3.6+. I think we have to fix the version of astroid.


----------------------------------------------------------------
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org