Arjun icon indicating copy to clipboard operation
Arjun copied to clipboard

python-ratelimit dependency missing on arch linux

Open omardoescode opened this issue 3 months ago • 1 comments

Not sure if this is the right place to post about this issue.

However, when installing the package from the AUR, the dependency of python-ratelimit isn't installed, which the arjun uses in requester.py

➜  src arjun -u https://api.example.com/endpoint
    _
   /_| _ '
  (  |/ /(//) v2.2.7
      _/

Traceback (most recent call last):
  File "/usr/bin/arjun", line 33, in <module>
    sys.exit(load_entry_point('arjun==2.2.7', 'console_scripts', 'arjun')())
             ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/arjun", line 25, in importlib_load_entry_point
    return next(matches).load()
           ~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 179, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3.13/site-packages/arjun/__main__.py", line 96, in <module>
    from arjun.core.requester import requester
  File "/usr/lib/python3.13/site-packages/arjun/core/requester.py", line 9, in <module>
    from ratelimit import limits, sleep_and_retry
ModuleNotFoundError: No module named 'ratelimit'

omardoescode avatar Sep 20 '25 16:09 omardoescode

There is this thing called "Comment" on AUR package page where you can post such things. Fixed in 2.2.7-3

micwoj92 avatar Oct 27 '25 19:10 micwoj92