Skip to content

Commit f9f4853

Browse files
committed
fix pip install (#7170)
(cherry picked from commit f48ac62) # Conflicts: # requirements/extra.txt
1 parent 0cb0c7a commit f9f4853

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytorch_lightning/setup_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _load_requirements(path_dir: str, file_name: str = 'requirements.txt', comme
3333
if comment_char in ln:
3434
ln = ln[:ln.index(comment_char)].strip()
3535
# skip directly installed dependencies
36-
if ln.startswith('http'):
36+
if ln.startswith('http') or '@http' in ln:
3737
continue
3838
if ln: # if requirement is not empty
3939
reqs.append(ln)

requirements/extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ torchtext>=0.5
88
onnxruntime>=1.3.0
99
hydra-core>=1.0
1010
# todo: when switch to standard package stream, drop `fairscale` from hard mocked docs libs
11-
fairscale @ https://github.com/PyTorchLightning/fairscale/archive/pl_1.2.0.zip
11+
fairscale @https://github.com/PyTorchLightning/fairscale/archive/pl_1.2.0.zip

0 commit comments

Comments
 (0)