Skip to content

Move nltk to an optional dependency #769

@benglewis

Description

@benglewis

Is your feature request related to a problem? Please describe.
Currently nltk has an active vulnerability of CVE-2025-14009

Describe the solution you'd like
It would be great if users that aren't using NLP features in Label Studio could avoid installing it.

Describe alternatives you've considered

  • Not installing Label Studio - not suitable for us.
  • Waiting for the next nltk release (we can do this, but it isn't ideal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions