Skip to content

Commit e86350b

Browse files
authored
Merge pull request #141 from datakind/fix/pinning-deps
fix/pinning dependencies in pyproject
2 parents a03adff + c4657e0 commit e86350b

3 files changed

Lines changed: 1851 additions & 1801 deletions

File tree

pyproject.toml

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,41 @@ requires-python = ">=3.10,<3.13"
77
dependencies = [
88
"databricks-sdk~=0.38.0",
99
"pydantic~=2.10",
10-
"fastapi[standard]>=0.115.4",
11-
"google-cloud>=0.34.0",
12-
"google-cloud-storage>=2.18.2",
13-
"paramiko>=3.5.0",
14-
"cloud-sql-python-connector[pymysql]>=1.14.0",
15-
"sqlalchemy>=2.0.36",
16-
"pyjwt>=2.10.1",
17-
"passlib>=1.7.4",
18-
"bcrypt>=4.2.0",
19-
"crypto>=1.4.1",
20-
"python-dotenv>=1.0.1",
21-
"strenum>=0.4.15",
10+
"fastapi[standard]~=0.115.4",
11+
"google-cloud-storage~=2.18.2",
12+
"paramiko~=3.5.0",
13+
"cloud-sql-python-connector[pymysql]~=1.14.0",
14+
"sqlalchemy~=2.0.36",
15+
"pyjwt~=2.10.1",
16+
"passlib~=1.7.4",
17+
"bcrypt~=4.2.0",
18+
"pycryptodome~=3.20.0",
19+
"python-dotenv~=1.0.1",
20+
"strenum~=0.4.15",
2221
"tomli~=2.0; python_version<'3.11'",
23-
"jsonpickle>=4.0.1",
24-
"requests>=2.0.0",
25-
"types-requests",
26-
"types-paramiko",
27-
"pandas",
28-
"six",
29-
"types-six",
30-
"fuzzywuzzy",
31-
"databricks-sql-connector",
22+
"jsonpickle~=4.0.1",
23+
"requests~=2.32.0",
24+
"types-requests~=2.32.0.0",
25+
"types-paramiko~=3.5.0.0",
26+
"pandas~=2.0",
27+
"six~=1.16.0",
28+
"thefuzz[speedup]~=0.22.1",
29+
"databricks-sql-connector~=3.5.0",
3230
"pandera~=0.13",
33-
"mlflow"
31+
"mlflow~=2.15.0"
3432
]
3533

3634
[project.urls]
3735
Repository = "https://github.com/datakind/sst-app-api"
3836

3937
[dependency-groups]
4038
dev = [
41-
"black>=25.1.0",
42-
"coverage>=7.6.9",
39+
"black~=25.1.0",
40+
"coverage~=7.6.9",
4341
"ipykernel~=6.29",
4442
"jupyterlab~=4.2",
4543
"mypy~=1.11",
46-
"pylint>=3.3.2",
44+
"pylint~=3.3.2",
4745
"pytest~=8.3",
4846
"ruff~=0.8",
4947
]

src/webapp/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import pandas as pd
1313
from pandera import Column, Check, DataFrameSchema
1414
from pandera.errors import SchemaErrors
15-
from fuzzywuzzy import fuzz
15+
from thefuzz import fuzz
1616

1717

1818
def validate_file_reader(

0 commit comments

Comments
 (0)