This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 6b5d3697f5 Limit WTForms to below 3.1.0 (#34943)
6b5d3697f5 is described below

commit 6b5d3697f593d5e21f4b9c17a76ef07dcac26b46
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Oct 14 19:10:18 2023 +0200

    Limit WTForms to below 3.1.0 (#34943)
    
    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 ada0b021c4..09b400f6d8 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

Reply via email to