Skip to content

Commit 155fc91

Browse files
authored
fix: include pypi.org/packages in PyPi hoster_pattern (#1038)
Adding `pypi.org/packages` to the hoster_pattern for PyPi (which is a redirection to `files.pythonhosted.org/packages`), which I believe is the URL that e.g. grayskull uses.
1 parent 0127c7f commit 155fc91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bioconda_utils/hosters.py

+1
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,7 @@ async def get_deps(self, pipeline, build_config, package, rel):
683683
hoster_pattern = (r"(?P<hoster>"
684684
r"files.pythonhosted.org/packages|"
685685
r"pypi.python.org/packages|"
686+
r"pypi.org/packages|"
686687
r"pypi.io/packages)")
687688
url_pattern = r"{hoster}/.*/{source}"
688689

0 commit comments

Comments
 (0)