google providers 10.19.0 bigquery operators directly depends on openlineage package #40043
Closed
2 tasks done
Labels
area:dependencies
Issues related to dependencies problems
area:providers
kind:bug
This is a clearly a bug
provider:google
Google (including GCP) related issues
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
10.19.0
Apache Airflow version
2.7.0+
Operating System
linux
Deployment
Google Cloud Composer
Deployment details
No response
What happened
pull/39614 refactored
_BigQueryOpenLineageMixin
and nowbigquery
operators directly import fromopenlineage
package, even when Open Lineage provider is not installed, so importing any BigQuery operator fails withImportError
I can create the PR to fix it
What you think should happen instead
Imports should happen lazily, only when
get_openlineage_facets_on_complete
is called.How to reproduce
Install Google Providers package 10.19.0 without
openlineage
package installedAnything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: