Skip to content

Scheduled weekly dependency update for week 10 #86

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

Closed
wants to merge 6 commits into from

Conversation

pyup-bot
Copy link
Contributor

Update aiohttp from 2.3.10 to 3.0.7.

Changelog

3.0.7

==================

- Fix SSL proxy support by client. (2810)
- Restore a imperative check in ``setup.py`` for python version. The check
works in parallel to environment marker. As effect a error about unsupported
Python versions is raised even on outdated systems with very old
``setuptools`` version installed. (2813)

3.0.6

==================

- Add ``_reuse_address`` and ``_reuse_port`` to
``web_runner.TCPSite.__slots__``. (2792)

3.0.5

==================

- Fix ``InvalidStateError`` on processing a sequence of two
``RequestHandler.data_received`` calls on web server. (2773)

3.0.4

==================

- Fix ``IndexError`` in HTTP request handling by server. (2752)
- Fix MultipartWriter.append* no longer returning part/payload. (2759)

3.0.3

==================

- Relax ``attrs`` dependency to minimal actually supported version
17.0.3 The change allows to avoid version conflicts with currently
existing test tools.

3.0.2

==================

Security Fix
------------

- Prevent Windows absolute URLs in static files.  Paths like
``/static/D:\path`` and ``/static/\\hostname\drive\path`` are
forbidden.

3.0.1

=====

- Technical release for fixing distribution problems.

3.0.0

==================

Features
--------

- Speed up the `PayloadWriter.write` method for large request bodies. (2126)
- StreamResponse and Response are now MutableMappings. (2246)
- ClientSession publishes a set of signals to track the HTTP request execution.
(2313)
- Content-Disposition fast access in ClientResponse (2455)
- Added support to Flask-style decorators with class-based Views. (2472)
- Signal handlers (registered callbacks) should be coroutines. (2480)
- Support ``async with test_client.ws_connect(...)`` (2525)
- Introduce *site* and *application runner* as underlying API for `web.run_app`
implementation. (2530)
- Only quote multipart boundary when necessary and sanitize input (2544)
- Make the `aiohttp.ClientResponse.get_encoding` method public with the
processing of invalid charset while detecting content encoding. (2549)
- Add optional configurable per message compression for
`ClientWebSocketResponse` and `WebSocketResponse`. (2551)
- Add hysteresis to `StreamReader` to prevent flipping between paused and
resumed states too often. (2555)
- Support `.netrc` by `trust_env` (2581)
- Avoid to create a new resource when adding a route with the same name and
path of the last added resource (2586)
- `MultipartWriter.boundary` is `str` now. (2589)
- Allow a custom port to be used by `TestServer` (and associated pytest
fixtures) (2613)
- Add param access_log_class to web.run_app function (2615)
- Add ``ssl`` parameter to client API (2626)
- Fixes performance issue introduced by 2577. When there are no middlewares
installed by the user, no additional and useless code is executed. (2629)
- Rename PayloadWriter to StreamWriter (2654)
- New options *reuse_port*, *reuse_address* are added to `run_app` and
`TCPSite`. (2679)
- Use custom classes to pass client signals parameters (2686)
- Use ``attrs`` library for data classes, replace `namedtuple`. (2690)
- Pytest fixtures renaming, add ``aiohttp_`` prefix (2578)
- Add ``aiohttp-`` prefix for ``pytest-aiohttp`` command line
parameters (2578)

Bugfixes
--------

- Correctly process upgrade request from server to HTTP2. ``aiohttp`` does not
support HTTP2 yet, the protocol is not upgraded but response is handled
correctly. (2277)
- Fix ClientConnectorSSLError and ClientProxyConnectionError for proxy
connector (2408)
- Fix connector convert OSError to ClientConnectorError (2423)
- Fix connection attempts for multiple dns hosts (2424)
- Fix writing to closed transport by raising `asyncio.CancelledError` (2499)
- Fix warning in `ClientSession.__del__` by stopping to try to close it.
(2523)
- Fixed race-condition for iterating addresses from the DNSCache. (2620)
- Fix default value of `access_log_format` argument in `web.run_app` (2649)
- Freeze sub-application on adding to parent app (2656)
- Do percent encoding for `.url_for()` parameters (2668)
- Correctly process request start time and multiple request/response
headers in access log extra (2641)

Improved Documentation
----------------------

