From d6dd8867c37ba57fd57dcaad892a0188dbd8b8a7 Mon Sep 17 00:00:00 2001 From: Leo Schick Date: Mon, 2 Oct 2023 09:31:08 +0200 Subject: [PATCH] upgrade to Fask>=2, drop eager-loading --- mara_app/.scripts/install.mk | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mara_app/.scripts/install.mk b/mara_app/.scripts/install.mk index 8dc39d6..d6ad55f 100644 --- a/mara_app/.scripts/install.mk +++ b/mara_app/.scripts/install.mk @@ -81,7 +81,7 @@ migrate-mara-db: # run flask development server run-flask: - . .venv/bin/activate; flask run --with-threads --reload --eager-loading 2>&1 + . .venv/bin/activate; flask run --with-threads --reload 2>&1 # run https://github.com/naiquevin/pipdeptree to check whether the currently installed packages have diff --git a/setup.cfg b/setup.cfg index 3f51579..1557dc8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,7 @@ python_requires = >= 3.6 install_requires = mara-page>=1.7.0 mara-db>=3.0.0 - flask>=1.0.2 + flask>=2.0 [options.extras_require] test = pytest; pytest_click