Skip to content

[Snyk] Security upgrade nltk from 3.6.3 to 3.10.0#12982

Open
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-02e19914e9c337f3d942ffbe3f28bacd
Open

[Snyk] Security upgrade nltk from 3.6.3 to 3.10.0#12982
sestinj wants to merge 1 commit into
mainfrom
snyk-fix-02e19914e9c337f3d942ffbe3f28bacd

Conversation

@sestinj

@sestinj sestinj commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • manual-testing-sandbox/requirements.txt
⚠️ Warning
typer 0.3.2 has requirement click<7.2.0,>=7.1.1, but you have click 8.1.8.
thinc 8.0.17 requires murmurhash, which is not installed.
thinc 8.0.17 requires preshed, which is not installed.
thinc 8.0.17 requires cymem, which is not installed.
spacy 3.1.2 requires cymem, which is not installed.
spacy 3.1.2 requires preshed, which is not installed.
spacy 3.1.2 requires murmurhash, which is not installed.
qtconsole 5.4.4 requires pyzmq, which is not installed.
notebook 6.5.7 requires pyzmq, which is not installed.
jupyter-server 1.24.0 requires pyzmq, which is not installed.
jupyter-console 6.6.3 requires pyzmq, which is not installed.
jupyter-client 7.4.9 requires pyzmq, which is not installed.
ipykernel 6.16.2 requires pyzmq, which is not installed.
exceptiongroup 1.3.1 has requirement typing-extensions>=4.6.0; python_version < "3.13", but you have typing-extensions 3.10.0.2.

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-NLTK-17356385
@sestinj

sestinj commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This upgrade of NLTK from version 3.6.3 to 3.10.0 introduces several changes that require verification, including a drop in Python version support and a behavioral change in WordNet.

Key Changes:

  • Python Version: Support for Python 3.6 was dropped in NLTK version 3.7. [1, 3] Projects running on Python 3.6 must be upgraded to a supported version (Python 3.7+). [6]
  • WordNet Sorting: Starting with version 3.9, WordNet functions that return synsets and relations no longer sort them by default. [1, 3] Code that relies on the previously sorted output must be updated to explicitly sort the results.
  • METEOR Evaluation: In version 3.6.5, the METEOR evaluation function was changed to require pre-tokenized input. [1]

Recommendation:
Verify that your project is running on Python 3.7 or newer. Review any code that uses WordNet to ensure that the change in default sorting does not affect its behavior. If you use the METEOR evaluation module, confirm that your inputs are pre-tokenized.

Source: NLTK Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@sestinj
sestinj requested a review from a team as a code owner July 13, 2026 08:10
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants