Package Details: python-telethon 1.19.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-telethon
Description: Full-featured Telegram client library for Python 3
Upstream URL:
Licenses: MIT
Submitter: MaskRay
Maintainer: lilydjwg (lilac)
Last Packager: lilac
Votes: 4
Popularity: 0.031790
First Submitted: 2017-11-03 04:47
Last Updated: 2021-01-05 20:19

Latest Comments

lilydjwg commented on 2020-11-02 10:28

@JuniorJPDJ You need to pacman -R python-telethon. There was issues with 1.17.4.

JuniorJPDJ commented on 2020-11-02 10:21

I've got error when trying to update to 1.17.5 today:

==> Starting build()...
Traceback (most recent call last):
  File "", line 22, in <module>
    from setuptools import find_packages, setup
  File "/usr/lib/python3.8/site-packages/setuptools/", line 16, in <module>
    import setuptools.version
  File "/usr/lib/python3.8/site-packages/setuptools/", line 1, in <module>
    import pkg_resources
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3239, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3222, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 3251, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 558, in _build_master
    ws = cls()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 551, in __init__
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 607, in add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2060, in find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2125, in distributions_from_metadata
    yield Distribution.from_location(
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2585, in from_location
    return cls(
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2985, in _reload_version
    md_version = self._get_version()
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2767, in _get_version
    version = _version_from_file(lines)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2551, in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 2762, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 1415, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 1405, in get_metadata
    value = self._get(path)
  File "/usr/lib/python3.8/site-packages/pkg_resources/", line 1609, in _get
    with open(path, 'rb') as stream:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages/Telethon-1.17.4-py3.8.egg-info/PKG-INFO'

BrainDamage commented on 2020-01-01 15:06

This package installs the tests dir in the destination python dir, this can conflict with many other packages. To fix it, add: local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") rm -r "$pkgdir/$site_packages/tests/"

after executing install.

( see also )

lilydjwg commented on 2019-11-12 05:29

Hi streetwalrus, sorry for the delay because I didn't received notification.

Issues 1 and 2 have been resolved and I will implement others soon.

novenary commented on 2019-03-31 20:51

Hi, there are some minor issues with your PKGBUILD:
- async_generator is no longer required
- setuptools should be in the makedepends array, it's not required at runtime at any point
- you should not set $LANG unless it's strictly necessary to build (which is not the case here), and especially not to en_US.UTF-8 as it will to fail if that locale isn't enabled on the build machine
- since the license is MIT, you should install the license file (install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE")

I maintain the -git equivalent of this package and talk to the author on a daily basis, feel free to ask me if you have any questions. :)

5boro commented on 2018-08-08 09:42

Missing dependency : python-async_generator