Skip to content

Commit 36fe199

Browse files
authored
SW-1237 develop tier wont install commit based version (mrbeam#40)
* Added force reinstall option in update script to be able to update from a version to a commit
1 parent 10587bb commit 36fe199

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

octoprint_netconnectd/scripts/update_script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ def install_wheels(install_queue):
222222
"install",
223223
"--disable-pip-version-check",
224224
"--upgrade", # Upgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.
225+
"--force-reinstall", # Reinstall all packages even if they are already up-to-date.
225226
"--no-index", # Ignore package index (only looking at --find-links URLs instead).
226227
"--find-links={}".format(tmp_folder), # If a URL or path to an html file, then parse for links to archives such as sdist (.tar.gz) or wheel (.whl) files. If a local path or file:// URL that's a directory, then look for archives in the directory listing. Links to VCS project URLs are not supported.
227228
"--no-dependencies", # Don't install package dependencies.

0 commit comments

Comments
 (0)