-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Werkzeug 2.3 incompatibility: AttributeError: 'NoneType' object has no attribute 'lower' #1272
Comments
What's weird is that we're specifically asking for Werkzeug version to be < 2.3 in pyproject.toml Lines 40 to 43 in 76e8b3b
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:
ihatemoney/ihatemoney/api/common.py
Lines 21 to 26 in 76e8b3b
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.The text was updated successfully, but these errors were encountered: