Skip to content

Scheduled monthly dependency update for March #161

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

Merged
merged 11 commits into from
Mar 3, 2018

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Mar 1, 2018

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

aiohttp-devtools 0.7 » 0.8 PyPI | Changelog | Repo
SQLAlchemy 1.2.2 » 1.2.4 PyPI | Changelog | Homepage
aiohttp 2.3.9 » 3.0.5 PyPI | Changelog | Repo
raven 6.5.0 » 6.6.0 PyPI | Changelog | Repo
yarl 1.1.0 » 1.1.1 PyPI | Changelog | Repo
coverage 4.4.2 » 4.5.1 PyPI | Changelog | Repo
isort 4.3.3 » 4.3.4 PyPI | Changelog | Repo
pytest 3.4.0 » 3.4.1 PyPI | Changelog | Repo | Homepage
pytest-mock 1.6.3 » 1.7.1 PyPI | Changelog | Repo

Changelogs

aiohttp-devtools 0.7 -> 0.8

0.8.0


  • complete rewrite for aiohttp >= 3 stop using multiprocessing 173
  • update required packages 171

0.7.1


  • set Access-Control-Allow-Origin for static files, 169

SQLAlchemy 1.2.2 -> 1.2.4

1.2.4

:released: February 22, 2018

.. change::
:tags: bug, orm
🎟️ 4193

   Fixed 1.2 regression in ORM versioning feature where a mapping against a
   :func:`.select` or :func:`.alias` that also used a versioning column
   against the underlying table would fail due to the check added as part of
   :ticket:`3673`.

.. change::
:tags: bug, engine
🎟️ 4190

   Fixed regression caused in 1.2.3 due to fix from :ticket:`4181` where
   the changes to the event system involving :class:`.Engine` and
   :class:`.OptionEngine` did not accommodate for event removals, which
   would raise an ``AttributeError`` when invoked at the class
   level.

.. change::
:tags: bug, sql
🎟️ 4197

   Fixed bug where CTE expressions would not have their name or alias name
   quoted when the given name is case sensitive or otherwise requires quoting.
   Pull request courtesy Eric Atkin.

.. changelog::

1.2.3

:released: February 16, 2018

.. change::
:tags: bug, oracle
🎟️ 4182

   Fixed bug in cx_Oracle disconnect detection, used by pre_ping and other
   features, where an error could be raised as DatabaseError which includes a
   numeric error code; previously we weren't checking in this case for a
   disconnect code.

.. change::
:tags: bug, sqlite

   Fixed the import error raised when a platform
   has neither pysqlite2 nor sqlite3 installed, such
   that the sqlite3-related import error is raised,
   not the pysqlite2 one which is not the actual
   failure mode.  Pull request courtesy Robin.

.. change::
:tags: bug, orm
🎟️ 4175

   Fixed bug where the :class:`.Bundle` object did not
   correctly report upon the primary :class:`.Mapper` object
   represened by the bundle, if any.   An immediate
   side effect of this issue was that the new selectinload
   loader strategy wouldn't work with the horizontal sharding
   extension.

.. change::
:tags: bug, sql
🎟️ 4180

   Fixed bug where the :class:`.Enum` type wouldn't handle
   enum "aliases" correctly, when more than one key refers to the
   same value.  Pull request courtesy Daniel Knell.

.. change::
:tags: bug, engine
🎟️ 4181

   Fixed bug where events associated with an :class:`Engine`
   at the class level would be doubled when the
   :meth:`.Engine.execution_options` method were used.  To
   achieve this, the semi-private class :class:`.OptionEngine`
   no longer accepts events directly at the class level
   and will raise an error; the class only propagates class-level
   events from its parent :class:`.Engine`.   Instance-level
   events continue to work as before.

.. change::
:tags: bug, tests
🎟️ 3265

   A test added in 1.2 thought to confirm a Python 2.7 behavior turns out to
   be confirming the behavior only as of Python 2.7.8. Python bug 8743 still
   impacts set comparison in Python 2.7.7 and earlier, so the test in question
   involving AssociationSet no longer runs for these older Python 2.7
   versions.

.. change::
:tags: feature, oracle

   The ON DELETE options for foreign keys are now part of
   Oracle reflection.  Oracle does not support ON UPDATE
   cascades.  Pull request courtesy Miroslav Shubernetskiy.

