Skip to content

Commit eb6363f

Browse files
committed
chore: upgrade dependencied: pymongo, nicegui, black
pymongo upgrade is needed for security
1 parent 20145bb commit eb6363f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

odtp/mongodb/db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_collection(collection):
4444
with MongoClient(ODTP_MONGO_SERVER) as client:
4545
db = client[ODTP_MONGO_DB]
4646
cursor = db[collection].find({})
47-
return mongodb_utils.get_list_from_cursor(cursor)
47+
return mongodb_utils.get_list_from_cursor(cursor)
4848

4949

5050
def get_all_collections():

pyproject.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = "README.md"
1010
python = "^3.11"
1111
pydantic = "2.5.2"
1212
typer = "0.9.0"
13-
pymongo = "3.12.0"
13+
pymongo = ">=4.6.3"
1414
python-dotenv = "^1.0.0"
1515
boto3 = "^1.33.13"
1616
barfi = "^0.7.0"
@@ -19,12 +19,12 @@ st-pages = "^0.4.5"
1919
streamlit-card = "^1.0.0"
2020
pygwalker = "^0.3.17"
2121
streamlit-aggrid = "^0.3.4.post3"
22-
nicegui = "1.4.22"
22+
nicegui = "1.4.24"
2323
directory-tree = "^0.0.4"
2424

2525
[tool.poetry.group.dev.dependencies]
2626
pytest = "^7.2.1"
27-
black = "^23.12.1"
27+
black = ">=24.3.0"
2828
isort = "^5.13.2"
2929

3030
[build-system]

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# List of packages required by this module
1515
'pydantic==2.5.2',
1616
'typer==0.9.0',
17-
'pymongo==3.12.0'
17+
'pymongo>=4.6.3',
1818
],
1919
classifiers=[
2020
# Trove classifiers

0 commit comments

Comments
 (0)