You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/01/14 07:32:01 UTC

[GitHub] [airflow] Bowrna commented on pull request #20848: Static check in Breeze2

Bowrna commented on pull request #20848:
URL: https://github.com/apache/airflow/pull/20848#issuecomment-1012845050


   @potiuk I face the below issue when i am trying to import black. Could you help me debug this issue?
   
   ```Traceback (most recent call last):
     File "./scripts/ci/pre_commit/pre_commit_check_pre_commit_hook_names.py", line 153, in <module>
       sys.exit(main())
     File "./scripts/ci/pre_commit/pre_commit_check_pre_commit_hook_names.py", line 46, in main
       prepare_pre_commit_ids_py_file(context)
     File "./scripts/ci/pre_commit/pre_commit_check_pre_commit_hook_names.py", line 150, in prepare_pre_commit_ids_py_file
       pre_commit_ids_file.write(black_format(get_precommit_id_content))
     File "./scripts/ci/pre_commit/pre_commit_check_pre_commit_hook_names.py", line 131, in black_format
       from black import format_str
     File "/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/black/__init__.py", line 13, in <module>
       import regex as re
     File "/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/__init__.py", line 1, in <module>
       from .regex import *
     File "/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/regex.py", line 419, in <module>
       import regex._regex_core as _regex_core
     File "/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/_regex_core.py", line 21, in <module>
       import regex._regex as _regex
   ImportError: dlopen(/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so, 2): no suitable image found.  Did find:
   	/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so: code signature in (/Users/sathishkannan/.pyenv/versions/airflow-env/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so) not valid for use in process using Library Validation: Trying to load an unsigned library
   	```


-- 
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@airflow.apache.org

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