diff --git a/pytorch_lightning/setup_tools.py b/pytorch_lightning/setup_tools.py index 3362ccb479895..67e890de5b4e9 100644 --- a/pytorch_lightning/setup_tools.py +++ b/pytorch_lightning/setup_tools.py @@ -33,7 +33,7 @@ def _load_requirements(path_dir: str, file_name: str = 'requirements.txt', comme if comment_char in ln: ln = ln[:ln.index(comment_char)].strip() # skip directly installed dependencies - if ln.startswith('http'): + if ln.startswith('http') or '@http' in ln: continue if ln: # if requirement is not empty reqs.append(ln) diff --git a/requirements/extra.txt b/requirements/extra.txt index 424c0464f9478..a20db98319594 100644 --- a/requirements/extra.txt +++ b/requirements/extra.txt @@ -8,5 +8,5 @@ torchtext>=0.5 onnxruntime>=1.3.0 hydra-core>=1.0 # todo: when switch to standard package stream, drop `fairscale` from hard mocked docs libs -fairscale @ https://github.com/PyTorchLightning/fairscale/archive/pl_1.2.0.zip +fairscale @https://github.com/PyTorchLightning/fairscale/archive/pl_1.2.0.zip jsonargparse[signatures]>=3.9.0