.. change::
:tags: bug, orm
🎟️ 4188

   Fixed bug in concrete inheritance mapping where user-defined
   attributes such as hybrid properties that mirror the names
   of mapped attributes from sibling classes would be overwritten by
   the mapper as non-accessible at the instance level.   Additionally
   ensured that user-bound descriptors are not implicitly invoked at the class
   level during the mapper configuration stage.

.. change::
:tags: bug, orm
🎟️ 4178

   Fixed bug where the :func:`.orm.reconstructor` event
   helper would not be recognized if it were applied to the
   ``__init__()`` method of the mapped class.

.. change::
:tags: bug, engine
🎟️ 4170

   The :class:`.URL` object now allows query keys to be specified multiple
   times where their values will be joined into a list.  This is to support
   the plugins feature documented at :class:`.CreateEnginePlugin` which
   documents that "plugin" can be passed multiple times. Additionally, the
   plugin names can be passed to :func:`.create_engine` outside of the URL
   using the new :paramref:`.create_engine.plugins` parameter.

.. change::
:tags: feature, sql
🎟️ 3906

   Added support for :class:`.Enum` to persist the values of the enumeration,
   rather than the keys, when using a Python pep-435 style enumerated object.
   The user supplies a callable function that will return the string values to
   be persisted.  This allows enumerations against non-string values to be
   value-persistable as well.  Pull request courtesy Jon Snyder.

.. change::
:tags: feature, orm

   Added new argument :paramref:`.attributes.set_attribute.inititator`
   to the :func:`.attributes.set_attribute` function, allowing an
   event token received from a listener function to be propagated
   to subsequent set events.

.. changelog::

aiohttp 2.3.9 -> 3.0.5

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

2.3.10

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

  • Fix 100% CPU usage on HTTP GET and websocket connection just after it (1955)
  • Patch broken ssl.match_hostname() on Python<3.7 (2674)

raven 6.5.0 -> 6.6.0

6.6.0


  • [Core] Add trimming to breadcrumbs.
  • [Core] Improve host message at startup.
  • [Core] Update pytest to work on other environments

yarl 1.1.0 -> 1.1.1

1.1.1


  • Fix performance regression: don't encode enmpty netloc (170)

coverage 4.4.2 -> 4.5.1

4.5.1


  • Now that 4.5 properly separated the [run] omit and [report] omit
    settings, an old bug has become apparent. If you specified a package name
    for [run] source, then omit patterns weren't matched inside that package.
    This bug (issue 638_) is now fixed.
  • On Python 3.7, reporting about a decorated function with no body other than a
    docstring would crash coverage.py with an IndexError (issue 640_). This is
    now fixed.
  • Configurer plugins are now reported in the output of --debug=sys.

.. _issue 638: https://bitbucket.org/ned/coveragepy/issues/638/run-omit-is-ignored-since-45
.. _issue 640: https://bitbucket.org/ned/coveragepy/issues/640/indexerror-reporting-on-an-empty-decorated

.. _changes_45:

4.5


  • A new kind of plugin is supported: configurators are invoked at start-up to
    allow more complex configuration than the .coveragerc file can easily do.
    See :ref:api_plugin for details. This solves the complex configuration
    problem described in issue 563_.
  • The fail_under option can now be a float. Note that you must specify the
    [report] precision configuration option for the fractional part to be
    used. Thanks to Lars Hupfeldt Nielsen for help with the implementation.
    Fixes issue 631_.
  • The include and omit options can be specified for both the [run]
    and [report] phases of execution. 4.4.2 introduced some incorrect
    interactions between those phases, where the options for one were confused
    for the other. This is now corrected, fixing issue 621_ and issue 622_.
    Thanks to Daniel Hahler for seeing more clearly than I could.
  • The coverage combine command used to always overwrite the data file, even
    when no data had been read from apparently combinable files. Now, an error
    is raised if we thought there were files to combine, but in fact none of them
    could be used. Fixes issue 629_.
  • The coverage combine command could get confused about path separators
    when combining data collected on Windows with data collected on Linux, as
    described in issue 618_. This is now fixed: the result path always uses
    the path separator specified in the [paths] result.
  • On Windows, the HTML report could fail when source trees are deeply nested,
    due to attempting to create HTML filenames longer than the 250-character
    maximum. Now filenames will never get much larger than 200 characters,
    fixing issue 627_. Thanks to Alex Sandro for helping with the fix.

