style95 commented on pull request #5033:
URL: https://github.com/apache/openwhisk/pull/5033#issuecomment-744015539


   It seems flake8 is failed to run.
   
   ```
   Flake8: first round (fast fail) stops the build if there are any Python 3 
syntax errors...
   Traceback (most recent call last):
     File "/home/travis/.local/bin/flake8", line 7, in <module>
       from flake8.main.cli import main
     File "/home/travis/.local/lib/python3.5/site-packages/flake8/main/cli.py", 
line 5, in <module>
       from flake8.main import application
     File 
"/home/travis/.local/lib/python3.5/site-packages/flake8/main/application.py", 
line 11, in <module>
       from flake8 import checker
     File "/home/travis/.local/lib/python3.5/site-packages/flake8/checker.py", 
line 18, in <module>
       from flake8 import processor
     File 
"/home/travis/.local/lib/python3.5/site-packages/flake8/processor.py", line 13, 
in <module>
       from flake8 import utils
     File "/home/travis/.local/lib/python3.5/site-packages/flake8/utils.py", 
line 16, in <module>
       from flake8._compat import lru_cache
     File "/home/travis/.local/lib/python3.5/site-packages/flake8/_compat.py", 
line 12, in <module>
       import importlib_metadata
     File 
"/home/travis/.local/lib/python3.5/site-packages/importlib_metadata/__init__.py",
 line 43, in <module>
       class PackageNotFoundError(ModuleNotFoundError):
   NameError: name 'ModuleNotFoundError' is not defined
   ```
   
   `importlib_metadata` has changed to submodule(`importlib.metadata`) since 
python3.8 and I suspect there are some issues in the flake8 though we are using 
python3.5 in Travis.
   
   I think we can try to use python3.8 to clarify the issue.
   
   
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to