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.5.0 to 2.7.1 #83

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 3, 2022

Bumps scrapy from 2.5.0 to 2.7.1.

Release notes

Sourced from scrapy's releases.

2.7.1

  • Relaxed the restriction introduced in 2.6.2 so that the Proxy-Authentication header can again be set explicitly in certain cases, restoring compatibility with scrapy-zyte-smartproxy 2.1.0 and older
  • Bug fixes

See the full changelog

2.7.0

See the full changelog

2.6.3

Makes pip install Scrapy work again.

It required making changes to support pyOpenSSL 22.1.0. We had to drop support for SSLv3 as a result.

We also upgraded the minimum versions of some dependencies.

See the changelog.

2.6.2

Fixes a security issue around HTTP proxy usage, and addresses a few regressions introduced in Scrapy 2.6.0.

See the changelog.

2.6.1

Fixes a regression introduced in 2.6.0 that would unset the request method when following redirects.

2.6.0

  • Security fixes for cookie handling (see details below)
  • Python 3.10 support
  • asyncio support is no longer considered experimental, and works out-of-the-box on Windows regardless of your Python version
  • Feed exports now support pathlib.Path output paths and per-feed item filtering and post-processing

See the full changelog

Security bug fixes

  • When a Request object with cookies defined gets a redirect response causing a new Request object to be scheduled, the cookies defined in the original Request object are no longer copied into the new Request object.

    If you manually set the Cookie header on a Request object and the domain name of the redirect URL is not an exact match for the domain of the URL of the original Request object, your Cookie header is now dropped from the new Request object.

    The old behavior could be exploited by an attacker to gain access to your cookies. Please, see the cjvr-mfj7-j4j8 security advisory for more information.

... (truncated)

Changelog

Sourced from scrapy's changelog.

Scrapy 2.7.1 (2022-11-02)

New features


-   Relaxed the restriction introduced in 2.6.2 so that the
    ``Proxy-Authentication`` header can again be set explicitly, as long as the
    proxy URL in the :reqmeta:`proxy` metadata has no other credentials, and
    for as long as that proxy URL remains the same; this restores compatibility
    with scrapy-zyte-smartproxy 2.1.0 and older (:issue:`5626`).

Bug fixes


-   Using ``-O``/``--overwrite-output`` and ``-t``/``--output-format`` options
    together now produces an error instead of ignoring the former option
    (:issue:`5516`, :issue:`5605`).
  • Replaced deprecated :mod:asyncio APIs that implicitly use the current
    event loop with code that explicitly requests a loop from the event loop
    policy (:issue:5685, :issue:5689).

  • Fixed uses of deprecated Scrapy APIs in Scrapy itself (:issue:5588,
    :issue:5589).

  • Fixed uses of a deprecated Pillow API (:issue:5684, :issue:5692).

  • Improved code that checks if generators return values, so that it no longer
    fails on decorated methods and partial methods (:issue:5323,
    :issue:5592, :issue:5599, :issue:5691).

Documentation
</code></pre>
<ul>
<li>
<p>Upgraded the Code of Conduct to Contributor Covenant v2.1 (:issue:<code>5698</code>).</p>
</li>
<li>
<p>Fixed typos (:issue:<code>5681</code>, :issue:<code>5694</code>).</p>
</li>
</ul>
<p>Quality assurance</p>
<pre><code>

  • Re-enabled some erroneously disabled flake8 checks (:issue:5688).

  • Ignored harmless deprecation warnings from :mod:typing in tests
    (:issue:5686, :issue:5697).

  • Modernized our CI configuration (:issue:5695, :issue:5696).

&lt;/tr&gt;&lt;/table&gt;
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/scrapy/scrapy/commit/6ded3cf4cd134b615239babe28bb28c3ff524b05&quot;&gt;&lt;code&gt;6ded3cf&lt;/code&gt;&lt;/a> Bump version: 2.7.0 → 2.7.1</li>
<li><a href="https://github.com/scrapy/scrapy/commit/95880c5de1b1909bf03303fb9c02cddb0508fe1a&quot;&gt;&lt;code&gt;95880c5&lt;/code&gt;&lt;/a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5701&quot;&gt;#5701&lt;/a> from scrapy/relnotes-2.7.1</li>
<li><a href="https://github.com/scrapy/scrapy/commit/5ec175b8bb08f93c431d7d64d2389b90ec7a1f37&quot;&gt;&lt;code&gt;5ec175b&lt;/code&gt;&lt;/a> Small relnotes fixes.</li>
<li><a href="https://github.com/scrapy/scrapy/commit/940a73863bf7dcb16b3f2d9f5efb83efe4599712&quot;&gt;&lt;code&gt;940a738&lt;/code&gt;&lt;/a> Release notes for 2.7.1.</li>
<li><a href="https://github.com/scrapy/scrapy/commit/a95a338eeada7275a5289cf036136610ebaf07eb&quot;&gt;&lt;code&gt;a95a338&lt;/code&gt;&lt;/a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5599&quot;&gt;#5599&lt;/a> from tonal/patch-1</li>
<li><a href="https://github.com/scrapy/scrapy/commit/9077d0f9b490114f117c668f115240c16afccedf&quot;&gt;&lt;code&gt;9077d0f&lt;/code&gt;&lt;/a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5698&quot;&gt;#5698&lt;/a> from pankali/patch-1</li>
<li><a href="https://github.com/scrapy/scrapy/commit/76c2cb070e4efe3ae33a4b3d72a5bcac6709f48f&quot;&gt;&lt;code&gt;76c2cb0&lt;/code&gt;&lt;/a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5697&quot;&gt;#5697&lt;/a> from iamkaushal/<a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5686&quot;&gt;#5686&lt;/a&gt;_fix&lt;/li>
<li><a href="https://github.com/scrapy/scrapy/commit/9f45be439de8a3b9a6d201c33e98b408a73c02bb&quot;&gt;&lt;code&gt;9f45be4&lt;/code&gt;&lt;/a> Update Code of Conduct to Contributor Covenant v2.1</li>
<li><a href="https://github.com/scrapy/scrapy/commit/bd9e482c2f0db92065708c8291be6e8bc1f05218&quot;&gt;&lt;code&gt;bd9e482&lt;/code&gt;&lt;/a> added typing.io and typing.re in pytest warning filter to ignore</li>
<li><a href="https://github.com/scrapy/scrapy/commit/fd692f309105d917f5f46bd00a88c550d6cc7da3&quot;&gt;&lt;code&gt;fd692f3&lt;/code&gt;&lt;/a> Prevent running the -O and -t command-line options together (<a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5605&quot;&gt;#5605&lt;/a&gt;)&lt;/li>
<li>Additional commits viewable in <a href="https://github.com/scrapy/scrapy/compare/2.5.0...2.7.1&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

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

---
updated-dependencies:
- dependency-name: scrapy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 3, 2022

The following labels could not be found: skip-changelog, dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 3, 2023

Superseded by #124.

@dependabot dependabot bot closed this Feb 3, 2023
@dependabot dependabot bot deleted the dependabot/pip/scrapy-2.7.1 branch February 3, 2023 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants