Age | Commit message (Collapse) | Author |
|
|
|
|
|
```python
python: loading script "/usr/share/weechat/python/weechat-matrix.py"
python: stdout/stderr (?): Traceback (most recent call last):
python: stdout/stderr (?): File "/usr/share/weechat/python/weechat-matrix.py", line 44, in <module>
python: stdout/stderr (?): from future.utils import bytes_to_native_str as n
python: stdout/stderr (?): ModuleNotFoundError: No module named 'future'
python: unable to parse file "/usr/share/weechat/python/weechat-matrix.py"
```
|
|
|
|
https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/
|
|
|
|
|
|
|
|
|
|
Switch to python-poetry-core in makedepends by applying upstreamed patch:
https://github.com/poljar/weechat-matrix/pull/340
|
|
The package already uses git sources, so there is no need to download patch
files separately.
|
|
weechat-matrix depends on matrix-nio[e2e]. Since python-matrix-nio version
0.19.0-4 the e2e dependencies are optional, so they need to be added as
mandatory dependencies to weechat-matrix instead.
|
|
Upstream pins the dependency versions to the minor version that was used during
development. Since the Arch repositories contain some newer versions, importing
the module can fail. Try e.g.
from pkg_resources import require
require("matrix")
This fails with
pkg_resources.ContextualVersionConflict: (matrix-nio 0.19.0 (/usr/lib/python3.10/site-packages), Requirement.parse('matrix-nio[e2e]<0.19.0,>=0.18.0'), {'matrix'})
The package works fine with the latest versions available in the repositories
(that is what we run the test suite for after all), so remove the dependency
version pinning altogether.
|
|
|
|
|
|
|
|
|
|
WeeChat supports the XDG Base Directory Specification since version 3.2.
|
|
The package containing the "xdg-open" executable is called "xdg-utils".
|
|
- python-future is no longer required since upstream commit
69cbba8839ad68420d55bd56833eb3e970ee6311.
- xdg-open has replaced rifle as the default plumber (commit
e06a4dced463f103b38040067d2cc6f55344d9ce).
- The backported commit ef09292005d67708511a44c8285df1342ab66bd1 is part of
this release.
|
|
|
|
|
|
|
|
weechat 2.8-2 recognises scripts in /usr/share/weechat/, so there is no need to
create a symlink to weechat-matrix.py in ~/.weechat/python/ any more.
|
|
|
|
Improve the packaging thanks to dvzrv and eschwartz: the Python module is now
properly installed to site-pages, which has the advantage of tracked dependency
versions as well as pregenerated bytecode. The only thing left in
/usr/share/weechat/python/ is the WeeChat script that needs to be symlinked to
WEECHAT_HOME by the user. It was renamed to weechat-matrix.py because using the
name matrix.py leads to a circular import error.
As a result users will have to update their symbolic links after the upgrade,
this is documented by a post_upgrade message.
|
|
|