shahar1 opened a new pull request, #70619:
URL: https://github.com/apache/airflow/pull/70619

   The amazon executor setup guides and the Celery `result_backend` example 
tell users to configure a `postgresql+psycopg://` (psycopg3) connection string. 
Both providers declare `apache-airflow>=2.11.0`, and Airflow 2.x and 3.0.x pin 
SQLAlchemy 1.4, which has no `postgresql+psycopg` dialect at all — a user 
following those instructions gets `sqlalchemy.exc.NoSuchModuleError` at 
startup, with nothing in the docs indicating the advice was version-specific.
   
   The amazon guides are step-by-step deployment instructions where the 
connection string is pasted straight into an AWS console field, so the wrong 
value is especially easy to pick up.
   
   This switches the documented value to `postgresql+psycopg2://`, which is 
valid on every Airflow version these providers support, and moves the version 
guidance into prose so the code block stays copy-pasteable. The three amazon 
executor guides had the same block duplicated inline; they now include a single 
shared block from `general.rst`, matching how the rest of those files already 
share content.
   
   Verified with `breeze build-docs amazon celery` — both packages build 
successfully and all four affected pages render correctly.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Opus 5)
   
   Generated-by: Claude Code (Opus 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to