.. _issue 563: https://bitbucket.org/ned/coveragepy/issues/563/platform-specific-configuration
.. _issue 618: https://bitbucket.org/ned/coveragepy/issues/618/problem-when-combining-windows-generated
.. _issue 621: https://bitbucket.org/ned/coveragepy/issues/621/include-ignored-warning-when-using
.. _issue 622: https://bitbucket.org/ned/coveragepy/issues/622/report-omit-overwrites-run-omit
.. _issue 627: https://bitbucket.org/ned/coveragepy/issues/627/failure-generating-html-reports-when-the
.. _issue 629: https://bitbucket.org/ned/coveragepy/issues/629/multiple-use-of-combine-leads-to-empty
.. _issue 631: https://bitbucket.org/ned/coveragepy/issues/631/precise-coverage-percentage-value

.. _changes_442:

isort 4.3.3 -> 4.3.4

4.3.4

  • Fixed issue 671: isort is corrupting CRLF files

pytest 3.4.0 -> 3.4.1

3.4.1

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

Bug Fixes

  • Move import of doctest.UnexpectedException to top-level to avoid possible
    errors when using --pdb. (1810 &lt;https://github.com/pytest-dev/pytest/issues/1810&gt;_)
  • Added printing of captured stdout/stderr before entering pdb, and improved a
    test which was giving false negatives about output capturing. (3052 &lt;https://github.com/pytest-dev/pytest/issues/3052&gt;_)
  • Fix ordering of tests using parametrized fixtures which can lead to fixtures
    being created more than necessary. (3161 &lt;https://github.com/pytest-dev/pytest/issues/3161&gt;_)
  • Fix bug where logging happening at hooks outside of "test run" hooks would
    cause an internal error. (3184 &lt;https://github.com/pytest-dev/pytest/issues/3184&gt;_)
  • Detect arguments injected by unittest.mock.patch decorator correctly when
    pypi mock.patch is installed and imported. (3206 &lt;https://github.com/pytest-dev/pytest/issues/3206&gt;_)
  • 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 &lt;https://github.com/pytest-dev/pytest/issues/3222&gt;_)
  • Fixed output capture handling in doctests on macOS. (985 &lt;https://github.com/pytest-dev/pytest/issues/985&gt;_)

Improved Documentation

  • Add Sphinx parameter docs for match and message args to
    pytest.raises. (3202 &lt;https://github.com/pytest-dev/pytest/issues/3202&gt;_)

Trivial/Internal Changes

  • pytest has changed the publication procedure and is now being published to
    PyPI directly from Travis. (3060 &lt;https://github.com/pytest-dev/pytest/issues/3060&gt;_)
  • Rename ParameterSet._for_parameterize() to _for_parametrize() in
    order to comply with the naming convention. (3166 &lt;https://github.com/pytest-dev/pytest/issues/3166&gt;_)
  • Skip failing pdb/doctest test on mac. (985 &lt;https://github.com/pytest-dev/pytest/issues/985&gt;_)

pytest-mock 1.6.3 -> 1.7.1

1.7.1


  • Fix setup.py to correctly read the README.rst. Thanks ghisvail_ for the fix (107_).

.. _107: pytest-dev/pytest-mock#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: pytest-dev/pytest-mock#96
.. _101: pytest-dev/pytest-mock#101
.. _102: pytest-dev/pytest-mock#102

That's it for now!

Happy merging! 🤖

@samuelcolvin samuelcolvin force-pushed the pyup-scheduled-update-2018-03-01 branch from 67b3fc8 to 62ccef4 Compare March 2, 2018 17:08
@codecov
Copy link

codecov bot commented Mar 2, 2018

Codecov Report

Merging #161 into master will decrease coverage by 0.18%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
- Coverage   96.59%   96.41%   -0.19%     
==========================================
  Files          11       11              
  Lines        1029     1032       +3     
  Branches      123      125       +2     
==========================================
+ Hits          994      995       +1     
- Misses         24       25       +1     
- Partials       11       12       +1
Impacted Files Coverage Δ
tcsocket/app/middleware.py 94.24% <100%> (-1.35%) ⬇️
tcsocket/app/geo.py 100% <100%> (ø) ⬆️
tcsocket/app/views.py 98.9% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f0973e...62ccef4. Read the comment docs.

@samuelcolvin samuelcolvin merged commit ed58239 into master Mar 3, 2018
@samuelcolvin samuelcolvin deleted the pyup-scheduled-update-2018-03-01 branch March 3, 2018 15:26
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.

2 participants