Uh oh!
There was an error while loading. Please reload this page.
Celery: explicitly specify psycopg2 in driverless postgres URLs - #62159
Conversation
To use the v3 driver, users should specify it explicitly: `postgresql+psycopg://...`
jscheffl
left a comment
There was a problem hiding this comment.
Looks okay but I am only 90% sure as my Celery background is... limited.
Some second eye review?
Uh oh!
There was an error while loading. Please reload this page.
Backport failed to create: v3-1-test. View the failure log Run detailsNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
You can attempt to backport this manually by running: cherry_picker b4b5417 v3-1-testThis should apply the commit to the v3-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continueIf you don't have cherry-picker installed, see the installation guide. |
…ache#62159) To use the v3 driver, users should specify it explicitly: `postgresql+psycopg://...`
…ache#62159) To use the v3 driver, users should specify it explicitly: `postgresql+psycopg://...`
This PR resolves a breaking change introduced in SQLA2.1 where the default postgres driver was changed from
psycopg2(v2) topsycopg(v3).The fix is to specify the
psycopg2driver explicitly.To use the v3 driver, users should specify it explicitly:
postgresql+psycopg://...related: #61229
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Opus 4.6 following the guidelines
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.