Open jomo opened 10 months ago
What's weird is that we're specifically asking for Werkzeug version to be < 2.3 in pyproject.toml
I'm not sure why Docker doesn't follow these rules.
We ask for Werkzeug < 3, so it's consistent to end up with 2.3, this was the whole point of #1244. I guess we need more tests...
Annoying, I had included this seemingly minor update in the stable-6.1 branch. We will need to make one more bugfix release!
Sorry for the noise, you're correct. I probably read whatever I wanted to read. Pfiuuu.
I have reverted the Flask/Werkzeug update in stable-6.1 and made a new backport release 6.1.3, hopefully there should be no more regression there!
It means we have more time to figure this out. But please add a test for this regression :)
I set up an ihatemoney instance using the latest
ihatemoney/ihatemoney
Docker container as described in https://ihatemoney.readthedocs.io/en/latest/installation.html#with-docker.After scanning the invite QR code using the MoneyBuster app, the server returned a server error.
The problem is this line:
https://github.com/spiral-project/ihatemoney/blob/76e8b3baf0b52d098c1287f01ebf30cdeeb6ecc5/ihatemoney/api/common.py#L21-L26
From https://flask.palletsprojects.com/en/3.0.x/api/#flask.Request.authorization:
In the current version of the application
request.authorization
returns theBearer xxxxxxx
value, making it truthy but leavingusername
undefined.