diff --git a/environment.yml b/environment.yml index 203c9b0d7..aad477b70 100644 --- a/environment.yml +++ b/environment.yml @@ -20,7 +20,7 @@ channels: dependencies: - python>=3.9,<3.12 - importlib-metadata>=7.0.0 - - jinja2>=3.1.3 + - jinja2>=3.1.4 - pytest==7.4.0 - pytest-mock==3.11.1 - pytest-cov==4.1.0 diff --git a/src/api/Dockerfile b/src/api/Dockerfile index 869b99619..0ddc1763b 100644 --- a/src/api/Dockerfile +++ b/src/api/Dockerfile @@ -31,6 +31,7 @@ RUN rm -rf /var/lib/apt/lists/partial \ && unzip /odbc/SimbaSparkODBC-2.7.7.1016-Debian-64bit.zip -d /odbc \ && dpkg -i /odbc/simbaspark_2.7.7.1016-2_amd64.deb \ && pip install --no-cache-dir pyarrow==14.0.2 \ + && pip install --no-cache-dir numpy==1.26.4 \ && python -c "import pyarrow; pyarrow.create_library_symlinks()" \ && CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" pip install --no-cache-dir -r /requirements.txt \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* \ diff --git a/src/api/requirements.txt b/src/api/requirements.txt index 420335190..76a6f8767 100644 --- a/src/api/requirements.txt +++ b/src/api/requirements.txt @@ -6,11 +6,11 @@ pydantic==2.6.0 pyodbc==4.0.39 importlib_metadata>=1.0.0 databricks-sql-connector==2.9.3 -azure-identity==1.15.0 +azure-identity==1.17.0 oauthlib>=3.2.2 pandas>=2.0.1,<3.0.0 numpy==1.26.4 -jinja2==3.1.3 +jinja2==3.1.4 pytz==2024.1 semver==3.0.2 xlrd==2.0.1 @@ -18,6 +18,7 @@ packaging==23.2 grpcio>=1.48.1 grpcio-status>=1.48.1 googleapis-common-protos>=1.56.4 -langchain==0.1.17 +langchain>=0.2.0,<0.3.0 +langchain-community>=0.2.0,<0.3.0 openai==1.13.3 pyjwt==2.8.0 \ No newline at end of file