Skip to content

Commit

Permalink
Bump NLTK to version 3.9.1 to fix CVE-2024-39705.
Browse files Browse the repository at this point in the history
  • Loading branch information
ausmaster committed Sep 24, 2024
1 parent 96eacd3 commit 140167c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pymongo~=4.7.2
requests~=2.32.2
nltk~=3.8.2
nltk~=3.9.1
rapidfuzz~=3.9.3
dnspython>=2.6.1 # not directly required, pinned by Snyk to avoid a vulnerability
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
4 changes: 2 additions & 2 deletions vaultlib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def __init__(self, config_path: str = "config.json") -> None:
self.conn_retry_delay_mult: int = 3
# Number of threads used to fetch API data
self.fetch_threads: int = 3
# NLTK "Punkt" Pre-trained model URL
self.punkt_url: str = "punkt"
# NLTK "Punkt Tab" Pre-trained model URL
self.punkt_url: str = "punkt_tab"

# All Config values from config.json are converted from camelCase to snake_case
# overrides instance variable if exists
Expand Down

0 comments on commit 140167c

Please sign in to comment.