From f88b5e814271b93ec95728a26405bd9b9ebd6d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 3 Jun 2020 14:49:53 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 84 +++++++++++++++++++++++++++----------------------------- 1 file changed, 41 insertions(+), 43 deletions(-) diff --git a/setup.py b/setup.py index 006ae3595..37a9955f6 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ PYTHON_REQUIRES = ">=2.7.9, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* # Requirements for setup.py SETUP_REQUIRES = [ - "markdown>=3.1,<3.2", + "markdown>=3.1,<4", ] # Requirements for our application @@ -30,59 +30,57 @@ INSTALL_REQUIRES = [ # the following dependencies are non trivial to update since later versions introduce backwards incompatible # changes that might affect plugins, or due to other observed problems - "flask>=0.12,<0.13", # newer versions require newer Jinja versions "markupsafe>=1.1,<2.0", # Jinja dependency, newer versions require Python 3 - "Jinja2>=2.8.1,<2.9", # Jinja 2.9 has breaking changes WRT template scope - we can't - # guarantee backwards compatibility for plugins and such with that - # version, hence we need to pin to a lower version for now. See #1697 "tornado==5.1.1", # newer versions require Python 3 "regex!=2018.11.6", # avoid broken 2018.11.6. See #2874 # anything below this should be checked on releases for new versions - "Flask-Login>=0.4.1,<0.5", - "Flask-Babel>=0.12,<0.13", - "Flask-Assets>=0.12,<0.13", - "blinker>=1.4,<1.5", # dependency of the now vendor bundled flask_principal - "werkzeug>=0.16,<0.17", - "cachelib>=0.1,<0.2", - "PyYAML>=5.1,<6", - "markdown>=3.1,<3.2", - "pyserial>=3.4,<3.5", - "netaddr>=0.7.19,<0.8", - "watchdog>=0.9.0,<0.10", + "flask>=1.1.2,<2", + "Jinja2>=2.11.2,<3", + "Flask-Login>=0.5,<1", + "Flask-Babel>=1.0,<2", + "Flask-Assets>=2.0,<3", + "blinker>=1.4,<2", # dependency of the now vendor bundled flask_principal + "werkzeug>=1.0.1,<2", + "cachelib>=0.1,<1", + "PyYAML>=5.3.1,<6", + "markdown>=3.1,<4", + "pyserial>=3.4,<4", + "netaddr>=0.7.19,<1", + "watchdog>=0.10.2,<1", "sarge==0.1.5post0", - "netifaces>=0.10.9,<0.11", - "pylru>=1.2,<1.3", + "netifaces>=0.10.9,<1", + "pylru>=1.2,<2", "rsa>=4.0,<5", - "pkginfo>=1.5.0.1,<1.6", - "requests>=2.22.0,<3", - "semantic_version>=2.8,<2.9", - "psutil>=5.6.5,<5.7", - "Click>=7,<8", - "awesome-slugify>=1.6.5,<1.7", - "feedparser>=5.2.1,<5.3", - "future>=0.18.2,<0.19", - "websocket-client>=0.56,<0.57", - "wrapt>=1.11.2,<1.12", - "emoji>=0.5.4,<0.6", - "frozendict>=1.2,<1.3", - "sentry-sdk==0.13.2", - "filetype>=1.0.5,<2" + "pkginfo>=1.5.0.1,<2", + "requests>=2.23.0,<3", + "semantic_version>=2.8.5,<3", + "psutil>=5.7,<6", + "Click>=7.1.2,<8", + "awesome-slugify>=1.6.5,<2", + "feedparser>=5.2.1,<6", + "future>=0.18.2,<1", + "websocket-client>=0.57,<1", + "wrapt>=1.12.1,<2", + "emoji>=0.5.4,<1", + "frozendict>=1.2,<2", + "sentry-sdk>=0.14.4,<1", + "filetype>=1.0.7,<2" ] # Python 2 specific requirements INSTALL_REQUIRES_PYTHON2 = [ - "futures>=3.3,<3.4", - "monotonic>=1.5,<1.6", - "scandir>=1.10,<1.11", - "chainmap>=1.0.3,<1.1", + "futures>=3.3,<4", + "monotonic>=1.5,<2", + "scandir>=1.10,<2", + "chainmap>=1.0.3,<2", "typing>=3.7.4.1,<4" ] # OSX specific requirements INSTALL_REQUIRES_OSX = [ - "appdirs>=1.4.3", + "appdirs>=1.4.4", ] # Additional requirements for optional install options @@ -91,8 +89,8 @@ EXTRA_REQUIRES = dict( develop=[ # Testing dependencies - SEE ALSO tox.ini "mock>=3.0.5,<4", - "pytest==4.6.6", - "pytest-doctest-custom>=1.0.0,<1.1", + "pytest==4.6.10", + "pytest-doctest-custom>=1.0.0,<2", "ddt", # linter @@ -104,14 +102,14 @@ EXTRA_REQUIRES = dict( # Documentation dependencies "sphinx>=1.8.5,<2", "sphinxcontrib-httpdomain", - "sphinxcontrib-mermaid>=0.3.1", - "sphinx_rtd_theme", - "readthedocs-sphinx-ext==0.5.17" # Later versions require Jinja >= 2.9 + "sphinxcontrib-mermaid>=0.4.0", + "sphinx_rtd_theme>=0.4.3", + "readthedocs-sphinx-ext>=1.0.4" ], # Dependencies for developing OctoPrint plugins plugins=[ - "cookiecutter>=1.6,<1.7" + "cookiecutter>=1.7.2,<1.8" ] )