GitHub user mohamedmeqlad99 added a comment to the discussion: TypeError when importing operators from airflow.providers.google.cloud.operators.dataproc
I think that Airflow's Google provider package is using code that is incompatible with Python 3.12. This is likely due to changes in Python 3.12 affecting the exec() function or types.CodeType I suggest Downgrade to Python 3.10 or 3.11 GitHub link: https://github.com/apache/airflow/discussions/46478#discussioncomment-12072300 ---- This is an automatically sent email for commits@airflow.apache.org. To unsubscribe, please send an email to: commits-unsubscr...@airflow.apache.org