Bump scrapy from 1.7.3 to 2.8.0
Bumps scrapy from 1.7.3 to 2.8.0.
Release notes
Sourced from scrapy's releases.
2.8.0
This is a maintenance release, with minor features, bug fixes, and cleanups.
2.7.1
- Relaxed the restriction introduced in 2.6.2 so that the
Proxy-Authenticationheader can again be set explicitly in certain cases, restoring compatibility with scrapy-zyte-smartproxy 2.1.0 and older- Bug fixes
2.7.0
- Added Python 3.11 support, dropped Python 3.6 support
- Improved support for asynchronous callbacks
- Asyncio support is enabled by default on new projects
- Output names of item fields can now be arbitrary strings
- Centralized request fingerprinting configuration is now possible
2.6.3
Makes
pip install Scrapywork 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.Pathoutput paths and per-feed item filtering and post-processingSecurity bug fixes
... (truncated)
Changelog
Sourced from scrapy's changelog.
Scrapy 2.8.0 (2023-02-02)
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_strfunction, deprecated in Scrapy 2.0, has now been removed. Use :func:scrapy.utils.python.to_unicodeinstead. (:issue:5719)The
scrapy.utils.python.MutableChain.nextmethod, deprecated in Scrapy 2.0, has now been removed. Use :meth:~scrapy.utils.python.MutableChain.__next__instead. (:issue:5719)The
scrapy.linkextractors.FilteringLinkExtractorclass, 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
noconnectquery 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_eintrfunction, deprecated in Scrapy 2.3, has now been removed. (:issue:5719)The
scrapy.utils.python.WeakKeyCacheclass, 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://redirect.github.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://redirect.github.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://redirect.github.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://redirect.github.com/scrapy/scrapy/issues/5806">#5806</a> from jxlil/master</li> <li>Additional commits viewable in <a href="https://github.com/scrapy/scrapy/compare/1.7.3...2.8.0">compare view</a></li> </ul> </details>
<br />
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.