Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 18, 2025

Bumps scrapy from 2.11.2 to 2.13.4.

Release notes

Sourced from scrapy's releases.

2.13.4

Fix for the CVE-2025-6176 security issue: improved protection against decompression bombs in HttpCompressionMiddleware for responses compressed using the br and deflate methods. Requires brotli >= 1.2.0.

Full changelog

2.13.3

  • Changed the values for DOWNLOAD_DELAY (from 0 to 1) and CONCURRENT_REQUESTS_PER_DOMAIN (from 8 to 1) in the default project template.
  • Fixed several bugs in the engine initialization and exception handling logic.
  • Allowed running tests with Twisted 25.5.0+ again and fixed test failures with lxml 6.0.0.

See the full changelog

2.13.2

  • Fixed a bug introduced in Scrapy 2.13.0 that caused results of request errbacks to be ignored when the errback was called because of a downloader error.
  • Docs and error messages improvements related to the Scrapy 2.13.0 default reactor change.

See the full changelog

2.13.1

  • Give callback requests precedence over start requests when priority values are the same.

See the full changelog

2.13.0

  • The asyncio reactor is now enabled by default
  • Replaced start_requests() (sync) with start() (async) and changed how it is iterated.
  • Added the allow_offsite request meta key
  • Spider middlewares that don't support asynchronous spider output are deprecated
  • Added a base class for universal spider middlewares

See the full changelog

2.12.0

  • Dropped support for Python 3.8, added support for Python 3.13
  • start_requests can now yield items
  • Added scrapy.http.JsonResponse
  • Added the CLOSESPIDER_PAGECOUNT_NO_ITEM setting

See the full changelog.

Changelog

Sourced from scrapy's changelog.

Scrapy 2.13.4 (2025-11-17)

Security bug fixes


-   Improved protection against decompression bombs in
    :class:`~scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware`
    for responses compressed using the ``br`` and ``deflate`` methods: if a
    single compressed chunk would be larger than the response size limit (see
    :setting:`DOWNLOAD_MAXSIZE`) when decompressed, decompression is no longer
    carried out. This is especially important for the ``br`` (Brotli) method
    that can provide a very high compression ratio. Please, see the
    `CVE-2025-6176`_ and `GHSA-2qfp-q593-8484`_ security advisories for more
    information.
    (:issue:`7134`)
.. _CVE-2025-6176: https://nvd.nist.gov/vuln/detail/CVE-2025-6176
.. _GHSA-2qfp-q593-8484: https://github.com/advisories/GHSA-2qfp-q593-8484

Modified requirements

  • The minimum supported version of the optional brotli package is now 1.2.0. (:issue:7134)

  • The brotlicffi and brotlipy packages can no longer be used to decompress Brotli-compressed responses. Please install the brotli package instead. (:issue:7134)

Other changes


-   Restricted the maximum supported Twisted version to ``25.5.0``, as Scrapy
    currently uses some private APIs changed in later Twisted versions.
    (:issue:`7142`)
  • Stopped setting the COVERAGE_CORE environment variable in tests, it
    didn't have an effect but caused the coverage module to produce a
    warning or an error.
    (:issue:7137)

  • Removed the documentation build dependency on the deprecated
    sphinx-hoverxref module.
    (:issue:6786, :issue:6922)

.. _release-2.13.3:

</tr></table>

... (truncated)

Commits
  • 2f62ab5 Bump version: 2.13.3 → 2.13.4
  • 31a9c03 Release notes for 2.13.4. (#7144)
  • c44b8df Cherry-pick: Mitigate brotli and deflate decompression bombs DoS (#7134)
  • d091256 Remove the deprecated sphinx-hoverxref (#6922)
  • c83ca70 Don't force the unavailable sysmon coverage core. (#7137)
  • 85e4e6c Pin Twisted to <= 25.5.0 due to internal API changes.
  • 155a504 Bump version: 2.13.2 → 2.13.3
  • cf465bf Release notes for 2.13.3. (#6934)
  • c9cdf0a Narrow down TestEngine::test_short_timeout() expectations. (#6911)
  • 03fe7a6 Add a deprecation notice for the offsite spider middleware.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [scrapy](https://github.com/scrapy/scrapy) from 2.11.2 to 2.13.4.
- [Release notes](https://github.com/scrapy/scrapy/releases)
- [Changelog](https://github.com/scrapy/scrapy/blob/master/docs/news.rst)
- [Commits](scrapy/scrapy@2.11.2...2.13.4)

---
updated-dependencies:
- dependency-name: scrapy
  dependency-version: 2.13.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 18, 2025
@github-actions
Copy link

Your Upsun Fixed environment has successfully deployed. 🚀

See the site:

@gilzow gilzow mentioned this pull request Nov 19, 2025
2 tasks
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 markdown/prose python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants