Community Packages

Your vote could not be added at this time.
Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#68391 - [python-flask-compress] Missing dependency on python-brotli since 1.5.0

Attached to Project: Community Packages
Opened by Dmytro Meleshko (dmitmel) - Friday, 23 October 2020, 12:55 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 30 March 2022, 23:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Flask-Compress added brotli compression support in version 1.5.0 (see <>, <>) and added brotli to its required dependencies in that same version. The Arch package doesn't have python-brotli in its dependencies, so python-flask-compress doesn't work and crashes with an import error unless python-brotli is explicitly installed.

Steps to reproduce:

$ python3 -c 'import flask_compress'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/", line 13, in <module>
import brotli
ModuleNotFoundError: No module named 'brotli'
This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 30 March 2022, 23:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.11-1