Package: python-scrapy / 1.5.1-1+deb10u1

Metadata

Package Version Patches format
python-scrapy 1.5.1-1+deb10u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Skip tests with unattainable dependencies in Python3.patch | (download)

tests/test_linkextractors_deprecated.py | 4 4 + 0 - 0 !
tests/test_proxy_connect.py | 3 3 + 0 - 0 !
2 files changed, 7 insertions(+)

 skip tests with unattainable dependencies in python3.

Both libmproxy and sgmllib are not available for Python3. libmproxy might be in
the future.

0002 Catch StopIteration from next.patch | (download)

scrapy/utils/iterators.py | 29 16 + 13 - 0 !
1 file changed, 16 insertions(+), 13 deletions(-)

 catch stopiteration from raised from next()

Generators should not raise StopIteration, but return instead.
Python 3.7 enforces that.

CVE 2021 41125.patch | (download)

docs/topics/downloader-middleware.rst | 18 16 + 2 - 0 !
scrapy/downloadermiddlewares/httpauth.py | 21 20 + 1 - 0 !
tests/test_downloadermiddleware_httpauth.py | 85 82 + 3 - 0 !
3 files changed, 118 insertions(+), 6 deletions(-)

 add http_auth_domain to httpauthmiddleware.

Fixes CVE-2021-41125
CVE 2022 0577.patch | (download)

scrapy/downloadermiddlewares/redirect.py | 30 25 + 5 - 0 !
tests/test_downloadermiddleware_cookies.py | 153 153 + 0 - 0 !
2 files changed, 178 insertions(+), 5 deletions(-)

 merge pull request from ghsa-cjvr-mfj7-j4j8