deps: bump nltk to 3.10.3 (clears reported advisories) - #2
Open
katsugtgz wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
nltkto 3.10.3 to clear the advisories reported against the pinned 3.9.2, including GHSA-m4rf-3fr8-xwx3 (JVM argument injection in the Stanford wrappers, critical) and GHSA-6hwm-xvph-95vm (uncontrolled search path when invoking the Graphviz dot binary).Evidence:
requirements.txtpinnednltk==3.9.2nltk@3.9.23.10.3Validation:
nltk@3.10.3pip install --dry-run nltk==3.10.3resolves cleanly, pullingdefusedxmlas the one new dependencyfrom nltk.translate.bleu_score import sentence_bleu, SmoothingFunctioninsrc/r1-v/src/open_r1/oss_grpo_4subtol.pyand the other training scripts) was smoke tested on 3.10.3: import and asentence_bleucall both workScope:
requirements.txtonly.