Created attachment 242239 [details] 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/
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=af0144572b90072e482fc087bc1317b2e9ab0307 commit af0144572b90072e482fc087bc1317b2e9ab0307 Author: Ruslan Makhmatkhanov <rm@FreeBSD.org> AuthorDate: 2023-06-01 18:33:38 +0000 Commit: Ruslan Makhmatkhanov <rm@FreeBSD.org> CommitDate: 2023-06-01 18:33:38 +0000 www/py-flask-wtf: update to 1.1.1 This update fixes runtime with decent flask. Switch to pep517 packaging while here. PR: 271476 Reported by: sirdice@gmail.com www/py-flask-wtf/Makefile | 11 +++++++---- www/py-flask-wtf/distinfo | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-)
Committed, thanks a lot!