Community Packages

Your vote could not be added at this time.
Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

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!
Tasklist

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 Doug Newgard (Scimmia) - Friday, 23 October 2020, 17:15 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Flask-Compress added brotli compression support in version 1.5.0 (see <https://github.com/colour-science/flask-compress/blob/master/CHANGELOG.md#150---2020-05-09>, <https://github.com/colour-science/flask-compress/pull/1>) 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/flask_compress.py", line 13, in <module>
import brotli
ModuleNotFoundError: No module named 'brotli'
This task depends upon

Loading...