Compare commits

...
4 Commits
Author SHA1 Message Date
Gina Häußge 5e7ea35239 🔖 Preparing release of 1.5.0rc3 2020-11-18 13:53:07 +01:00
Gina Häußge 4768a7eb5a 🐛 Value AND key might need str-conversion
Closes #3825
2020-11-18 13:09:51 +01:00
Gina Häußge 84fb97f82a 🐛 PMGR: Don't use jsonify outside flask context
We've moved `_command_install_archive` into its own thread, so we
must return results instead of jsonify'ing them.

As discovered through #3825
2020-11-18 13:07:58 +01:00
Gina Häußge c30673fac0 🔖 staging/maintenance is now 1.5.0rc3.dev 2020-11-17 16:00:51 +01:00
4 changed files with 9 additions and 7 deletions

No files matched your search

+3 -3
View File
@@ -27,10 +27,10 @@ improve/.* 1.5.0 42769dad7dda3bc0c6c94e0e8ce832af9b14a565 pep440-dev
# staging/hotfix is the branch for preparation of the 1.4.2 hotfix release
staging/hotfix 1.4.2 3ab84ed7e4c3aaaf71fe0f184b465f25d689f929 pep440-dev
# staging/maintenance is currently the branch for preparation of 1.5.0rc2
# staging/maintenance is currently the branch for preparation of 1.5.0rc3
# so is regressionfix/...
staging/maintenance 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev
regressionfix/.* 1.5.0rc2 b7a45b79bf86339f0b28177ac1eaebb56d00ea37 pep440-dev
staging/maintenance 1.5.0rc3 9f5781eff4d8b21e5fa6166fab8f4c1e4429710e pep440-dev
regressionfix/.* 1.5.0rc3 9f5781eff4d8b21e5fa6166fab8f4c1e4429710e pep440-dev
# staging/devel is currently inactive (but has the 1.4.1rc4 namespace)
staging/devel 1.4.1rc4 650d54d1885409fa1d411eb54b9e8c7ff428910f pep440-dev
@@ -21,10 +21,10 @@ from octoprint.util.version import (
)
SENTRY_URL_SERVER = (
"https://5604af9afe444b44961b62f2f4e35395@o118517.ingest.sentry.io/1373987"
"https://e08a2195f1844c17a99a03dd04cc127f@o118517.ingest.sentry.io/1373987"
)
SENTRY_URL_COREUI = (
"https://d8119fba01a0429185ead6dae19ca45d@o118517.ingest.sentry.io/1374096"
"https://def48ce0f05340f0b30d5f4e981f8686@o118517.ingest.sentry.io/1374096"
)
SETTINGS_DEFAULTS = {
@@ -789,7 +789,7 @@ class PluginManagerPlugin(
"for generated output",
}
self._send_result_notification("install", result)
return jsonify(result)
return result
# The final output of a pip install command looks something like this:
#
+3 -1
View File
@@ -176,7 +176,9 @@ class CommandlineCaller(object):
# if we are running under windows, make sure there are no unicode strings in the env
if get_os() == "windows" and "env" in kwargs:
kwargs["env"] = dict((k, to_native_str(v)) for k, v in kwargs["env"].items())
kwargs["env"] = dict(
(to_native_str(k), to_native_str(v)) for k, v in kwargs["env"].items()
)
delimiter = kwargs.get("delimiter", b"\n")
try: