From d73d87ebcb6abc4392d5ce1dc4c2e4552881989e Mon Sep 17 00:00:00 2001 From: Michael Reid Date: Thu, 23 Jan 2025 20:34:43 -0400 Subject: [PATCH] Fix: Limit wtforms to <3.2 (#143) --- poetry.lock | 10 +++++----- pyproject.toml | 2 +- requirements.txt | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index a9357c4..74fe5a1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1987,14 +1987,14 @@ watchdog = ["watchdog (>=2.3)"] [[package]] name = "wtforms" -version = "3.2.1" +version = "3.1.2" description = "Form validation and rendering for Python web development." optional = false -python-versions = ">=3.9" +python-versions = ">=3.8" groups = ["main"] files = [ - {file = "wtforms-3.2.1-py3-none-any.whl", hash = "sha256:583bad77ba1dd7286463f21e11aa3043ca4869d03575921d1a1698d0715e0fd4"}, - {file = "wtforms-3.2.1.tar.gz", hash = "sha256:df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682"}, + {file = "wtforms-3.1.2-py3-none-any.whl", hash = "sha256:bf831c042829c8cdbad74c27575098d541d039b1faa74c771545ecac916f2c07"}, + {file = "wtforms-3.1.2.tar.gz", hash = "sha256:f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9"}, ] [package.dependencies] @@ -2006,4 +2006,4 @@ email = ["email-validator"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "eadb86bc8d63dd3f995d01a7e6d4e38a8c3b4163b6e2a3cf949338606e15f834" +content-hash = "0e36c5ca9054fd36474bd768c97a1b8b5cbfdeaa94401dcec5bb6eaaa7f13207" diff --git a/pyproject.toml b/pyproject.toml index cf3ac11..e94bf09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ flask-security = "^5.5.2" passlib = "^1.7.4" flask-babel = "^4.0.0" flask-wtf = "^1.2.2" -wtforms = "^3.2.1" +wtforms = "<3.2" # limit until flask-admin 2.0 flask-mail = "^0.10.0" configparser = "^7.1.0" email_validator = "^2.2.0" diff --git a/requirements.txt b/requirements.txt index 97dc34f..355298b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -505,6 +505,6 @@ urllib3==2.3.0 ; python_version >= "3.10" and python_version < "4.0" \ werkzeug==3.1.3 ; python_version >= "3.10" and python_version < "4.0" \ --hash=sha256:54b78bf3716d19a65be4fceccc0d1d7b89e608834989dfae50ea87564639213e \ --hash=sha256:60723ce945c19328679790e3282cc758aa4a6040e4bb330f53d30fa546d44746 -wtforms==3.2.1 ; python_version >= "3.10" and python_version < "4.0" \ - --hash=sha256:583bad77ba1dd7286463f21e11aa3043ca4869d03575921d1a1698d0715e0fd4 \ - --hash=sha256:df3e6b70f3192e92623128123ec8dca3067df9cfadd43d59681e210cfb8d4682 +wtforms==3.1.2 ; python_version >= "3.10" and python_version < "4.0" \ + --hash=sha256:bf831c042829c8cdbad74c27575098d541d039b1faa74c771545ecac916f2c07 \ + --hash=sha256:f8d76180d7239c94c6322f7990ae1216dae3659b7aa1cee94b6318bdffb474b9