Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ nbclient==0.7.2
nbconvert==7.2.9
nbformat==5.7.3
nest-asyncio==1.5.6
nltk==3.8.1
nltk==3.9.3
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nltk 3.9.3 requires Python 3.10+, may break builds

High Severity

Upgrading nltk from 3.8.1 to 3.9.3 raises the minimum Python version requirement from 3.7 to 3.10. The rest of the pinned dependencies (e.g., numpy==1.24.2, scipy==1.10.0, scikit-learn==1.2.1) are from early 2023 and compatible with Python 3.8/3.9, suggesting this project may run on a Python version below 3.10. If so, this upgrade will cause installation failures.

Fix in Cursor Fix in Web

notebook==6.5.2
notebook_shim==0.2.2
numpy==1.24.2
Expand Down Expand Up @@ -118,3 +118,4 @@ webencodings==0.5.1
websocket-client==1.5.0
widgetsnbextension==4.0.5
XlsxWriter==3.0.8
tornado>=6.5.5 # not directly required, pinned by Snyk to avoid a vulnerability
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tornado uses >= pinning unlike all other dependencies

Medium Severity

The new tornado>=6.5.5 entry uses an open-ended minimum version constraint, while every other dependency in the file uses exact == pinning. This breaks build reproducibility — a future tornado 7.x release could be installed automatically and potentially break the notebook==6.5.2/terminado==0.17.1/nbclassic==0.5.1 stack, which depends on tornado internals.

Fix in Cursor Fix in Web

Loading