Skip to content

Commit

Permalink
Merge pull request #340 from allenai/extra-req-fix
Browse files Browse the repository at this point in the history
Fixing clip requirement.
  • Loading branch information
Lucaweihs committed Mar 24, 2022
2 parents 4c5341d + 4231c28 commit 5403491
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion allenact/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_req_file(fname, initial=None):
continue
if line[0] == "[":
# Add new key for current extras (if missing in dict)
cline = line[1:-1]
cline = line[1:-1].strip()
if cline not in reqs:
reqs[cline] = []
else:
Expand Down
2 changes: 1 addition & 1 deletion allenact_plugins/clip_plugin/extra_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ torchvision
ftfy
regex
tqdm
clip @ git+git://github.com/openai/clip@e184f608c5d5e58165682f7c332c3a8b4c1545f2#egg=clip
clip @ git+https://github.com/openai/clip@e184f608c5d5e58165682f7c332c3a8b4c1545f2#egg=clip
4 changes: 3 additions & 1 deletion allenact_plugins/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ def run_setup():
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
keywords=["reinforcement learning", "embodied-AI", "AI", "RL", "SLAM"],
url="https://github.com/allenai/allenact",
Expand All @@ -121,7 +123,7 @@ def run_setup():
install_requires=[
"gym>=0.17.0,<0.20.0",
"torch>=1.6.0,!=1.8.0,<2.0.0",
"torchvision>=0.7.0,<0.10.0",
"torchvision>=0.7.0",
"numpy>=1.19.1",
"wheel>=0.36.2",
f"allenact=={__version__}",
Expand Down

0 comments on commit 5403491

Please sign in to comment.