Merge branch 'maintenance' into devel
Conflicts: .versioneer-lookup CHANGELOG.md src/octoprint/plugins/pluginmanager/__init__.py src/octoprint/util/__init__.py
This commit is contained in:
commit
795c2c87f5
4 files changed
+86
-12
No files matched your search
@@ -428,11 +428,16 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin,
|
||||
if self._pip_caller is None or not self._pip_caller.available:
|
||||
raise RuntimeError(u"No pip available, can't operate".format(**locals()))
|
||||
|
||||
if "--process-dependency-links" in args and self._pip_caller < self._pip_version_dependency_links:
|
||||
args.remove("--process-dependency-links")
|
||||
if "--process-dependency-links" in args:
|
||||
self._log_message(u"Installation needs to process external dependencies, that might make it take a bit longer than usual depending on the pip version")
|
||||
if self._pip_caller < self._pip_version_dependency_links:
|
||||
args.remove("--process-dependency-links")
|
||||
|
||||
return self._pip_caller.execute(*args)
|
||||
|
||||
def _log_message(self, *lines):
|
||||
self._log(lines, prefix=u"*", stream="message")
|
||||
|
||||
def _log_call(self, *lines):
|
||||
self._log(lines, prefix=u" ", stream="call")
|
||||
|
||||
@@ -529,6 +534,9 @@ class PluginManagerPlugin(octoprint.plugin.SimpleApiPlugin,
|
||||
def map_repository_entry(entry):
|
||||
result = dict(entry)
|
||||
|
||||
if not "follow_dependency_links" in result:
|
||||
result["follow_dependency_links"] = False
|
||||
|
||||
if not "follow_dependency_links" in result:
|
||||
result["follow_dependency_links"] = False
|
||||
|
||||
|
||||
Reference in new issue
Block a user