From e3c51e21fb8d2344e0b5c55482067059b04546f1 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 14 Oct 2023 18:54:22 +0200 Subject: [PATCH] Limit WTForms to below 3.1.0 WTForms 3.1.0 released 10th of October 2023 introduced a breaking change in the way QuerySelectChoices fields are handled. See details in https://github.com/dpgaspar/Flask-AppBuilder/issues/2137 --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index ada0b021c4152..09b400f6d8e79 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,6 +66,11 @@ setup_requires = # DEPENDENCIES_EPOCH_NUMBER in the Dockerfile.ci ##################################################################################################### install_requires = + # WTForms 3.1.0 released 10th of October 2023 introduced a breaking change in the way + # QuerySelectChoices fields are handled. + # See details in https://github.com/dpgaspar/Flask-AppBuilder/issues/2137 + # We should remove this limitation when the issue is fixed + WTForms<3.1.0 # Alembic is important to handle our migrations in predictable and performant way. It is developed # together with SQLAlchemy. Our experience with Alembic is that it very stable in minor version alembic>=1.6.3, <2.0