The GitHub Actions job "Tests (AMD)" on airflow.git/psycopg3-sync-google has 
succeeded.
Run started by GitHub user Dev-iL (triggered by Dev-iL).

Head commit for run:
9a9bd3d80f7e34d8b3a102f6a41c242080b297c1 / Dev-iL 
<[email protected]>
Guard bigquery_to_postgres's psycopg2-specific adapter registration

register_adapter(list/dict, Json) is psycopg2-specific and previously
ran unconditionally, forcing psycopg2 to be importable even when the
resolved PostgresHook connection is on psycopg3 (a no-op there). Only
import and call it when PostgresHook is actually on the psycopg2 path,
so the module imports cleanly without psycopg2 installed.

Note cross-branch dependency on the postgres provider's guard fix

This guard only makes bigquery_to_postgres.py import cleanly without
psycopg2 once apache-airflow-providers-postgres itself stops
hard-requiring psycopg2 (a separate, independently-branched fix for
the same migration). Document that dependency at the import site.

Also fixes the absence-simulation test's finally block, which was
reimporting the module while the fake absence was still monkeypatched,
leaving it cached in a degraded state for the rest of the test session.

Part of the migration tracked in apache/airflow#68453.

Report URL: https://github.com/apache/airflow/actions/runs/28818546926

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to