This is a maintenance release, with minor features, bug fixes, and cleanups.
Deprecation removals
- The ``scrapy.utils.gz.read1`` function, deprecated in Scrapy 2.0, has now
been removed. Use the :meth:`~io.BufferedIOBase.read1` method of
:class:`~gzip.GzipFile` instead.
(:issue:`5719`)
The scrapy.utils.python.to_native_str function, deprecated in Scrapy
2.0, has now been removed. Use :func:scrapy.utils.python.to_unicode
instead.
(:issue:5719)
The scrapy.utils.python.MutableChain.next method, deprecated in Scrapy
2.0, has now been removed. Use
:meth:~scrapy.utils.python.MutableChain.__next__ instead.
(:issue:5719)
The scrapy.linkextractors.FilteringLinkExtractor class, deprecated
in Scrapy 2.0, has now been removed. Use
:class:LinkExtractor <scrapy.linkextractors.lxmlhtml.LxmlLinkExtractor>
instead.
(:issue:5720)
Support for using environment variables prefixed with SCRAPY_ to
override settings, deprecated in Scrapy 2.0, has now been removed.
(:issue:5724)
Support for the noconnect query string argument in proxy URLs,
deprecated in Scrapy 2.0, has now been removed. We expect proxies that used
to need it to work fine without it.
(:issue:5731)
The scrapy.utils.python.retry_on_eintr function, deprecated in Scrapy
2.3, has now been removed.
(:issue:5719)
The scrapy.utils.python.WeakKeyCache class, deprecated in Scrapy 2.4,
has now been removed.
(:issue:5719)
Deprecations
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/scrapy/scrapy/commit/c34ca4aef5fbfeba5c832a327ee36147cd6fb20f"><code>c34ca4a</code></a> Bump version: 2.7.1 → 2.8.0</li>
<li><a href="https://github.com/scrapy/scrapy/commit/068af85722a41a1361e170f104e64fccfff662b7"><code>068af85</code></a> Add release notes for Scrapy 2.8 (<a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5799">#5799</a>)</li>
<li><a href="https://github.com/scrapy/scrapy/commit/8c8894f4bec66c2af7d8dbbbf448109ff5dea22d"><code>8c8894f</code></a> Apply black formatting to templates (<a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5814">#5814</a>)</li>
<li><a href="https://github.com/scrapy/scrapy/commit/b337c986ca1188f4b26d30c9ae4bb7ff457ed505"><code>b337c98</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5798">#5798</a> from Gallaecio/no-callback</li>
<li><a href="https://github.com/scrapy/scrapy/commit/78eaf0671bd50642f68d5b07bec3175298120a60"><code>78eaf06</code></a> Remove typing-extensions from tox.ini</li>
<li><a href="https://github.com/scrapy/scrapy/commit/4239f7e12be664d2af0cba2749d925ff3d75bc94"><code>4239f7e</code></a> Merge remote-tracking branch 'Gallaecio/no-callback' into no-callback</li>
<li><a href="https://github.com/scrapy/scrapy/commit/389fd99e79374bad73faf98424c97ac804eb1a68"><code>389fd99</code></a> get_media_requests: support and encourage callback=NO_CALLBACK</li>
<li><a href="https://github.com/scrapy/scrapy/commit/e1699479f6e48ce87dea1e6ed5661fea9ca7b1aa"><code>e169947</code></a> Fix typo: download middleware → downloader middleware</li>
<li><a href="https://github.com/scrapy/scrapy/commit/ccd1385e1134d62c1619a6e6fc7ee9dc520d37f3"><code>ccd1385</code></a> Merge branch 'master' into no-callback</li>
<li><a href="https://github.com/scrapy/scrapy/commit/da15d93d3992c15026ae02e2eada613e1ff7a5ec"><code>da15d93</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/scrapy/scrapy/issues/5806">#5806</a> from jxlil/master</li>
<li>Additional commits viewable in <a href="https://github.com/scrapy/scrapy/compare/2.7.1...2.8.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=scrapy&package-manager=pip&previous-version=2.7.1&new-version=2.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
Dependabot will merge this PR once it's up-to-date and CI passes on it, as requested by @nstapelbroek.
[//]: # (dependabot-automerge-end)
---
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 from 2.7.1 to 2.8.0.
Release notes
Sourced from scrapy's releases.
Changelog
Sourced from scrapy's changelog.