Community Packages

Your vote could not be added at this time.
Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_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 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

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

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

Loading...