Closed Markus00000 closed 9 months ago
For some reason the httpx
HTTP Client library is not installed in your system, even though is listed as a requirement.
pip show webchanges
[...]
Requires: colorama, cssselect, h2, html2text, **httpx**, lxml, markdown2, msgpack, platformdirs, pyyaml, tzdata
(emphasis mine)
Since it's a requirement there's no testing on what happens when the package is missing, and you discovered a bug in the fallback to requests
. While I will be fixing this, it sounds that there's something wrong with the Arch packager (sorry, not familiar with it).
3.19 has been released.
Describe the bug
Since version 3.18.1 jobs fail with an AttributeError. I will also post this as a comment to the Arch packager.
Traceback:
To Reproduce
Example job:
Version info
2024-02-28 10:58:17,365 cli[126227908015936] INFO: webchanges: 3.18.1 Copyright 2020- Mike Borsetti 2024-02-28 10:58:17,365 cli[126227908015936] INFO: CPython: 3.11.7 ('main', 'Jan 29 2024 16:03:57') GCC 13.2.1 20230801 2024-02-28 10:58:17,366 cli[126227908015936] INFO: System: Linux-6.7.6-arch1-1-x86_64-with-glibc2.39