From 7ea6969e13c9843b858a3d31535db73bcf448595 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 14 Mar 2021 09:02:17 -0500 Subject: [PATCH 1/2] Prevent script error in build setup --- docs/development/environment.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/development/environment.rst b/docs/development/environment.rst index 93756517b..9f3e05d6b 100644 --- a/docs/development/environment.rst +++ b/docs/development/environment.rst @@ -74,7 +74,7 @@ If you also want to be able to build the documentation that resides in the ``doc the *Python 3* environment and install the docs dependencies as well: * ``source venv3/bin/activate`` (Linux, macOS) or ``source venv3/Scripts/activate`` (Git Bash under Windows, see below) - * ``pip install -e .[develop,plugins,docs]`` + * ``pip install -e '.[develop,plugins,docs]'`` Go to the directory `docs` and you can then build the documentation: @@ -116,10 +116,10 @@ Then: virtualenv --python=python3 venv3 source ./venv2/bin/activate pip install --upgrade pip - pip install -e .[develop,plugins] + pip install -e '.[develop,plugins]' source ./venv3/bin/activate pip install --upgrade pip - pip install -e .[develop,plugins,docs] + pip install -e '.[develop,plugins,docs]' pre-commit install git config blame.ignoreRevsFile .git-blame-ignore-revs @@ -162,10 +162,10 @@ Open the Git Bash you just installed and in that: virtualenv --python=C:\Python38\python.exe venv3 source ./venv2/Scripts/activate python -m pip install --upgrade pip - pip install -e .[develop,plugins] + pip install -e '.[develop,plugins]' source ./venv3/Scripts/activate pip install --upgrade pip - python -m pip install -e .[develop,plugins,docs] + python -m pip install -e '.[develop,plugins,docs]' pre-commit install git config blame.ignoreRevsFile .git-blame-ignore-revs @@ -241,7 +241,7 @@ You'll need a user account with administrator privileges. virtualenv venv source venv/bin/activate pip install --upgrade pip - pip install -e .[develop,plugins] + pip install -e '.[develop,plugins]' pre-commit install git config blame.ignoreRevsFile .git-blame-ignore-revs @@ -291,7 +291,7 @@ PyCharm * Name: Update OctoPrint dependencies * Program: ``$ModuleSdkPath$`` - * Parameters: ``-m pip install -e .[develop,plugins]`` + * Parameters: ``-m pip install -e '.[develop,plugins]'`` * Working directory: ``$ProjectFileDir$`` Note that sadly that seems to cause some hiccups on current PyCharm versions due to ``$PyInterpreterDirectory$`` @@ -320,7 +320,7 @@ PyCharm the documentation, see above on how to set this up. Note that this requires you to also have installed the additional ``docs`` dependencies into the Python 3 venv as - described above via ``pip install -e .[develop,plugins,docs]``. + described above via ``pip install -e '.[develop,plugins,docs]'``. - Settings > Tools > File Watchers (you might have to enable this, it's a bundled plugin), add new: From 9ab2ba29b91d82bf4ef72f2d85b62aa5df278720 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 14 Mar 2021 06:21:55 -0500 Subject: [PATCH 2/2] Update temperature message regex --- AUTHORS.md | 1 + docs/configuration/config_yaml.rst | 4 ++-- src/octoprint/settings.py | 2 +- src/octoprint/static/js/app/viewmodels/settings.js | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index fae1ed362..81c0070d6 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -139,6 +139,7 @@ date of first contribution): * [Miroslav Šedivý](https://github.com/eumiro) * [Costas Basdekis](https://github.com/costas-basdekis) * [Joe Martella](https://github.com/martellaj) + * [Scott Lahteine](https://github.com/thinkyhead) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by [Daid Braam](https://github.com/daid). Parts of its communication layer and diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 56a0a5fce..a945a6c2a 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -1132,9 +1132,9 @@ Use `Javascript regular expressions