Skip to content

Commit c89a93f

Browse files
committed
Address OBO download issue
1 parent 239d3b7 commit c89a93f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ dependencies = [
6868
"humanize",
6969
"tabulate",
7070
"cachier",
71-
"pystow>=0.8.8",
71+
"pystow>=0.8.11",
7272
"bioversions>=0.9.1",
7373
"bioregistry>=0.13.44",
7474
"ssslm>=0.1.3",

src/pyobo/getters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def _ensure_ontology_path(
214214
if url is None:
215215
continue
216216
try:
217-
path = ensure_path(prefix, url=url, force=force, version=version)
217+
path = ensure_path(prefix, url=url, force=force, version=version, backend="requests")
218218
except (urllib.error.HTTPError, pystow.utils.DownloadError):
219219
continue
220220
except pystow.utils.UnexpectedDirectoryError:

0 commit comments

Comments
 (0)