Skip to content

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps wrapt from 1.10.11 to 1.11.0.

Changelog

Sourced from wrapt's changelog.

Version 1.11.0

Bugs Fixed

  • When using arithmetic operations through a proxy object, checks about
    the types of arguments were not being performed correctly, which could
    result in an exception being raised to indicate that a proxy object had
    not been initialised when in fact the argument wasn't even an instance
    of a proxy object.

    Because an incorrect cast in C level code was being performed and
    an attribute in memory checked on the basis of it being a type different
    to what it actually was, technically it may have resulted in a process
    crash if the size of the object was smaller than the type being casted
    to.

  • The __complex__() special method wasn't implemented and using
    complex() on a proxy object would give wrong results or fail.

  • When using the C extension, if an exception was raised when using inplace
    or, ie., |=, the error condition wasn't being correctly propagated
    back which would result in an exception showing up as wrong location
    in subsequent code.

  • Type of long was used instead of Py_hash_t for Python 3.3+. This
    caused compiler warnings on Windows, which depending on what locale was
    set to, would cause pip to fail when installing the package.

  • If calling Class.instancemethod and passing self explicitly, the
    ability to access __name__ and __module__ on the final bound
    method were not preserved. This was due to a partial being used for
    this special case, and it doesn't preserve introspection.

  • Fixed typo in the getter property of ObjectProxy for accessing
    __annotations__. Appeared that it was still working as would fall back
    to using generic __getattr__() to access attribute on wrapped object.

Features Changed

  • Dropped support for Python 2.6 and 3.3.

  • If copy.copy() or copy.deepcopy() is used on an instance of the
    ObjectProxy class, a NotImplementedError exception is raised, with
    a message indicating that the object proxy must implement the
    __copy__() or __deepcopy__() method. This is in place of the
    default TypeError exception with message indicating a pickle error.

  • If pickle.dump() or pickle.dumps() is used on an instance of the
    ObjectProxy class, a NotImplementedError exception is raised, with

... (truncated)
Commits
  • f17fef7 Merge branch 'release/1.11.0'
  • 134eaab Skip missing interpreters when running tox.
  • 4bcd190 Fix typo in annotations property on object proxy.
  • 3db71fb Make protocol argument name match convention.
  • 6a4dea6 Update that must be _reduce_ex() that is implemented by object proxy.
  • 1287361 Override reduce_ex and require it be overridden as reduce alone ignor...
  • c655a7b Fix AppVeyor badge link.
  • 13c55fa Add default implementation of special pickle methods that raise not implement...
  • 67c09ef Add default implementation of special copy methods that raise not implemented...
  • 9c9ee09 Create meta lock globally.
  • Additional commits viewable in compare view

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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 10, 2019
@codecov
Copy link

codecov bot commented Jan 10, 2019

Codecov Report

Merging #849 into master will decrease coverage by 0.31%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #849      +/-   ##
==========================================
- Coverage   99.53%   99.22%   -0.32%     
==========================================
  Files         101      101              
  Lines       12144    12182      +38     
  Branches      882      882              
==========================================
  Hits        12088    12088              
- Misses         35       73      +38     
  Partials       21       21
Impacted Files Coverage Δ
trio/tests/test_ssl.py 97.75% <0%> (-2.25%) ⬇️
trio/_core/_run.py 97.95% <0%> (-1.75%) ⬇️
trio/_core/tests/test_multierror.py 98.3% <0%> (-1.7%) ⬇️
trio/_ssl.py 98.94% <0%> (-1.06%) ⬇️
trio/_highlevel_socket.py 99.08% <0%> (-0.92%) ⬇️
trio/_sync.py 99.66% <0%> (-0.34%) ⬇️

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 3b0959e...fa42cf9. Read the comment docs.

@njsmith
Copy link
Member

njsmith commented Jan 11, 2019

Filed #851 for the weird jenkins failure, but merging anyway b/c the tests are passing on our main CI platforms and the failure is clearly unrelated.

@njsmith njsmith merged commit 20ee890 into master Jan 11, 2019
@njsmith njsmith deleted the dependabot/pip/wrapt-1.11.0 branch January 11, 2019 03:41
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.

2 participants