Skip to content

Commit 0d2fc2d

Browse files
committed
Update install_hivecraft to specify version when not using 'latest'
1 parent aa06f8a commit 0d2fc2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entrypoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def install_hivecraft(version):
1717
# cmd = ["pip", "install", f"git+https://github.com/AlgoHive-Coding-Puzzles/HiveCraft.git@{version}"]
1818

1919
hivecraft_p = "hivecraft"
20-
if version:
20+
if version and version.lower() != "latest":
2121
hivecraft_p += f"=={version}"
2222

2323
# Install the latest version of Hivecraft from PyPI

0 commit comments

Comments
 (0)