- Improve tutorial docs, using `literalinclude` to link to the actual files.
(2396)
- Small improvement docs: better example for file uploads. (2401)
- Rename `from_env` to `trust_env` in client reference. (2451)
- Fixed mistype in `Proxy Support` section where `trust_env` parameter was
used in `session.get("http://python.org", trust_env=True)` method instead of
aiohttp.ClientSession constructor as follows:
`aiohttp.ClientSession(trust_env=True)`. (2688)
- Fix issue with unittest example not compiling in testing docs. (2717)

Deprecations and Removals
-------------------------

- Simplify HTTP pipelining implementation (2109)
- Drop `StreamReaderPayload` and `DataQueuePayload`. (2257)
- Drop `md5` and `sha1` finger-prints (2267)
- Drop WSMessage.tp (2321)
- Drop Python 3.4 and Python 3.5.0, 3.5.1, 3.5.2. Minimal supported Python
versions are 3.5.3 and 3.6.0. `yield from` is gone, use `async/await` syntax.
(2343)
- Drop `aiohttp.Timeout` and use `async_timeout.timeout` instead. (2348)
- Drop `resolve` param from TCPConnector. (2377)
- Add DeprecationWarning for returning HTTPException (2415)
- `send_str()`, `send_bytes()`, `send_json()`, `ping()` and `pong()` are
genuine async functions now. (2475)
- Drop undocumented `app.on_pre_signal` and `app.on_post_signal`. Signal
handlers should be coroutines, support for regular functions is dropped.
(2480)
- `StreamResponse.drain()` is not a part of public API anymore, just use `await
StreamResponse.write()`. `StreamResponse.write` is converted to async
function. (2483)
- Drop deprecated `slow_request_timeout` param and `**kwargs`` from
`RequestHandler`. (2500)
- Drop deprecated `resource.url()`. (2501)
- Remove `%u` and `%l` format specifiers from access log format. (2506)
- Drop deprecated `request.GET` property. (2547)
- Simplify stream classes: drop `ChunksQueue` and `FlowControlChunksQueue`,
merge `FlowControlStreamReader` functionality into `StreamReader`, drop
`FlowControlStreamReader` name. (2555)
- Do not create a new resource on `router.add_get(..., allow_head=True)`
(2585)
- Drop access to TCP tuning options from PayloadWriter and Response classes
(2604)
- Drop deprecated `encoding` parameter from client API (2606)
- Deprecate ``verify_ssl``, ``ssl_context`` and ``fingerprint`` parameters in
client API (2626)
- Get rid of the legacy class StreamWriter. (2651)
- Forbid non-strings in `resource.url_for()` parameters. (2668)
- Deprecate inheritance from ``ClientSession`` and ``web.Application`` and
custom user attributes for ``ClientSession``, ``web.Request`` and
``web.Application`` (2691)
- Drop `resp = await aiohttp.request(...)` syntax for sake of `async with
aiohttp.request(...) as resp:`. (2540)
- Forbid synchronous context managers for `ClientSession` and test
server/client. (2362)


Misc
----

- 2552
Links

Update ipdb from 0.10.3 to 0.11.

Changelog

0.11

-----------------

- Simplify loading IPython and getting information from it.
Drop support for python 2.6
Drop support for IPython < 5.0.0
[takluyver]
Links

Update pytest from 3.4.0 to 3.4.2.

Changelog

3.4.2

=========================

Bug Fixes
---------

- Removed progress information when capture option is ``no``. (`3203
<https://github.com/pytest-dev/pytest/issues/3203>`_)

- Refactor check of bindir from ``exists`` to ``isdir``. (`3241
<https://github.com/pytest-dev/pytest/issues/3241>`_)

- Fix ``TypeError`` issue when using ``approx`` with a ``Decimal`` value.
(`3247 <https://github.com/pytest-dev/pytest/issues/3247>`_)

- Fix reference cycle generated when using the ``request`` fixture. (`3249
<https://github.com/pytest-dev/pytest/issues/3249>`_)

- ``[tool:pytest]`` sections in ``*.cfg`` files passed by the ``-c`` option are
now properly recognized. (`3260
<https://github.com/pytest-dev/pytest/issues/3260>`_)


Improved Documentation
----------------------

- Add logging plugin to plugins list. (`3209
<https://github.com/pytest-dev/pytest/issues/3209>`_)


Trivial/Internal Changes
------------------------

- Fix minor typo in fixture.rst (`3259
<https://github.com/pytest-dev/pytest/issues/3259>`_)

3.4.1

=========================

Bug Fixes
---------

- Move import of ``doctest.UnexpectedException`` to top-level to avoid possible
errors when using ``--pdb``. (`1810
<https://github.com/pytest-dev/pytest/issues/1810>`_)

