[Bug 271476] www/py-flask-wtf: update to 1.1.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 May 2023 22:03:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271476

            Bug ID: 271476
           Summary: www/py-flask-wtf: update to 1.1.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rm@FreeBSD.org
          Reporter: sirdice@gmail.com
          Assignee: rm@FreeBSD.org
             Flags: maintainer-feedback?(rm@FreeBSD.org)

Created attachment 242239
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242239&action=edit
Git diff py-flask-wtf update to 1.1.1

Flask version 2.3.0 removed JSONEncoder which this version of Flask-WTF still
used. Was fixed some time ago: https://github.com/wtforms/flask-wtf/pull/536

It causes puppetboard to fail:

App 55001 output:   File
"/usr/local/lib/python3.9/site-packages/flask_wtf/recaptcha/widgets.py", line
4, in <module>
App 55001 output:     JSONEncoder = json.JSONEncoder
App 55001 output:
App 55001 output: AttributeError
App 55001 output: : module 'flask.json' has no attribute 'JSONEncoder'

Attached patch updates the port to 1.1.1. Changelog on readthedocs only appears
to have a changelog up to 1.0.1. 

https://flask-wtf.readthedocs.io/en/1.0.x/changes/

-- 
You are receiving this mail because:
You are the assignee for the bug.