[ 
https://issues.apache.org/jira/browse/AIRFLOW-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033555#comment-17033555
 ] 

ASF GitHub Bot commented on AIRFLOW-6766:
-----------------------------------------

potiuk commented on pull request #7393: [AIRFLOW-6766] Fix "cannot import 
ensure_text" error for pre-commit
URL: https://github.com/apache/airflow/pull/7393
 
 
   
 
----------------------------------------------------------------
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]


> Static checks fail on travis with import error
> ----------------------------------------------
>
>                 Key: AIRFLOW-6766
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6766
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: ci
>    Affects Versions: 2.0.0
>            Reporter: Jarek Potiuk
>            Priority: Major
>
> 2.25s$ ./scripts/ci/ci_run_all_static_checks.sh
> [INFO] Initializing environment for 
> https://github.com/Lucas-C/pre-commit-hooks.
> [INFO] Initializing environment for https://github.com/thlorenz/doctoc.git.
> [INFO] Initializing environment for 
> https://github.com/pre-commit/pre-commit-hooks.
> [INFO] Initializing environment for 
> https://github.com/pre-commit/pygrep-hooks.
> [INFO] Initializing environment for local:yamllint.
> [INFO] Initializing environment for local:isort.
> [INFO] Initializing environment for local.
> [INFO] Initializing environment for local:pyyaml.
> [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks.
> [INFO] Once installed this environment will be reused.
> [INFO] This may take a few minutes...
> An unexpected error has occurred: CalledProcessError: command: 
> ('/usr/bin/python', '-mvirtualenv', 
> '/home/travis/.cache/pre-commit/repoCr7zyZ/py_env-python3', '-p', 'python3')
> return code: 1
> expected return code: 0
> stdout: (none)
> stderr:
>  ERROR:root:ImportError: cannot import name ensure_text
>  
> Check the log at /home/travis/.cache/pre-commit/pre-commit.log



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to