Skip to content

Commit 4b4de73

Browse files
authored
upgrade pacakge dependencies (#921)
Signed-off-by: cching95 <chloe.ching@shell.com>
1 parent 3154205 commit 4b4de73

3 files changed

Lines changed: 22 additions & 16 deletions

File tree

environment.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ channels:
1919
- defaults
2020
dependencies:
2121
- python>=3.9,<3.13
22-
- importlib-metadata>=7.0.0
23-
- jinja2>=3.1.5
22+
- importlib-metadata>=7.0.0,<9.0.0
23+
- jinja2>=3.1.5,<4.0.0
2424
- pytest==7.4.0
2525
- pytest-mock==3.11.1
2626
- pytest-cov==4.1.0
@@ -40,8 +40,10 @@ dependencies:
4040
- httpx>=0.24.1,<1.0.0
4141
- pyspark>=3.3.0,<3.6.0
4242
- delta-spark>=2.2.0,<3.3.0
43-
- grpcio>=1.48.1
44-
- grpcio-status>=1.48.1
43+
- pyarrow>=14.0.1,<17.0.0
44+
- libarrow>=14.0.1,<17.0.0
45+
- grpcio>=1.48.1,<1.63.0
46+
- grpcio-status>=1.48.1,<1.63.0
4547
- googleapis-common-protos>=1.56.4
4648
- openjdk>=11.0.15,<12.0.0
4749
- openai>=1.59.0,<2.0.0
@@ -70,8 +72,11 @@ dependencies:
7072
- great-expectations>=0.18.8,<1.0.0
7173
- statsmodels>=0.14.1,<0.15.0
7274
- pmdarima>=2.0.4
73-
- protobuf>=5.28.2,<5.29.0
7475
- pip:
76+
# protobuf installed via pip to avoid libabseil conflicts with conda libarrow
77+
- protobuf>=5.29.0,<5.30.0
78+
# pyarrow constraint must match conda version to avoid upgrades
79+
- pyarrow>=14.0.1,<17.0.0
7580
- databricks-sdk>=0.59.0,<1.0.0
7681
- dependency-injector>=4.41.0,<5.0.0
7782
- azure-functions>=1.20.0,<2.0.0

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
long_description = (here / "PYPI-README.md").read_text()
2929

3030
INSTALL_REQUIRES = [
31-
"databricks-sql-connector>=3.1.0,<3.7.0",
31+
"databricks-sql-connector>=3.6.0,<3.7.0",
3232
"pyarrow>=14.0.1,<17.0.0",
33-
"azure-identity>=1.12.0,<2.0.0",
33+
"azure-identity>=1.20.0,<2.0.0",
3434
"pandas>=2.0.1,<2.3.0",
3535
"jinja2>=3.1.5,<4.0.0",
36-
"importlib_metadata>=7.0.0,<8.0.0",
36+
"importlib_metadata>=7.0.0,<9.0.0",
3737
"semver>=3.0.0,<4.0.0",
3838
"xlrd>=2.0.1,<3.0.0",
39-
"grpcio>=1.48.1",
40-
"grpcio-status>=1.48.1",
39+
"grpcio>=1.48.1,<1.63.0",
40+
"grpcio-status>=1.48.1,<1.63.0",
4141
"googleapis-common-protos>=1.56.4",
42-
"pydantic>=2.6.0,<3.0.0",
43-
"protobuf>=5.28.2,<5.29.0",
42+
"pydantic>=2.10.0,<3.0.0",
43+
"protobuf>=5.29.0,<5.30.0",
4444
]
4545

4646
LANGCHAIN_PACKAGES = [

src/api/requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,22 @@ fastapi==0.115.6
44
pydantic==2.10.0
55
# turbodbc==4.11.0
66
pyodbc==5.2.0
7-
importlib_metadata>=7.0.0
7+
importlib_metadata>=7.0.0,<9.0.0
88
databricks-sql-connector==3.6.0
99
azure-identity==1.20.0
1010
oauthlib>=3.2.2
1111
pandas>=2.0.1,<2.3.0
1212
numpy==1.26.4
13+
pyarrow>=14.0.1,<17.0.0
1314
jinja2==3.1.5
1415
pytz==2024.2
1516
semver==3.0.2
1617
xlrd==2.0.1
1718
packaging==24.2
18-
grpcio>=1.48.1
19-
grpcio-status>=1.48.1
19+
grpcio>=1.48.1,<1.63.0
20+
grpcio-status>=1.48.1,<1.63.0
2021
googleapis-common-protos>=1.56.4
21-
protobuf>=5.28.2,<5.29.0
22+
protobuf>=5.29.0,<5.30.0
2223
langchain>=0.3.27,<0.4.0
2324
langchain-community>=0.3.27,<0.4.0
2425
langchain-core>=0.3.28,<0.4.0

0 commit comments

Comments
 (0)