Skip to content
This repository was archived by the owner on Aug 4, 2018. It is now read-only.

Scheduled weekly dependency update for week 09#126

Merged
bors-fusion[bot] merged 2 commits intomasterfrom
pyup-scheduled-update-2018-03-05
Mar 11, 2018
Merged

Scheduled weekly dependency update for week 09#126
bors-fusion[bot] merged 2 commits intomasterfrom
pyup-scheduled-update-2018-03-05

Conversation

@pyup-bot
Copy link
Contributor

@pyup-bot pyup-bot commented Mar 5, 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.

cffi 1.11.4 » 1.11.5 PyPI | Changelog | Docs
packaging 16.8 » 17.1 PyPI | Changelog | Repo

Changelogs

cffi 1.11.4 -> 1.11.5

1.11.5

=======

  • Issue 357_: fix ffi.emit_python_code() which generated a buggy
    Python file if you are using a struct with an anonymous union
    field or vice-versa.
  • Windows: ffi.dlopen() should now handle unicode filenames.
  • ABI mode: implemented ffi.dlclose() for the in-line case (it used
    to be present only in the out-of-line case).
  • Fixed a corner case for setup.py install --record=xx --root=yy
    with an out-of-line ABI module. Also fixed Issue 345_.
  • More hacks on Windows for running CFFI's own setup.py.
  • Issue 358_: in embedding, to protect against (the rare case of)
    Python initialization from several threads in parallel, we have to use
    a spin-lock. On CPython 3 it is worse because it might spin-lock for
    a long time (execution of Py_InitializeEx()). Sadly, recent
    changes to CPython make that solution needed on CPython 2 too.
  • CPython 3 on Windows: we no longer compile with Py_LIMITED_API
    by default because such modules cannot be used with virtualenv.
    Issue 350_ mentions a workaround if you still want that and are not
    concerned about virtualenv: pass a define_macros=[("Py_LIMITED_API", None)] to the ffibuilder.set_source() call.

.. _Issue 345: https://bitbucket.org/cffi/cffi/issues/345/
.. _Issue 350: https://bitbucket.org/cffi/cffi/issues/350/
.. _Issue 358: https://bitbucket.org/cffi/cffi/issues/358/
.. _Issue 357: https://bitbucket.org/cffi/cffi/issues/357/

packaging 16.8 -> 17.1

17.1

  • Fix utils.canonicalize_version when supplying non PEP 440 versions.

17.0

  • Drop support for python 2.6, 3.2, and 3.3.
  • Define minimal pyparsing version to 2.0.2 (:issue:91).
  • Add epoch, release, pre, dev, and post attributes to
    Version and LegacyVersion (:issue:34).
  • Add Version().is_devrelease and LegacyVersion().is_devrelease to
    make it easy to determine if a release is a development release.
  • Add utils.canonicalize_version to canonicalize version strings or
    Version instances (:issue:121).

That's it for now!

Happy merging! 🤖


This change is Reviewable

@mithrandi
Copy link
Member

bors r+

bors-fusion bot added a commit that referenced this pull request Mar 11, 2018
126: Scheduled weekly dependency update for week 09 r=mithrandi a=pyup-bot




## 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.
<table align="center">

<tr>
<td><b>cffi</b></td>
<td align="center">1.11.4</td>
<td align="center">&raquo;</td>
<td align="center">1.11.5</td>
<td>
     <a href="https://pypi.python.org/pypi/cffi">PyPI</a> | <a href="https://pyup.io/changelogs/cffi/">Changelog</a> | <a href="http://cffi.readthedocs.org">Docs</a> 

</td>

<tr>
<td><b>packaging</b></td>
<td align="center">16.8</td>
<td align="center">&raquo;</td>
<td align="center">17.1</td>
<td>
     <a href="https://pypi.python.org/pypi/packaging">PyPI</a> | <a href="https://pyup.io/changelogs/packaging/">Changelog</a> | <a href="https://github.com/pypa/packaging">Repo</a> 

</td>

</tr>
</table>



## Changelogs


### cffi 1.11.4 -> 1.11.5

>### 1.11.5

>=======

>* `Issue 357`_: fix ``ffi.emit_python_code()`` which generated a buggy
>  Python file if you are using a ``struct`` with an anonymous ``union``
>  field or vice-versa.

>* Windows: ``ffi.dlopen()`` should now handle unicode filenames.

>* ABI mode: implemented ``ffi.dlclose()`` for the in-line case (it used
>  to be present only in the out-of-line case).

>* Fixed a corner case for ``setup.py install --record=xx --root=yy``
>  with an out-of-line ABI module.  Also fixed `Issue 345`_.

>* More hacks on Windows for running CFFI&#39;s own ``setup.py``.

>* `Issue 358`_: in embedding, to protect against (the rare case of)
>  Python initialization from several threads in parallel, we have to use
>  a spin-lock.  On CPython 3 it is worse because it might spin-lock for
>  a long time (execution of ``Py_InitializeEx()``).  Sadly, recent
>  changes to CPython make that solution needed on CPython 2 too.

>* CPython 3 on Windows: we no longer compile with ``Py_LIMITED_API``
>  by default because such modules cannot be used with virtualenv.
>  `Issue 350`_ mentions a workaround if you still want that and are not
>  concerned about virtualenv: pass a ``define_macros=[(&quot;Py_LIMITED_API&quot;,
>  None)]`` to the ``ffibuilder.set_source()`` call.

>.. _`Issue 345`: https://bitbucket.org/cffi/cffi/issues/345/
>.. _`Issue 350`: https://bitbucket.org/cffi/cffi/issues/350/
>.. _`Issue 358`: https://bitbucket.org/cffi/cffi/issues/358/
>.. _`Issue 357`: https://bitbucket.org/cffi/cffi/issues/357/








### packaging 16.8 -> 17.1

>### 17.1

>~~~~~~~~~~~~~~~~~

>* Fix ``utils.canonicalize_version`` when supplying non PEP 440 versions.




>### 17.0

>~~~~~~~~~~~~~~~~~

>* Drop support for python 2.6, 3.2, and 3.3.

>* Define minimal pyparsing version to 2.0.2 (:issue:`91`).

>* Add ``epoch``, ``release``, ``pre``, ``dev``, and ``post`` attributes to
>  ``Version`` and ``LegacyVersion`` (:issue:`34`).

>* Add ``Version().is_devrelease`` and ``LegacyVersion().is_devrelease`` to
>  make it easy to determine if a release is a development release.

>* Add ``utils.canonicalize_version`` to canonicalize version strings or
>  ``Version`` instances (:issue:`121`).











That's it for now!

Happy merging! 🤖
@bors-fusion
Copy link
Contributor

bors-fusion bot commented Mar 11, 2018

Build succeeded

@bors-fusion bors-fusion bot merged commit 3a2ab8f into master Mar 11, 2018
@bors-fusion bors-fusion bot deleted the pyup-scheduled-update-2018-03-05 branch March 11, 2018 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants