Skip to content

Commit 87e3678

Browse files
awaelchlikaushikb11
authored andcommitted
Merge pull request #10738 from PyTorchLightning/1.5.x-drop-torch-1.6
Sync CI configuration into 1.5.x branch
1 parent 029a984 commit 87e3678

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

requirements/adjust_versions.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ def test():
8383
else:
8484
requirements_path, torch_version = sys.argv[1], None
8585

86-
with open(requirements_path) as fp:
86+
with open(requirements_path, "r+") as fp:
8787
requirements = fp.read()
88-
requirements = main(requirements, torch_version)
89-
print(requirements) # on purpose - to debug
90-
with open(requirements_path, "w") as fp:
88+
requirements = main(requirements, torch_version)
89+
print(requirements) # on purpose - to debug
9190
fp.write(requirements)

requirements/extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ horovod>=0.21.2 # no need to install with [pytorch] as pytorch is already insta
55
torchtext>=0.8.*
66
omegaconf>=2.0.5
77
hydra-core>=1.0.5
8-
jsonargparse[signatures]>=4.0.4
8+
jsonargparse[signatures]>=4.0.0
99
gcsfs>=2021.5.0
1010
rich>=10.2.2

0 commit comments

Comments
 (0)