From c86cd4af75c1a812f45dd538ba2cad9855c577af Mon Sep 17 00:00:00 2001 From: Vitor Bellini Date: Fri, 5 Apr 2024 11:21:16 -0300 Subject: [PATCH] set libs version, update typing_extensions --- Dockerfile | 17 ++++++++++------- requirements-cdata-dags.txt | 3 ++- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00c6849..a354dc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN apt-get update \ unzip \ git \ && curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add --no-tty - \ - && curl https://packages.microsoft.com/config/debian/10/prod.list > /etc/apt/sources.list.d/mssql-release.list \ + && curl https://packages.microsoft.com/config/debian/11/prod.list > /etc/apt/sources.list.d/mssql-release.list \ && apt-get update -yqq \ && ACCEPT_EULA=Y apt-get install -yqq msodbcsql17 mssql-tools \ && sed -i 's,^\(MinProtocol[ ]*=\).*,\1'TLSv1.0',g' /etc/ssl/openssl.cnf \ @@ -47,15 +47,18 @@ COPY requirements-uninstall.txt . COPY requirements-cdata-dags.txt . RUN pip uninstall -y -r requirements-uninstall.txt && \ - pip install --no-cache-dir --user -r requirements-cdata-dags.txt && \ pip install --no-cache-dir --user -r \ https://raw.githubusercontent.com/gestaogovbr/Ro-dou/main/requirements.txt && \ pip install --no-cache-dir --user \ - apache-airflow[jdbc,microsoft.mssql,samba,odbc,sentry] \ - apache-airflow-providers-docker \ - apache-airflow-providers-common-sql \ - apache-airflow-providers-telegram \ - acryl-datahub-airflow-plugin==0.10.4 + apache-airflow-providers-jdbc==4.1.0 \ + apache-airflow-providers-microsoft-mssql==3.5.0 \ + apache-airflow-providers-samba==4.3.0 \ + apache-airflow-providers-odbc==4.1.0 \ + apache-airflow-providers-docker==3.8.0 \ + apache-airflow-providers-common-sql==1.8.0 \ + apache-airflow-providers-telegram==4.2.0 \ + acryl-datahub-airflow-plugin==0.10.4 && \ + pip install --no-cache-dir --user -r requirements-cdata-dags.txt ARG dev_build="false" RUN \ diff --git a/requirements-cdata-dags.txt b/requirements-cdata-dags.txt index 19312a6..bf5f1cd 100644 --- a/requirements-cdata-dags.txt +++ b/requirements-cdata-dags.txt @@ -3,7 +3,8 @@ ctds==1.12.0 tqdm==4.60.0 py-trello==0.17.1 frictionless==5.11.1 -great-expectations==0.17.2 +great-expectations==0.18.9 +typing_extensions==4.11.0 openpyxl==3.0.7 Office365-REST-Python-Client==2.3.14 geopandas==0.12.2