Check for spacy-nightly package in download
Also check for spacy-nightly in download so that `--no-deps` isn't set
for normal nightly installs.
@@ -35,7 +35,7 @@ def download_cli(
def download(model: str, direct: bool = False, *pip_args) -> None:
- if not is_package("spacy") and "--no-deps" not in pip_args:
+ if not (is_package("spacy") or is_package("spacy-nightly")) and "--no-deps" not in pip_args:
msg.warn(
"Skipping pipeline package dependencies and setting `--no-deps`. "
"You don't seem to have the spaCy package itself installed "
