Skip to content

build(deps): update scrapy requirement from >=2.19.0 to >=2.20.0 in the pip-dependencies group across 1 directory - #3679

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pip-dependencies-3dd7a52a6e
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pip-dependencies-3dd7a52a6e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Updates the requirements on scrapy to permit the latest version.
Updates scrapy to 2.20.0

Release notes

Sourced from scrapy's releases.

2.20.0

  • Web-browser-like detection of response encodings, base URLs and meta refresh redirects, powered by frostwork
  • Requests can be awaited to get their response
  • Non-asyncio Twisted reactors are deprecated

Full changelog

Changelog

Sourced from scrapy's changelog.

Scrapy 2.20.0 (2026-11-06)

Highlights:

  • Web-browser-like detection of response encodings, base URLs and meta refresh redirects, powered by frostwork_

  • Requests can be awaited to get their response

  • Non-asyncio Twisted reactors are deprecated

Security bug fixes


-   Scrapy now limits by default the memory that responses can take, fixing
    `CVE-2017-14158`_.
In previous Scrapy versions, the only limit on the total size of responses
in memory, ``SCRAPER_SLOT_MAX_ACTIVE_SIZE``, covered responses waiting for
or going through spider callbacks. Responses to other requests, like those
of :ref:`media pipelines <topics-media-pipeline>`, had no limit. For
example, when media pipelines downloaded files faster than they could store
them, e.g. to Amazon S3, the downloaded files piled up in memory, so a
crawled website could make Scrapy run out of memory.

The new :setting:RESPONSE_MAX_ACTIVE_SIZE setting replaces
SCRAPER_SLOT_MAX_ACTIVE_SIZE and covers all responses in memory,
including those to :ref:awaited requests <inline-requests> and to
requests sent with :meth:ExecutionEngine.download_async() <scrapy.core.engine.ExecutionEngine.download_async>. Use it to change or
disable the limit. The :command:shell disables it.

.. _CVE-2017-14158: GHSA-h7wm-ph43-c39p

(:gh:482, :gh:4583, :gh:6430, :gh:8417, :gh:8459, :gh:8460)

  • :class:~scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware
    now decodes at most 1 content coding per response by default, and drops
    responses that apply more with :exc:~scrapy.exceptions.IgnoreRequest.

    In previous Scrapy versions, the number of content codings was unlimited,
    so a malicious server could send a response with a Content-Encoding
    header that chains thousands of codings (e.g. gzip, gzip, gzip, …) to
    make Scrapy run as many decompression passes, causing high CPU and memory
    usage. See the j72p-v7rm-cwm3_ security advisory for details.

    To allow more content codings per response, set the new
    :setting:COMPRESSION_MAX_ENCODINGS setting.

</tr></table>

... (truncated)

Commits
  • 4a421e4 Bump version: 2.19.0 → 2.20.0
  • 373d914 Fix frostwork and typing-extensions versions in the 2.20.0 release notes
  • c6b1743 Make MetaRefresh a dataclass not exported from scrapy.http
  • 2b30fee Link extractors and SitemapSpider follow file://, ftp:// and s3:// URLs from ...
  • 5204544 Files and images pipelines send S3 requests over plaintext HTTP by default
  • 6621b09 Redirects to no_proxy hosts sent through the environment proxy
  • 08f4176 Per-request http_user and http_pass credentials leaked on cross-domain redirects
  • 06c866b Unbounded Content-Encoding decompression chain allows denial of service
  • b184934 Add release notes for Scrapy 2.20.0 (#8462)
  • 9ddd3a7 Do not count body_file requests toward RESPONSE_MAX_ACTIVE_SIZE (#8466)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 16, 2026
@dependabot
dependabot Bot requested review from jbampton and smriad as code owners November 16, 2026 07:55
@dependabot dependabot Bot added the python Pull requests that update Python code label Nov 16, 2026
@github-actions github-actions Bot added the repo label Nov 16, 2026
Updates the requirements on [scrapy](https://github.com/scrapy/scrapy) to permit the latest version.

Updates `scrapy` to 2.20.0
- [Release notes](https://github.com/scrapy/scrapy/releases)
- [Changelog](https://github.com/scrapy/scrapy/blob/master/docs/news.rst)
- [Commits](scrapy/scrapy@2.19.0...2.20.0)

---
updated-dependencies:
- dependency-name: scrapy
  dependency-version: 2.20.0
  dependency-type: direct:production
  dependency-group: pip-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): update scrapy requirement from >=2.19.0 to >=2.20.0 in the pip-dependencies group build(deps): update scrapy requirement from >=2.19.0 to >=2.20.0 in the pip-dependencies group across 1 directory Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/pip-dependencies-3dd7a52a6e branch from d431ca1 to 9b273f0 Compare November 23, 2026 07:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code repo size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants