Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump scrapy from 2.9.0 to 2.11.1 in /backend/worker #2542

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 15, 2024

Bumps scrapy from 2.9.0 to 2.11.1.

Release notes

Sourced from scrapy's releases.

2.11.1

  • Security bug fixes.
  • Support for Twisted >= 23.8.0.
  • Documentation improvements.

See the full changelog.

2.11.0

  • Spiders can now modify settings in their from_crawler methods, e.g. based on spider arguments.
  • Periodic logging of stats.
  • Bug fixes.

See the full changelog.

2.10.1

Marked Twisted >= 23.8.0 as unsupported.

2.10.0

  • Added Python 3.12 support, dropped Python 3.7 support.
  • The new add-ons framework simplifies configuring 3rd-party components that support it.
  • Exceptions to retry can now be configured.
  • Many fixes and improvements for feed exports.

See the full changelog.

Changelog

Sourced from scrapy's changelog.

Scrapy 2.11.1 (2024-02-14)

Highlights:

  • Security bug fixes.

  • Support for Twisted >= 23.8.0.

  • Documentation improvements.

Security bug fixes


-   Addressed `ReDoS vulnerabilities`_:
-   ``scrapy.utils.iterators.xmliter`` is now deprecated in favor of
    :func:`~scrapy.utils.iterators.xmliter_lxml`, which
    :class:`~scrapy.spiders.XMLFeedSpider` now uses.
To minimize the impact of this change on existing code,
:func:`~scrapy.utils.iterators.xmliter_lxml` now supports indicating
the node namespace with a prefix in the node name, and big files with
highly nested trees when using libxml2 2.7+.
  • Fixed regular expressions in the implementation of the
    :func:~scrapy.utils.response.open_in_browser function.

Please, see the cc65-xxvf-f7r9 security advisory_ for more information.

.. _ReDoS vulnerabilities: https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
.. _cc65-xxvf-f7r9 security advisory: GHSA-cc65-xxvf-f7r9

  • :setting:DOWNLOAD_MAXSIZE and :setting:DOWNLOAD_WARNSIZE now also apply to the decompressed response body. Please, see the 7j7m-v7m3-jqm7 security advisory_ for more information.

    .. _7j7m-v7m3-jqm7 security advisory: GHSA-7j7m-v7m3-jqm7

  • Also in relation with the 7j7m-v7m3-jqm7 security advisory_, the deprecated scrapy.downloadermiddlewares.decompression module has been removed.

  • The Authorization header is now dropped on redirects to a different domain. Please, see the cw9j-q3vf-hrrv security advisory_ for more information.

    .. _cw9j-q3vf-hrrv security advisory: GHSA-cw9j-q3vf-hrrv

Modified requirements </tr></table>

... (truncated)

Commits
  • 2f1d345 Solve test issues
  • 502addc Bump version: 2.11.0 → 2.11.1
  • 6b88b33 Set the release date of versions 2.11.1 and 1.8.4
  • 479619b Merge branch '2.11-redos' into 2.11
  • 809bfac Merge branch '2.11-compression-bomb' into 2.11
  • 5bcb8fd Merge branch '2.11-authorization' into 2.11
  • a55e933 Release notes for 2.11.1 (#6150)
  • 5e5a920 Remove slow leftovers
  • 810aaa6 Undo an unintended change
  • c5dad41 Speed up tests, remove comments without regexps
  • 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.9.0 to 2.11.1.
- [Release notes](https://github.com/scrapy/scrapy/releases)
- [Changelog](https://github.com/scrapy/scrapy/blob/master/docs/news.rst)
- [Commits](scrapy/scrapy@2.9.0...2.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added Dependencies Pull requests that update a dependency file Python Pull requests that update Python code labels Feb 15, 2024
@Matthew-Grayson
Copy link
Contributor

Webscraper is broken until this PR is merged.
Closes issue #2431
Related to PR #2433

@Matthew-Grayson Matthew-Grayson mentioned this pull request Feb 17, 2024
12 tasks
Copy link
Contributor

@Matthew-Grayson Matthew-Grayson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This patches multiple Scrapy vulnerabilities.

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant