Skip to content

Surpress a DeprecationWarning about pkg_resource from jieba. #1492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2025

Conversation

otakutyrant
Copy link

Fix #1490

jieba has been unmaintained for five years, so it impossible to fix it in the upstream. This fix just ignores the warning explicitly.

@AngledLuffa
Copy link
Collaborator

AngledLuffa commented May 17, 2025 via email

@AngledLuffa
Copy link
Collaborator

I feel like this is a ticking time bomb which will one day fail when jieba is deprecated... but I suppose the unit test will tell us when that happens

@AngledLuffa AngledLuffa merged commit 0afdb61 into stanfordnlp:dev May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants