loris-imageserver / loris

Loris IIIF Image Server
Other
208 stars 87 forks source link

Update requirements #556

Open stweil opened 11 months ago

stweil commented 11 months ago
stweil commented 11 months ago

The "ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers'" occurs because BaseResponse and BaseRequest have been deprecated starting werkzeug version 2.1.0. Therefore the requirements were updated to require werkzeug < 2.1.0. It would be better to replace BaseResponse and BaseRequest because old versions of werkzeug have high priority security issues.