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 aiohttp from 3.6.3 to 3.7.1 #627

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Oct 26, 2020

Bumps aiohttp from 3.6.3 to 3.7.1.

Release notes

Sourced from aiohttp's releases.

aiohttp 3.7.1 release

Bugfixes

  • Fixed a type error caused by the conditional import of Protocol. [#5111](https://github.com/aio-libs/aiohttp/issues/5111) <https://github.com/aio-libs/aiohttp/issues/5111>_
  • Server doesn't send Content-Length for 1xx or 204 [#4901](https://github.com/aio-libs/aiohttp/issues/4901) <https://github.com/aio-libs/aiohttp/issues/4901>_
  • Fix run_app typing [#4957](https://github.com/aio-libs/aiohttp/issues/4957) <https://github.com/aio-libs/aiohttp/issues/4957>_
  • Always require typing_extensions library. [#5107](https://github.com/aio-libs/aiohttp/issues/5107) <https://github.com/aio-libs/aiohttp/issues/5107>_
  • Fix a variable-shadowing bug causing ThreadedResolver.resolve to return the resolved IP as the hostname in each record, which prevented validation of HTTPS connections. [#5110](https://github.com/aio-libs/aiohttp/issues/5110) <https://github.com/aio-libs/aiohttp/issues/5110>_
  • Added annotations to all public attributes. [#5115](https://github.com/aio-libs/aiohttp/issues/5115) <https://github.com/aio-libs/aiohttp/issues/5115>_
  • Fix flaky test_when_timeout_smaller_second [#5116](https://github.com/aio-libs/aiohttp/issues/5116) <https://github.com/aio-libs/aiohttp/issues/5116>_
  • Ensure sending a zero byte file does not throw an exception [#5124](https://github.com/aio-libs/aiohttp/issues/5124) <https://github.com/aio-libs/aiohttp/issues/5124>_
  • Fix a bug in web.run_app() about Python version checking on Windows [#5127](https://github.com/aio-libs/aiohttp/issues/5127) <https://github.com/aio-libs/aiohttp/issues/5127>_

aiohttp 3.7.0 release

Features

  • Response headers are now prepared prior to running on_response_prepare hooks, directly before headers are sent to the client. [#1958](https://github.com/aio-libs/aiohttp/issues/1958) <https://github.com/aio-libs/aiohttp/issues/1958>_
  • Add a quote_cookie option to CookieJar, a way to skip quotation wrapping of cookies containing special characters. [#2571](https://github.com/aio-libs/aiohttp/issues/2571) <https://github.com/aio-libs/aiohttp/issues/2571>_
  • Call AccessLogger.log with the current exception available from sys.exc_info(). [#3557](https://github.com/aio-libs/aiohttp/issues/3557) <https://github.com/aio-libs/aiohttp/issues/3557>_
  • web.UrlDispatcher.add_routes and web.Application.add_routes return a list of registered AbstractRoute instances. AbstractRouteDef.register (and all subclasses) return a list of registered resources registered resource. [#3866](https://github.com/aio-libs/aiohttp/issues/3866) <https://github.com/aio-libs/aiohttp/issues/3866>_
  • Added properties of default ClientSession params to ClientSession class so it is available for introspection [#3882](https://github.com/aio-libs/aiohttp/issues/3882) <https://github.com/aio-libs/aiohttp/issues/3882>_
  • Don't cancel web handler on peer disconnection, raise OSError on reading/writing instead. [#4080](https://github.com/aio-libs/aiohttp/issues/4080) <https://github.com/aio-libs/aiohttp/issues/4080>_
  • Implement BaseRequest.get_extra_info() to access a protocol transports' extra info. [#4189](https://github.com/aio-libs/aiohttp/issues/4189) <https://github.com/aio-libs/aiohttp/issues/4189>_
  • Added ClientSession.timeout property. [#4191](https://github.com/aio-libs/aiohttp/issues/4191) <https://github.com/aio-libs/aiohttp/issues/4191>_
  • allow use of SameSite in cookies. [#4224](https://github.com/aio-libs/aiohttp/issues/4224) <https://github.com/aio-libs/aiohttp/issues/4224>_
  • Use loop.sendfile() instead of custom implementation if available.
Changelog

Sourced from aiohttp's changelog.

3.7.1 (2020-10-25)

Bugfixes

  • Fixed a type error caused by the conditional import of Protocol. #5111
  • Server doesn't send Content-Length for 1xx or 204 #4901
  • Fix run_app typing #4957
  • Always require typing_extensions library. #5107
  • Fix a variable-shadowing bug causing ThreadedResolver.resolve to return the resolved IP as the hostname in each record, which prevented validation of HTTPS connections. #5110
  • Added annotations to all public attributes. #5115
  • Fix flaky test_when_timeout_smaller_second #5116
  • Ensure sending a zero byte file does not throw an exception #5124
  • Fix a bug in web.run_app() about Python version checking on Windows #5127

3.7.0 (2020-10-24)

Features

  • Response headers are now prepared prior to running on_response_prepare hooks, directly before headers are sent to the client. #1958
  • Add a quote_cookie option to CookieJar, a way to skip quotation wrapping of cookies containing special characters. #2571
  • Call AccessLogger.log with the current exception available from sys.exc_info(). #3557
  • web.UrlDispatcher.add_routes and web.Application.add_routes return a list of registered AbstractRoute instances. AbstractRouteDef.register (and all subclasses) return a list of registered resources registered resource. #3866
  • Added properties of default ClientSession params to ClientSession class so it is available for introspection #3882
  • Don't cancel web handler on peer disconnection, raise OSError on reading/writing instead. #4080
  • Implement BaseRequest.get_extra_info() to access a protocol transports' extra info. #4189
  • Added ClientSession.timeout property. #4191
  • allow use of SameSite in cookies. #4224
  • Use loop.sendfile() instead of custom implementation if available. #4269
  • Apply SO_REUSEADDR to test server's socket. #4393
  • Use .raw_host instead of slower .host in client API #4402
  • Allow configuring the buffer size of input stream by passing read_bufsize argument. #4453
  • Pass tests on Python 3.8 for Windows. #4513
  • Add method and url attributes to TraceRequestChunkSentParams and TraceResponseChunkReceivedParams. #4674
  • Add ClientResponse.ok property for checking status code under 400. #4711
  • Don't ceil timeouts that are smaller than 5 seconds. #4850
  • TCPSite now listens by default on all interfaces instead of just IPv4 when None is passed in as the host. #4894
  • Bump http_parser to 2.9.4 #5070

Bugfixes

  • Fix keepalive connections not being closed in time #3296
  • Fix failed websocket handshake leaving connection hanging. #3380
  • Fix tasks cancellation order on exit. The run_app task needs to be cancelled first for cleanup hooks to run with all tasks intact. #3805
Commits

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.

If all status checks pass Dependabot will automatically merge this pull request.


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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 26, 2020
@dependabot-preview
Copy link
Contributor Author

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.6.3 to 3.7.1.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.6.3...v3.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@leplatrem
Copy link
Contributor

  File "/home/circleci/project/.venv/lib/python3.8/site-packages/aioresponses/core.py", line 190, in build_response
    resp = self._build_response(
  File "/home/circleci/project/.venv/lib/python3.8/site-packages/aioresponses/core.py", line 171, in _build_response
    resp.content = stream_reader_factory(loop)
  File "/home/circleci/project/.venv/lib/python3.8/site-packages/aioresponses/compat.py", line 26, in stream_reader_factory
    return StreamReader(protocol, loop=loop)
TypeError: __init__() missing 1 required positional argument: 'limit'

@leplatrem
Copy link
Contributor

Tracked in pnuckowski/aioresponses#173

@dependabot-preview
Copy link
Contributor Author

Superseded by #639.

@dependabot-preview dependabot-preview bot deleted the dependabot/pip/aiohttp-3.7.1 branch November 1, 2020 05:20
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant