From a9ee5bff98b40126dce1625a5b48f86e4ffabc77 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Tue, 8 Feb 2022 10:52:46 +0100 Subject: [PATCH] Support mixed case model package names (#10223) --- spacy/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/util.py b/spacy/util.py index 14714143c..2a8b9f5cc 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -871,7 +871,6 @@ def get_package_path(name: str) -> Path: name (str): Package name. RETURNS (Path): Path to installed package. """ - name = name.lower() # use lowercase version to be safe # Here we're importing the module just to find it. This is worryingly # indirect, but it's otherwise very difficult to find the package. pkg = importlib.import_module(name)