Upstream currently requires `pyrate-limiter == 2.*`
Description:
Upstream python-moddb is incompatible with python-pyrate-limiter 3.x, the version in the arch repos; it's not possible to even import the module. Could either downgrade the requirement or patch it and maybe send the patch upstream to.
Additional info:
- package version(s):
python-moddb 0.10.0-1
,python-pyrate-limiter 3.1.0-1
Steps to reproduce:
Reproducible on a fresh arch docker image (or any arch install):
pacman -Syu python-moddb
python -c "import moddb"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.11/site-packages/moddb/__init__.py", line 3, in <module>
from .base import front_page, login, logout, parse_page, parse_results, rss, search, search_tags
File "/usr/lib/python3.11/site-packages/moddb/base.py", line 8, in <module>
from .boxes import PartialTag, ResultList, Tag, _parse_results
File "/usr/lib/python3.11/site-packages/moddb/boxes.py", line 29, in <module>
from .utils import (
File "/usr/lib/python3.11/site-packages/moddb/utils.py", line 14, in <module>
from pyrate_limiter import Duration, Limiter, RequestRate
ImportError: cannot import name 'RequestRate' from 'pyrate_limiter' (/usr/lib/python3.11/site-packages/pyrate_limiter/__init__.py)