Skip to content
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

GH-1245: slim down dependency tree #1296

Merged
merged 6 commits into from
Nov 27, 2019
Merged

Conversation

alanakbik
Copy link
Collaborator

We want to keep list of dependencies of Flair generally small to avoid errors like #1245.

This PR removes some dependencies that are each only used for one particular feature, namely:

  • ipython and ipython-genutils, only used for visualization settings in iPython notebooks
  • tiny_tokenizer, used for Japanese tokenization (replaced with instructions for how to install for all users who want to use Japanese tokenizers)
  • pymongo, used for MongoDB datasets (replaced with instructions for how to install for all users who want to use MongoDB datasets)

It also temporarily pins the version of python-dateutil which comes in through the bpemb and transformers dependencies and currently breaks if its version exceeds 0.2.8 (see here).

@alanakbik
Copy link
Collaborator Author

👍

1 similar comment
@stefan-it
Copy link
Member

👍

@alanakbik alanakbik merged commit fa3be40 into master Nov 27, 2019
@alanakbik alanakbik deleted the GH-1245-remove-dependencies branch January 6, 2020 16:36
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