Package Details: weechat-matrix 0.3.0-17

Git Clone URL: https://aur.archlinux.org/weechat-matrix.git (read-only, click to copy)
Package Base: weechat-matrix
Description: WeeChat Matrix protocol script written in Python
Upstream URL: https://github.com/poljar/weechat-matrix
Licenses: ISC
Submitter: gromit
Maintainer: loacker
Last Packager: loacker
Votes: 1
Popularity: 0.009449
First Submitted: 2024-03-20 18:14 (UTC)
Last Updated: 2024-12-17 11:48 (UTC)

Latest Comments

loacker commented on 2024-12-17 13:37 (UTC)

I have since added a patch [1] to enable it to build. I'll see what I can do to report it upstream.

[1] 0004-fix-tests-module-webcolors-has-no-attribute-HTML4_HE.patch

AndyRTR commented on 2024-12-17 07:33 (UTC) (edited on 2024-12-17 07:34 (UTC) by AndyRTR)

Python-future has been removed by Fedora rawhide. Only removing the dependency from the package won't solve it because weechat-matrix acutally depends on it and will fail to start. Please someone bring it to the github tracker. Even if it's almost dead maybe someone has a solution to get it back working.

The webcolor test failure is expected now. Disable tests for now. See also https://github.com/poljar/weechat-matrix/issues/364

micwoj92 commented on 2024-12-16 22:19 (UTC)

Check fails:

============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /build/weechat-matrix/src/weechat-matrix-0.3.0
configfile: pyproject.toml
plugins: hypothesis-6.118.7
collected 9 items / 1 error

==================================== ERRORS ====================================
_____________________ ERROR collecting tests/color_test.py _____________________
tests/color_test.py:23: in <module>
    first_16_html_colors = list(webcolors.HTML4_HEX_TO_NAMES.values())
E   AttributeError: module 'webcolors' has no attribute 'HTML4_HEX_TO_NAMES'
=========================== short test summary info ============================
ERROR tests/color_test.py - AttributeError: module 'webcolors' has no attribu...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.83s ===============================
==> ERROR: A failure occurred in check().
    Aborting...

ilf0 commented on 2024-05-22 13:18 (UTC) (edited on 2024-05-28 10:10 (UTC) by ilf0)

Please add python-future as dependency, as this won't run without it.

Update: Thanks! https://aur.archlinux.org/cgit/aur.git/commit/?h=weechat-matrix&id=0e5a13aad5c6e9f07c7681dcb43c9e0a2a9d7d61