Skip to content

Commit

Permalink
fix: removed unused package
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed May 16, 2023
1 parent 736752f commit c1f8681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ keywords = [
requires-python = ">=3.9"
dependencies = [
"spacy-wrap>=1.4.1,<1.5.0",
"spacy>=3.2.0,<3.6.0",
"spacy-experimental >= 0.6.2",
"spacy[transformers]>=3.2.0,<3.6.0",
"pandas>=1.0.0,<2.0.0",
"wasabi>=0.8.2,<0.11.0",
"tqdm>=4.42.1,<4.66.0",
"sentencepiece>=0.1.96,<0.2.0",
]


Expand Down Expand Up @@ -72,6 +72,8 @@ docs = [
"sphinx_design>=0.3.0,<0.4.2",
"sphinx_togglebutton>=0.2.3,<0.4.0",
"myst-nb>=0.6.0,<1.17.0", # for rendering notebooks
# for named entity linking
"wikidata>=0.7.0",
# for tutorials
"jupyter>=1.0.0,<1.1.0",
# sentiment analysis
Expand Down
4 changes: 2 additions & 2 deletions src/dacy/load.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Functionality for loading and locating DaCy models."""
import warnings
from pathlib import Path
from typing import Any, Union

import spacy
from spacy.language import Language
from wasabi import msg

from .download import DEFAULT_CACHE_DIR, download_model, models_url

Expand Down Expand Up @@ -55,7 +55,7 @@ def where_is_my_dacy(verbose: bool = True) -> Union[str, Path]:
>>> dacy.where_is_my_dacy()
"""
if verbose is True:
msg.info(
warnings.warn( # noqa: B028
"DaCy pipelines above and including version 0.1.0 are installed as a "
+ "python module and are thus located in your python environment under "
+ "the respective names. To get a list of installed models use "
Expand Down

0 comments on commit c1f8681

Please sign in to comment.