We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 926dbc9 commit cbd5b0fCopy full SHA for cbd5b0f
1 file changed
scripts/02-update-octoprint
@@ -23,3 +23,9 @@ fi
23
if [ $(/usr/local/bin/yq '.server.seenWizards.file_check' /home/pi/.octoprint/config.yaml) == "null" ]; then
24
sudo -u $USER FILECHECK_WIZARD=$(sudo -u $USER $VENV/bin/python -c "import octoprint_file_check; print(octoprint_file_check.WIZARD_VERSION)") /usr/local/bin/yq -i '.server.seenWizards.file_check = env(FILECHECK_WIZARD)' /home/pi/.octoprint/config.yaml
25
fi
26
+
27
+# fixes for broken packages from piwheels
28
+if [[ $(sudo -u $USER $VENV/bin/python --version | cut -d' ' -f2) =~ ^3\.11\. && $(sudo -u $USER $VENV/bin/pip freeze | grep -i tornado | cut -d= -f3) == "6.4.2" ]]; then
29
+ # fetch sdist for tornado 6.4.2 under Python 3.11
30
+ sudo -u $USER $VENV/bin/pip install --no-binary=tornado "tornado==6.4.2"
31
+fi
0 commit comments