Control: clone 922452 -1 -2 Control: reassign -2 dh-python On 2019-02-16 10:23:23, Adrien CLERC wrote: > Hi, > > After starting sopel, I got the following errors: > > pkg_resources.DistributionNotFound: The 'dnspython<3.0' distribution was > not found and is required by sopel > > It was removed for an unkown reason on my system 6 days ago. Maybe a > transitive dependency was removed? > > Reinstalling python3-dnspython manually fixed the issue
Hi! Thank you for your bug report. This should be fixed in the next upload of sopel, but i think it hilights a problem with the underlying Python build tools. Those *should* have noticed the dnspython dependency, as it's specified in `requirements.txt`: https://salsa.debian.org/debian/sopel/raw/debian/requirements.txt In setup.py, the requirements list is read from the file: requires = read_reqs('requirements.txt') [...] setup([...], install_requires=requires, [...]) Other dependencies *are* picked up form there (and not specified in the control file): Depends: python3-geoip2, python3-praw, python3-requests, python3-tz, python3-xmltodict, python3:any, adduser, lsb-base (>= 3.0-6) It might be that the extra comparitive logic in the file confuses the parse: dnspython<2.0; python_version >= '2.7' and python_version < '3.0' dnspython<1.16.0; python_version == '3.3' dnspython<3.0; python_version >= '3.4' ... but I don't have time to investigate this further, unfortunately. A. -- A riot is the language of the unheard. - Martin Luther King, Jr.