Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Update cffi to 1.11.0 #733

Merged
merged 1 commit into from
Sep 20, 2017
Merged

Update cffi to 1.11.0 #733

merged 1 commit into from
Sep 20, 2017

Conversation

pyup-bot
Copy link
Contributor

There's a new version of cffi available.
You are currently using 1.10.0. I have updated it to 1.11.0

These links might come in handy: PyPI | Changelog | Docs

Changelog

1.11

=====

  • Support the modern standard types char16_t and char32_t.
    These work like wchar_t: they represent one unicode character, or
    when used as charN_t * or charN_t[] they represent a unicode
    string. The difference with wchar_t is that they have a known,
    fixed size. They should work at all places that used to work with
    wchar_t (please report an issue if I missed something). Note
    that with set_source(), you need to make sure that these types are
    actually defined by the C source you provide (if used in cdef()).
  • Support the C99 types float _Complex and double _Complex.
    Note that libffi doesn't support them, which means that in the ABI
    mode you still cannot call C functions that take complex numbers
    directly as arguments or return type.
  • Fixed a rare race condition when creating multiple FFI instances
    from multiple threads. (Note that you aren't meant to create many
    FFI instances: in inline mode, you should write ffi = cffi.FFI() at module level just after import cffi; and in
    out-of-line mode you don't instantiate FFI explicitly at all.)
  • Windows: using callbacks can be messy because the CFFI internal error
    messages show up to stderr---but stderr goes nowhere in many
    applications. This makes it particularly hard to get started with the
    embedding mode. (Once you get started, you can at least use
    ffi.def_extern(onerror=...) and send the error logs where it
    makes sense for your application, or record them in log files, and so
    on.) So what is new in CFFI is that now, on Windows CFFI will try to
    open a non-modal MessageBox (in addition to sending raw messages to
    stderr). The MessageBox is only visible if the process stays alive:
    typically, console applications that crash close immediately, but that
    is also the situation where stderr should be visible anyway.
  • Progress on support for callbacks in NetBSD__.
  • Functions returning booleans would in some case still return 0 or 1
    instead of False or True. Fixed.
  • ffi.gc()__ now takes an optional third parameter, which gives an
    estimate of the size (in bytes) of the object. So far, this is only
    used by PyPy, to make the next GC occur more quickly (issue 320).
    In the future, this might have an effect on CPython too (provided
    the CPython issue 31105
    is addressed).
  • Add a note to the documentation: the ABI mode gives function objects
    that are slower to call than the API mode does. For some reason it
    is often thought to be faster. It is not!

.. __: https://bitbucket.org/cffi/cffi/issues/321/cffi-191-segmentation-fault-during-self
.. __: ref.htmlffi-gc
.. __: https://bitbucket.org/cffi/cffi/issues/320/improve-memory_pressure-management
.. __: http://bugs.python.org/issue31105

1.10.1

=======

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@codecov-io
Copy link

codecov-io commented Sep 16, 2017

Codecov Report

Merging #733 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #733   +/-   ##
=======================================
  Coverage   87.58%   87.58%           
=======================================
  Files          51       51           
  Lines        1707     1707           
  Branches      160      160           
=======================================
  Hits         1495     1495           
  Misses        188      188           
  Partials       24       24

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 c423139...88769c2. Read the comment docs.

@jezdez jezdez merged commit 3121940 into master Sep 20, 2017
@jezdez jezdez deleted the pyup-update-cffi-1.10.0-to-1.11.0 branch September 20, 2017 15:48
jezdez pushed a commit that referenced this pull request Nov 15, 2018
Bumps [pycodestyle](https://github.com/PyCQA/pycodestyle) from 2.3.1 to 2.4.0.
<details>
<summary>Changelog</summary>

*Sourced from [pycodestyle's changelog](https://github.com/PyCQA/pycodestyle/blob/master/CHANGES.txt).*

> 2.4.0 (2018-04-10)
> ------------------
> 
> New checks:
> 
> * Add W504 warning for checking that a break doesn't happen after a binary
>   operator. This check is ignored by default. PR [#502](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/502).
> * Add W605 warning for invalid escape sequences in string literals. PR [#676](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/676).
> * Add W606 warning for 'async' and 'await' reserved keywords being introduced
>   in Python 3.7. PR [#684](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/684).
> * Add E252 error for missing whitespace around equal sign in type annotated
>   function arguments with defaults values. PR [#717](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/717).
> 
> Changes:
> 
> * An internal bisect search has replaced a linear search in order to improve
>   efficiency. PR [#648](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/648).
> * pycodestyle now uses PyPI trove classifiers in order to document supported
>   python versions on PyPI. PR [#654](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/654).
> * 'setup.cfg' '[wheel]' section has been renamed to '[bdist_wheel]', as
>   the former is legacy. PR [#653](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/653).
> * pycodestyle now handles very long lines much more efficiently for python
>   3.2+. Fixes [#643](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/643). PR [#644](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/644).
> * You can now write 'pycodestyle.StyleGuide(verbose=True)' instead of
>   'pycodestyle.StyleGuide(verbose=True, paths=['-v'])' in order to achieve
>   verbosity. PR [#663](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/663).
> * The distribution of pycodestyle now includes the license text in order to
>   comply with open source licenses which require this. PR [#694](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/694).
> * 'maximum_line_length' now ignores shebang ('#!') lines. PR [#736](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/736).
> * Add configuration option for the allowed number of blank lines. It is
>   implemented as a top level dictionary which can be easily overwritten. Fixes
>   [#732](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/732). PR [#733](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/733).
> 
> Bugs:
> 
> * Prevent a 'DeprecationWarning', and a 'SyntaxError' in future python, caused
>   by an invalid escape sequence. PR [#625](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/625).
> * Correctly report E501 when the first line of a docstring is too long.
>   Resolves [#622](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/622). PR [#630](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/630).
> * Support variable annotation when variable start by a keyword, such as class
>   variable type annotations in python 3.6. PR [#640](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/640).
> * pycodestyle internals have been changed in order to allow 'python3 -m
>   cProfile' to report correct metrics. PR [#647](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/647).
> * Fix a spelling mistake in the description of E722. PR [#697](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/697).
> * 'pycodestyle --diff' now does not break if your 'gitconfig' enables
>   'mnemonicprefix'. PR [#706](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/706).
</details>
<details>
<summary>Commits</summary>

- [`f73c4bb`](PyCQA/pycodestyle@f73c4bb) Release v2.4.0
- [`72b90c5`](PyCQA/pycodestyle@72b90c5) Merge pull request [#740](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/740) from JakobGM/docs/changes
- [`51cf479`](PyCQA/pycodestyle@51cf479) Add PR references from all changelog items
- [`6d10bc7`](PyCQA/pycodestyle@6d10bc7) Fixed typo
- [`41438bf`](PyCQA/pycodestyle@41438bf) Add changelog items for 2.3.1...master
- [`5d31e7e`](PyCQA/pycodestyle@5d31e7e) Add variables so blank lines may be configures
- [`9f225ac`](PyCQA/pycodestyle@9f225ac) Ignore length of shebang line ([#736](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/736))
- [`368e62c`](PyCQA/pycodestyle@368e62c) Finalize support for Python 3.7
- [`eb91b79`](PyCQA/pycodestyle@eb91b79) Merge pull request [#684](https://github-redirect.dependabot.com/PyCQA/pycodestyle/issues/684) from jdufresne/async-await
- [`01ecae5`](PyCQA/pycodestyle@01ecae5) Updated License / copyright date
- Additional commits viewable in [compare view](PyCQA/pycodestyle@2.3.1...2.4.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=pycodestyle&package-manager=pip&previous-version=2.3.1&new-version=2.4.0)](https://dependabot.com/compatibility-score.html?dependency-name=pycodestyle&package-manager=pip&previous-version=2.3.1&new-version=2.4.0)

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`.

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

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](https://app.dependabot.com):
- 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.

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants