Package Details: mautrix-telegram 0.15.3-1

Git Clone URL: https://aur.archlinux.org/mautrix-telegram.git (read-only, click to copy)
Package Base: mautrix-telegram
Description: Matrix-Telegram hybrid puppeting/relaybot bridge
Upstream URL: https://github.com/tulir/mautrix-telegram
Licenses: AGPLv3
Submitter: BrainDamage
Maintainer: BrainDamage
Last Packager: BrainDamage
Votes: 9
Popularity: 0.000620
First Submitted: 2020-11-09 15:48 (UTC)
Last Updated: 2025-07-17 17:33 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

micwoj92 commented on 2026-01-19 06:41 (UTC)

@BrainDamage Could you remove pytest-runner from makedeps? It's not needed.

micwoj92 commented on 2025-09-20 06:34 (UTC)

For python-wheel makedep in that section there is 1 discussion on talk page, but noone from arch linux team answered yet: https://wiki.archlinux.org/title/Talk:Python_package_guidelines#PEP517:_Recommend_against_adding_python-wheel_to_makedepends?

marcool04 commented on 2025-09-20 04:41 (UTC)

Quite right indeed. My apologies.

micwoj92 commented on 2025-09-20 01:00 (UTC)

That is why I added setuptools there? If you look that python-pytest-runner depends on setuptools it is logical that it is not pulled and needs to be added. IN same thought wheel was removed, because setuptools depends on it. So my patch wast helpful? It's impossible to get this error with what I posted.

marcool04 commented on 2025-09-19 06:30 (UTC) (edited on 2025-09-20 04:39 (UTC) by marcool04)

Fair enough, but in your diff you also unnecessarily change python-wheel for python-setuptools...

Edit: actually if you remove python-pytest-runner, then in a clean chroot the build fails with:

==> Starting build()...                                                                                                                                                       
* Getting build dependencies for wheel...                                                                                                                                     

Traceback (most recent call last):                                                                                                                                            
  File "/usr/lib/python3.13/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook                                                                                  
    raise BackendUnavailable(                                                                                                                                                 
    ...<4 lines>...                                                                                                                                                           
    )                                                                                                                                                                         
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'                                                                                               

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

micwoj92 commented on 2025-09-18 18:40 (UTC)

python-pytest-runner makedep is not needed.

marcool04 commented on 2025-09-15 06:48 (UTC)

@micwoj92: Why would the maintainer do that? The PKGBUILD follows the guidelines [1] perfectly.

[1] https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)

micwoj92 commented on 2025-09-14 23:17 (UTC)

Please update makedeps:

diff --git a/PKGBUILD b/PKGBUILD
index 711c966..b0ab8d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('python' 'python-asyncpg' 'python-ruamel-yaml'
        'python-mautrix>=0.20.8' 'python-mautrix<0.21'
        'python-tulir-telethon'
        'python-mako')
-makedepends=('python-build' 'python-installer' 'python-wheel' 'python-pytest-runner')
+makedepends=('python-build' 'python-installer' 'python-setuptools')
 optdepends=('ffmpeg: high quality thumbnails'
        'python-cryptg: faster encryption'
        'python-cchardet: faster encoding detection'

julianuu commented on 2023-10-07 16:41 (UTC)

The service fails with python -m mautrix-telegram: error: unrecognized arguments: -b /usr/share/mautrix-telegram/example-config.yaml. It seems to run after removing -b /usr/share/mautrix-telegram/example-config.yaml from the service file.

Kimiblock commented on 2023-09-22 05:12 (UTC)

error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-tulir-telethon (1.30.0a2-1) breaks dependency 'python-tulir-telethon=1.29.0a2' required by mautrix-telegram

Please remove the version lock since both packages are maintained by you. Leaving it will cause AUR helpers to break.