Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2023 22:03:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271476] www/py-flask-wtf: update to 1.1.1
Message-ID:  <bug-271476-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271476

            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=3D242239&action=
=3Dedit
Git diff py-flask-wtf update to 1.1.1

Flask version 2.3.0 removed JSONEncoder which this version of Flask-WTF sti=
ll
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", li=
ne
4, in <module>
App 55001 output:     JSONEncoder =3D 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 app=
ears
to have a changelog up to 1.0.1.=20

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271476-7788>