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

Spacy is a dependency, despite seemingly not being used or supported #66

Open
ghost opened this issue Feb 18, 2021 · 0 comments
Open

Spacy is a dependency, despite seemingly not being used or supported #66

ghost opened this issue Feb 18, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 18, 2021

Hi,

I noticed in this comment here that Spacy support has been removed (though I could be interpreting that wrong).

Does this mean it can be removed as a dependency? If so, that would be much appreciated, as it seems to carry a lot of transient dependencies, and also being a Cython extension library only providing manylinux2014 wheels, can be difficult to install on certain platforms.

For reference, this is the dependency tree of anchor-exp 0.0.1.2. As you can see, removing spacy (if possible) would clean this up a lot.

anchor-exp 0.0.1.2 Anchor explanations for machine learning models
|-- lime *
|   |-- matplotlib *
|   |   |-- cycler >=0.10
|   |   |   `-- six *
|   |   |-- kiwisolver >=1.0.1
|   |   |-- numpy >=1.10.0
|   |   |-- pyparsing >=2.0.1,<2.0.4 || >2.0.4,<2.1.2 || >2.1.2,<2.1.6 || >2.1.6
|   |   `-- python-dateutil >=2.1
|   |       `-- six >=1.5 (circular dependency aborted here)
|   |-- numpy * (circular dependency aborted here)
|   |-- progressbar *
|   |-- scikit-image >=0.12
|   |-- scikit-learn >=0.18
|   |   |-- joblib >=0.11
|   |   |-- numpy >=1.13.3 (circular dependency aborted here)
|   |   |-- scipy >=0.19.1
|   |   |   `-- numpy >=1.14.5 (circular dependency aborted here)
|   |   `-- threadpoolctl >=2.0.0
|   `-- scipy * (circular dependency aborted here)
|-- numpy *
|-- scikit-learn >=0.22
|   |-- joblib >=0.11
|   |-- numpy >=1.13.3
|   |-- scipy >=0.19.1
|   |   `-- numpy >=1.14.5 (circular dependency aborted here)
|   `-- threadpoolctl >=2.0.0
|-- scipy *
|   `-- numpy >=1.14.5
`-- spacy *
    |-- blis >=0.4.0,<0.8.0
    |   `-- numpy >=1.15.0
    |-- catalogue >=2.0.1,<2.1.0
    |   `-- importlib-metadata >=0.20
    |       |-- typing-extensions >=3.6.4
    |       `-- zipp >=0.5
    |-- cymem >=2.0.2,<2.1.0
    |-- importlib-metadata >=0.20 (circular dependency aborted here)
    |-- jinja2 *
    |   `-- markupsafe >=0.23
    |-- murmurhash >=0.28.0,<1.1.0
    |-- numpy >=1.15.0 (circular dependency aborted here)
    |-- packaging >=20.0
    |   `-- pyparsing >=2.0.2
    |-- pathy *
    |   |-- dataclasses >=0.6,<1.0
    |   |-- smart-open >=2.2.0,<4.0.0
    |   |   `-- requests *
    |   |       |-- certifi >=2017.4.17
    |   |       |-- chardet >=3.0.2,<4
    |   |       |-- idna >=2.5,<3
    |   |       `-- urllib3 >=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26
    |   `-- typer >=0.3.0,<1.0.0
    |       `-- click >=7.1.1,<7.2.0
    |-- preshed >=3.0.2,<3.1.0
    |   |-- cymem >=2.0.2,<2.1.0 (circular dependency aborted here)
    |   `-- murmurhash >=0.28.0,<1.1.0 (circular dependency aborted here)
    |-- pydantic >=1.7.1,<1.8.0
    |   `-- dataclasses >=0.6 (circular dependency aborted here)
    |-- requests >=2.13.0,<3.0.0 (circular dependency aborted here)
    |-- spacy-legacy >=3.0.0,<3.1.0
    |-- srsly >=2.4.0,<3.0.0
    |   `-- catalogue >=2.0.1,<2.1.0 (circular dependency aborted here)
    |-- thinc >=8.0.0,<8.1.0
    |   |-- blis >=0.4.0,<0.8.0 (circular dependency aborted here)
    |   |-- catalogue >=0.2.0,<3.0.0 (circular dependency aborted here)
    |   |-- contextvars >=2.4,<3
    |   |   `-- immutables >=0.9
    |   |-- cymem >=2.0.2,<2.1.0 (circular dependency aborted here)
    |   |-- dataclasses >=0.6,<1.0 (circular dependency aborted here)
    |   |-- murmurhash >=0.28.0,<1.1.0 (circular dependency aborted here)
    |   |-- numpy >=1.15.0 (circular dependency aborted here)
    |   |-- preshed >=3.0.2,<3.1.0 (circular dependency aborted here)
    |   |-- pydantic >=1.7.1,<1.8.0 (circular dependency aborted here)
    |   |-- srsly >=2.0.0,<3.0.0 (circular dependency aborted here)
    |   |-- typing-extensions >=3.7.4.1,<4.0.0.0 (circular dependency aborted here)
    |   `-- wasabi >=0.4.0,<1.1.0
    |-- tqdm >=4.38.0,<5.0.0
    |-- typer >=0.3.0,<0.4.0 (circular dependency aborted here)
    |-- typing-extensions >=3.7.4 (circular dependency aborted here)
    `-- wasabi >=0.8.1,<1.1.0 (circular dependency aborted here)

Sorry if I've misunderstood and spacy is infact still a dependency.

Regards,
Toby

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

No branches or pull requests

0 participants