[I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
RonaldGalea opened a new issue, #35255: URL: https://github.com/apache/airflow/issues/35255 ### Apache Airflow version 2.7.2 ### What happened I tried to use the slim docker image version for running dockerized airflow, as explained in the [docs](https://airflow.apach

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-11-10 Thread via GitHub
christophelec commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1806221998 @potiuk, I made the same mistake as @RonaldGalea, and the exact sentence that gave me the wrong assumption is this one : `Slim Airflow image, which is a minimal image,

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-11-10 Thread via GitHub
potiuk commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1806290783 > This made me assume all required dependencies to communicate with a psql database were installed on a slim image That's wrong assumption. The clients mentioned are on the sy

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-11-10 Thread via GitHub
potiuk commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1806291930 Will you accept the challeng @christophelec ? -- 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

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-11-10 Thread via GitHub
christophelec commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1806535208 That's a fair comment, I'm looking into it now. However I don't find a way to update the documentation properly because I'm still a bit confused about the slim image :

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-11-11 Thread via GitHub
potiuk commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1806743084 Well, it's not obvious - that's why we are having that discussion in the first place. Since you are asking, I will provide you very detailed answer, from which you understand WHY it

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
Taragolis commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1784195520 That is expected that is why it is a slim image. You need provide additional dependencies (Debian or/and Python packages) by your own -- This is an automated message from t

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
Taragolis closed issue #35255: Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' URL: https://github.com/apache/airflow/issues/35255 -- 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

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
RonaldGalea commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1784212443 > That is expected that is why it is a slim image. > You need provide additional dependencies (Debian or/and Python packages) by your own I thought it should have enou

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
Taragolis commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1784250033 It have enough dependency to start with SQLite and Sequential executor, this is not suitable for production, but for support all DB backends it would be required also drivers for

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-29 Thread via GitHub
potiuk commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1784280819 > > That is expected that is why it is a slim image. > > You need provide additional dependencies (Debian or/and Python packages) by your own > > I thought it should have e

Re: [I] Issue with slim image: ModuleNotFoundError: No module named 'psycopg2' [airflow]

2023-10-30 Thread via GitHub
RonaldGalea commented on issue #35255: URL: https://github.com/apache/airflow/issues/35255#issuecomment-1785516823 I thought there could be something wrong with the image given that it was also complaining about Airflow being too old (`ERROR!!!: Too old Airflow version !`). Regarding