Package Details: mautrix-telegram 0.12.2-1

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

Latest Comments

1 2 3 Next › Last »

sukanka commented on 2022-11-29 14:27 (UTC)

could you please use python-tulir-telethon instead of python-tulir-telethon=1.27.0a1 as depends? They are both maintained by you, so there is no risk of version mismatch, and yay can then update them.

BrainDamage commented on 2022-09-02 12:54 (UTC)

That's a limitation in makepkg, runtime deps get installed as build-deps.

Either build in a separate machine/chroot, or temp uninstall mautrix-telegram while compiling the new one

sukanka commented on 2022-09-02 10:20 (UTC)

failed to upgrade this package by yay -S mautrix-telegram

$ yay -S mautrix-telegram
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

Aur (3) python-mautrix-0.17.8-1  python-tulir-telethon-1.25.0a20-1  mautrix-telegram-0.12.0-1

:: Proceed to review? [Y/n]:  

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: python-mautrix 0.17.8-1 (Fri 02 Sep 2022 06:19:06 PM CST)
==> Retrieving sources...
  -> Found python-mautrix-0.17.8.tar.gz
==> Validating source files with sha256sums...
    python-mautrix-0.17.8.tar.gz ... Passed
==> Making package: python-mautrix 0.17.8-1 (Fri 02 Sep 2022 06:19:08 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found python-mautrix-0.17.8.tar.gz
==> Validating source files with sha256sums...
    python-mautrix-0.17.8.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python-mautrix-0.17.8.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
python-mautrix-0.17.8-1: parsing pkg list...
:: python-mautrix-0.17.8-1 is up to date -- skipping build
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-mautrix (0.17.8-1) breaks dependency 'python-mautrix<0.17' required by mautrix-telegram
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-mautrix (0.17.8-1) breaks dependency 'python-mautrix<0.17' required by mautrix-telegram
loading packages...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing python-mautrix (0.17.8-1) breaks dependency 'python-mautrix<0.17' required by mautrix-telegram
error: packages failed to build: python-tulir-telethon-1.25.0a20-1  mautrix-telegram-0.12.0-1

zotan commented on 2022-04-17 16:59 (UTC)

This now depends on python-mautrix >= 0.16.1

istobic commented on 2022-01-07 17:25 (UTC) (edited on 2022-01-07 17:28 (UTC) by istobic)

Currently, one needs to change from python-telethon to python-telethon-tulir-git to get this working. The changes are not upstreamed to python-telethon yet. Also, it does no longer depend on python-telethon-session-sqlalchemy (@BrainDamage)

zotan commented on 2021-12-16 20:48 (UTC)

@BrainDamage: As far as I can tell telethon released an update which does require a patched library anymore, I was able to build the package with the current AUR versions of python-telethon and python-mautrix with this PKGBUILD, editing only the min/max versions of the respective packages. Tested & working.

BrainDamage commented on 2021-11-17 19:42 (UTC) (edited on 2021-11-17 19:43 (UTC) by BrainDamage)

re: the out-of-date flag, unfortunately the new version depends on a patched library for which I have no time/energy to package right now

noctux commented on 2021-11-09 15:10 (UTC)

It's not really a problem with mautrix-telegram, newer python-sqlalchemy releases have now dropped the postgres:// uri syntax to specify database paths. You now have to use postgresql:// in your config file.

kauron commented on 2021-11-09 15:01 (UTC) (edited on 2021-11-09 15:20 (UTC) by kauron)

Hi there! It seems that python-sqlalchemy >= 1.4 breaks this package, with the following error message (this happened after upgrading from 1.3.23-1 to 1.4.25-1; downgrading fixed it). I don't know what the root cause of this problem is, or if it should be reported upstream.

As always, it is a user error: thanks @noctux.

BrainDamage commented on 2021-09-13 16:23 (UTC) (edited on 2021-09-13 16:23 (UTC) by BrainDamage)

@sdfg: I've used upstream values, the problem is exactly the one in comment of the pkgbuild. The small range makes tracking releases a nightmare, pinning a single version would make the problem worse, not better. In this case by increasing the range to allow version 1.23 of telethon we're going against upstream's values, so if it breaks, it's on our own; for other libraries they don't seem to break the api, but those two in particular they routinely do, so just allowing arbitrary ranges produces all sorts of breakages ...

@nocctux: fixed, thanks.