brki opened a new issue, #25712: URL: https://github.com/apache/airflow/issues/25712
### Apache Airflow Provider(s) postgres ### Versions of Apache Airflow Providers apache-airflow-providers-postgres==5.0.0 ### Apache Airflow version 2.3.3 ### Operating System Debian 11 (airflow docker image) ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### What happened psycopg2-binary package is installed. ### What you think should happen instead psycopg (non-binary) package is installed. According to the [psycopg2 docs](https://www.psycopg.org/docs/install.html#psycopg-vs-psycopg-binary), says (emphasis theirs) "**For production use you are advised to use the source distribution.**". ### How to reproduce docker run -it apache/airflow:slim-2.3.3-python3.10 curl -O curl https://raw.githubusercontent.com/apache/airflow/constraints-2.3.3/constraints-3.10.txt pip install -c constraints-3.10.txt apache-airflow-providers-postgres pip freeze |grep -E '(postgres|psycopg2)' > apache-airflow-providers-postgres==5.0.0 > psycopg2-binary==2.9.3 ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
