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/08/08 09:58:49 UTC

[GitHub] [airflow] sushi30 opened a new issue, #25595: ModuleNotFoundError: No module named 'sqlparse'

sushi30 opened a new issue, #25595:
URL: https://github.com/apache/airflow/issues/25595

   ### Apache Airflow version
   
   Other Airflow 2 version
   
   ### What happened
   
   ```python
   Broken DAG: [/opt/airflow/dags/my_dag.py] Traceback (most recent call last):
     File "/opt/airflow/lib/operators/trino.py", line 5, in <module>
       from airflow.providers.trino.hooks.trino import TrinoHook as BaseTrinoHook
     File "/home/airflow/.local/lib/python3.8/site-packages/airflow/providers/trino/hooks/trino.py", line 25, in <module>
       import sqlparse
   ModuleNotFoundError: No module named 'sqlparse'
   ```
   
   ### What you think should happen instead
   
   Import should succeed
   
   ### How to reproduce
   
   Install trino hook provider 3.1.0
   
   ```shell
   pip install apache-airflow-providers-trino==3.1.0
   ```
   
   ### Operating System
   
   linux
   
   ### Versions of Apache Airflow Providers
   
   2.2.2
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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

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


[GitHub] [airflow] potiuk closed issue #25595: ModuleNotFoundError: No module named 'sqlparse'

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #25595: ModuleNotFoundError: No module named 'sqlparse'
URL: https://github.com/apache/airflow/issues/25595


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


[GitHub] [airflow] potiuk commented on issue #25595: ModuleNotFoundError: No module named 'sqlparse'

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #25595:
URL: https://github.com/apache/airflow/issues/25595#issuecomment-1207920713

   Thanks. This is already fixed in new version of the common-sql provider that is coming out shortly https://github.com/apache/airflow/pull/23971


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