Werkzeug 3 & Tryton 6.0

Hey,
Werkzeug released version 3 last Friday and it does not work with GNU Health based on Tryton 6.0.
Might be relevant for others.
(We are already working on GH fixes where no version pinning was present, just wanted to inform as it was not easy to find out werkzeug was the problem again…)
Best
Gerald

PS: Traceback what happens if you do “pip3 install --upgrade werkzeug” on GH vanilla installation:

11913 5046662207744 [2023-10-02 10:56:00,814] INFO trytond.wsgi <JSONRequest 127.0.0.1 'http://localhost:8000/' [POST]>
11913 5046662207744 [2023-10-02 10:56:00,815] DEBUG trytond.wsgi Exception when processing <JSONRequest 127.0.0.1 'http://localhost:8000/' [POST]>
Traceback (most recent call last):
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.35/trytond/wsgi.py", line 117, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/home/gnuhealth/gnuhealth/tryton/server/trytond-6.0.35/trytond/protocols/dispatcher.py", line 86, in root
    return methods[request.rpc_method](request, *request.rpc_params)
KeyError: None
11913 5046662207744 [2023-10-02 10:56:00,815] INFO werkzeug 127.0.0.1 - - [02/Oct/2023 10:56:00] "POST / HTTP/1.1" 500 -

Great, thanks. Will this be published to PyPI soon as 6.0.36?

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.