- Added printing of captured stdout/stderr before entering pdb, and improved a
test which was giving false negatives about output capturing. (`3052
<https://github.com/pytest-dev/pytest/issues/3052>`_)

- Fix ordering of tests using parametrized fixtures which can lead to fixtures
being created more than necessary. (`3161
<https://github.com/pytest-dev/pytest/issues/3161>`_)

- Fix bug where logging happening at hooks outside of "test run" hooks would
cause an internal error. (`3184
<https://github.com/pytest-dev/pytest/issues/3184>`_)

- Detect arguments injected by ``unittest.mock.patch`` decorator correctly when
pypi ``mock.patch`` is installed and imported. (`3206
<https://github.com/pytest-dev/pytest/issues/3206>`_)

- Errors shown when a ``pytest.raises()`` with ``match=`` fails are now cleaner
on what happened: When no exception was raised, the "matching '...'" part got
removed as it falsely implies that an exception was raised but it didn't
match. When a wrong exception was raised, it's now thrown (like
``pytest.raised()`` without ``match=`` would) instead of complaining about
the unmatched text. (`3222
<https://github.com/pytest-dev/pytest/issues/3222>`_)

- Fixed output capture handling in doctests on macOS. (`985
<https://github.com/pytest-dev/pytest/issues/985>`_)


Improved Documentation
----------------------

- Add Sphinx parameter docs for ``match`` and ``message`` args to
``pytest.raises``. (`3202
<https://github.com/pytest-dev/pytest/issues/3202>`_)


Trivial/Internal Changes
------------------------

- pytest has changed the publication procedure and is now being published to
PyPI directly from Travis. (`3060
<https://github.com/pytest-dev/pytest/issues/3060>`_)

- Rename ``ParameterSet._for_parameterize()`` to ``_for_parametrize()`` in
order to comply with the naming convention. (`3166
<https://github.com/pytest-dev/pytest/issues/3166>`_)

- Skip failing pdb/doctest test on mac. (`985
<https://github.com/pytest-dev/pytest/issues/985>`_)
Links

Update pytest-mock from 1.6.3 to 1.7.1.

Changelog

1.7.1

-----

* Fix ``setup.py`` to correctly read the ``README.rst``. Thanks `ghisvail`_ for the fix (`107`_).

.. _107: https://github.com/pytest-dev/pytest-mock/issues/107

1.7.0

-----

**Incompatible change**

* ``pytest-mock`` no longer supports Python 2.6 and Python 3.3, following the lead of
``pytest`` and other projects in the community. Thanks `hugovk`_ for the PR (`96`_).

**Packaging**

* Fix ``mock`` requirement in Python 2. Thanks `ghisvail`_ for the report (`101`_).

**Internal**

* Some tests in ``pytest-mock``'s suite are skipped if assertion rewriting is disabled (`102`_).

.. _ghisvail: https://github.com/ghisvail
.. _hugovk: https://github.com/hugovk
.. _96: https://github.com/pytest-dev/pytest-mock/pull/96
.. _101: https://github.com/pytest-dev/pytest-mock/issues/101
.. _102: https://github.com/pytest-dev/pytest-mock/issues/102
Links

Update docker from 3.0.1 to 3.1.1.

Changelog

3.1.0

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/44?closed=1)

Features

* Added support for `device_cgroup_rules` in host config
* Added support for `generic_resources` when creating a `Resources`
object.
* Added support for a configurable `chunk_size` parameter in `export`,
`get_archive` and `get_image` (`Image.save`)
* Added a `force_update` method to the `Service` class.
* In `Service.update`, when the `force_update` parameter is set to `True`,
the current `force_update` counter is incremented by one in the update
request.

Bugfixes

* Fixed a bug where authentication through `login()` was being ignored if the
SDK was configured to use a credential store.
* Fixed a bug where download methods would use an absurdly small chunk size,
leading to slow data retrieval
* Fixed a bug where using `DockerClient.images.pull` to pull an image by digest
would lead to an exception being raised.
* `.dockerignore` rules should now be respected as defined by the spec,
including respect for last-line precedence and proper handling of absolute
paths
* The `pass` credential store is now properly supported.
Links

Update isort from 4.3.3 to 4.3.4.

Changelog

4.3.4

- Fixed issue 671: isort is corrupting CRLF files
Links

@pyup-bot
Copy link
Contributor Author

Closing this in favor of #88

@asvetlov asvetlov deleted the pyup-scheduled-update-2018-03-12 branch March 19, 2018 13:07
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.

1 participant