diff --git a/setup.py b/setup.py index 844e27e56..149c2acb8 100644 --- a/setup.py +++ b/setup.py @@ -33,35 +33,35 @@ INSTALL_REQUIRES = [ "Flask-Principal>=0.4,<0.5", "Flask-Babel>=0.12,<0.13", "Flask-Assets>=0.12,<0.13", - "werkzeug>=0.14.1,<0.15", - "PyYAML>=3.13,<4", + "werkzeug>=0.15.1,<0.16", + "PyYAML>=5.1,<6", "markdown>=3.0,<3.1", "pyserial>=3.4,<3.5", "netaddr>=0.7.19,<0.8", "watchdog>=0.9.0,<0.10", "sarge==0.1.5post0", - "netifaces>=0.10.7,<0.11", - "pylru>=1.1,<1.2", + "netifaces>=0.10.9,<0.11", + "pylru>=1.2,<1.3", "rsa>=4.0,<5", - "pkginfo>=1.4.2,<1.5", - "requests>=2.20.0,<3", + "pkginfo>=1.5.0.1,<1.6", + "requests>=2.21.0,<3", "semantic_version>=2.6,<2.7", - "psutil>=5.4.8,<5.5", + "psutil>=5.6.1,<5.7", "Click>=7,<8", "awesome-slugify>=1.6.5,<1.7", "feedparser>=5.2.1,<5.3", - "chainmap>=1.0.2,<1.1", - "future>=0.17,<0.18", - "scandir>=1.9,<1.10", - "websocket-client>=0.53,<0.54", - "python-dateutil>=2.7.5,<2.8", - "wrapt>=1.10.11,<1.11", + "chainmap>=1.0.3,<1.1", + "future>=0.17.1,<0.18", + "scandir>=1.10,<1.11", + "websocket-client>=0.56,<0.57", + "python-dateutil>=2.8,<2.9", + "wrapt>=1.11.1,<1.12", "futures>=3.2,<3.3", "emoji>=0.5.1,<0.6", "monotonic>=1.5,<1.6", "frozendict>=1.2,<1.3", - "sentry-sdk==0.6.6", - "typing>=3.6.4,<4" + "sentry-sdk==0.7.7", + "typing>=3.6.6,<4" ] if sys.platform == "darwin": diff --git a/src/octoprint/server/util/flask.py b/src/octoprint/server/util/flask.py index 004bc6578..207182b1d 100644 --- a/src/octoprint/server/util/flask.py +++ b/src/octoprint/server/util/flask.py @@ -459,7 +459,7 @@ class ReverseProxiedEnvironment(object): #~~ request and response versions -from werkzeug.wrappers import cached_property +from werkzeug.utils import cached_property class OctoPrintFlaskRequest(flask.Request): environment_wrapper = staticmethod(lambda x: x)