From b7b832383f66b9a9f5334d5854834842d7ec1515 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 11 Oct 2021 11:48:54 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=8C=20Pin=20wrapt=20to=201.12.*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newer versions than 1.12 no longer build on OctoPi 0.15 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 4b64240e6..6b0acdc75 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,7 @@ INSTALL_REQUIRES = [ "markupsafe>=1.1,<2.0", # Jinja dependency, newer versions require Python 3 "markdown>=3.1,<3.2", # newer versions require Python 3 "regex!=2018.11.6", # avoid broken 2018.11.6. See #2874 + "wrapt>=1.12.1,<1.13", # newer versions fail to build on OctoPi 0.15 # anything below this should be checked on releases for new versions "flask>=1.1.4,<2", # newer versions require Python 3 "Jinja2>=2.11.3,<3", # newer versions require Python 3 @@ -56,7 +57,6 @@ INSTALL_REQUIRES = [ "Click>=7.1.2,<8", # newer versions require Python 3 "future>=0.18.2,<1", "websocket-client>=0.59,<1", # newer versions require Python 3 - "wrapt>=1.12.1,<2", "emoji>=1.4.2,<2", "sentry-sdk>=1.3.1,<2", "filetype>=1.0.7,<2", From e90a95b714d21e876791b341e09e7e5e487746c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 11 Oct 2021 11:54:52 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=A5=20Deprecate=20OctoPi=200.15=20?= =?UTF-8?q?environment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On OctoPi 0.15 OctoPrint 1.7.0+ will refuse to update. Reason: yet another dependency no longer building in this ancient environment. We'll allow an upgrade to 1.7.0 because we cannot retroactively warn people about this anymore, but from here on out that's it. OctoPi 0.15 was released in 2018, I think it's fair to expect people to update, especially with the available backup and restore functionality. --- src/octoprint/plugins/softwareupdate/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/octoprint/plugins/softwareupdate/__init__.py b/src/octoprint/plugins/softwareupdate/__init__.py index 0c332fd6c..e7bebc3e4 100644 --- a/src/octoprint/plugins/softwareupdate/__init__.py +++ b/src/octoprint/plugins/softwareupdate/__init__.py @@ -44,10 +44,10 @@ from octoprint.util.version import ( from . import cli, exceptions, updaters, util, version_checks -# OctoPi 0.15+ -MINIMUM_PYTHON = "2.7.9" -MINIMUM_SETUPTOOLS = "39.0.1" -MINIMUM_PIP = "9.0.3" +# OctoPi 0.16+ +MINIMUM_PYTHON = "2.7.13" +MINIMUM_SETUPTOOLS = "40.7.1" +MINIMUM_PIP = "19.0.1" DATETIME_FORMAT = "%Y-%m-%d %H:%M:%S"