kip-hart / MicroStructPy

Microstructure modeling, mesh generation, analysis, and visualization.
https://docs.microstructpy.org
MIT License
69 stars 19 forks source link

Update pybind11 to 2.4.3 #9

Closed pyup-bot closed 4 years ago

pyup-bot commented 4 years ago

This PR updates pybind11 from 2.2.4 to 2.4.3.

Changelog ### 2.4.3 ``` ----------------------------------------------------- * Adapt pybind11 to a C API convention change in Python 3.8. `1950 <https://github.com/pybind/pybind11/pull/1950>`_. ``` ### 2.4.2 ``` ----------------------------------------------------- * Replaced usage of a C++14 only construct. `1929 <https://github.com/pybind/pybind11/pull/1929>`_. * Made an ifdef future-proof for Python >= 4. `f3109d <https://github.com/pybind/pybind11/commit/f3109d>`_. ``` ### 2.4.1 ``` ----------------------------------------------------- * Fixed a problem involving implicit conversion from enumerations to integers on Python 3.8. `1780 <https://github.com/pybind/pybind11/pull/1780>`_. ``` ### 2.4.0 ``` ----------------------------------------------------- * Try harder to keep pybind11-internal data structures separate when there are potential ABI incompatibilities. Fixes crashes that occurred when loading multiple pybind11 extensions that were e.g. compiled by GCC (libstdc++) and Clang (libc++). `1588 <https://github.com/pybind/pybind11/pull/1588>`_ and `c9f5a <https://github.com/pybind/pybind11/commit/c9f5a>`_. * Added support for ``__await__``, ``__aiter__``, and ``__anext__`` protocols. `1842 <https://github.com/pybind/pybind11/pull/1842>`_. * ``pybind11_add_module()``: don't strip symbols when compiling in ``RelWithDebInfo`` mode. `1980 <https://github.com/pybind/pybind11/pull/1980>`_. * ``enum_``: Reproduce Python behavior when comparing against invalid values (e.g. ``None``, strings, etc.). Add back support for ``__invert__()``. `1912 <https://github.com/pybind/pybind11/pull/1912>`_, `1907 <https://github.com/pybind/pybind11/pull/1907>`_. * List insertion operation for ``py::list``. Added ``.empty()`` to all collection types. Added ``py::set::contains()`` and ``py::dict::contains()``. `1887 <https://github.com/pybind/pybind11/pull/1887>`_, `1884 <https://github.com/pybind/pybind11/pull/1884>`_, `1888 <https://github.com/pybind/pybind11/pull/1888>`_. * ``py::details::overload_cast_impl`` is available in C++11 mode, can be used like ``overload_cast`` with an additional set of parantheses. `1581 <https://github.com/pybind/pybind11/pull/1581>`_. * Fixed ``get_include()`` on Conda. `1877 <https://github.com/pybind/pybind11/pull/1877>`_. * ``stl_bind.h``: negative indexing support. `1882 <https://github.com/pybind/pybind11/pull/1882>`_. * Minor CMake fix to add MinGW compatibility. `1851 <https://github.com/pybind/pybind11/pull/1851>`_. * GIL-related fixes. `1836 <https://github.com/pybind/pybind11/pull/1836>`_, `8b90b <https://github.com/pybind/pybind11/commit/8b90b>`_. * Other very minor/subtle fixes and improvements. `1329 <https://github.com/pybind/pybind11/pull/1329>`_, `1910 <https://github.com/pybind/pybind11/pull/1910>`_, `1863 <https://github.com/pybind/pybind11/pull/1863>`_, `1847 <https://github.com/pybind/pybind11/pull/1847>`_, `1890 <https://github.com/pybind/pybind11/pull/1890>`_, `1860 <https://github.com/pybind/pybind11/pull/1860>`_, `1848 <https://github.com/pybind/pybind11/pull/1848>`_, `1821 <https://github.com/pybind/pybind11/pull/1821>`_, `1837 <https://github.com/pybind/pybind11/pull/1837>`_, `1833 <https://github.com/pybind/pybind11/pull/1833>`_, `1748 <https://github.com/pybind/pybind11/pull/1748>`_, `1852 <https://github.com/pybind/pybind11/pull/1852>`_. ``` ### 2.3.0 ``` ----------------------------------------------------- * Significantly reduced module binary size (10-20%) when compiled in C++11 mode with GCC/Clang, or in any mode with MSVC. Function signatures are now always precomputed at compile time (this was previously only available in C++14 mode for non-MSVC compilers). `934 <https://github.com/pybind/pybind11/pull/934>`_. * Add basic support for tag-based static polymorphism, where classes provide a method to returns the desired type of an instance. `1326 <https://github.com/pybind/pybind11/pull/1326>`_. * Python type wrappers (``py::handle``, ``py::object``, etc.) now support map Python's number protocol onto C++ arithmetic operators such as ``operator+``, ``operator/=``, etc. `1511 <https://github.com/pybind/pybind11/pull/1511>`_. * A number of improvements related to enumerations: 1. The ``enum_`` implementation was rewritten from scratch to reduce code bloat. Rather than instantiating a full implementation for each enumeration, most code is now contained in a generic base class. `1511 <https://github.com/pybind/pybind11/pull/1511>`_. 2. The ``value()`` method of ``py::enum_`` now accepts an optional docstring that will be shown in the documentation of the associated enumeration. `1160 <https://github.com/pybind/pybind11/pull/1160>`_. 3. check for already existing enum value and throw an error if present. `1453 <https://github.com/pybind/pybind11/pull/1453>`_. * Support for over-aligned type allocation via C++17's aligned ``new`` statement. `1582 <https://github.com/pybind/pybind11/pull/1582>`_. * Added ``py::ellipsis()`` method for slicing of multidimensional NumPy arrays `1502 <https://github.com/pybind/pybind11/pull/1502>`_. * Numerous Improvements to the ``mkdoc.py`` script for extracting documentation from C++ header files. `1788 <https://github.com/pybind/pybind11/pull/1788>`_. * ``pybind11_add_module()``: allow including Python as a ``SYSTEM`` include path. `1416 <https://github.com/pybind/pybind11/pull/1416>`_. * ``pybind11/stl.h`` does not convert strings to ``vector<string>`` anymore. `1258 <https://github.com/pybind/pybind11/issues/1258>`_. * Mark static methods as such to fix auto-generated Sphinx documentation. `1732 <https://github.com/pybind/pybind11/pull/1732>`_. * Re-throw forced unwind exceptions (e.g. during pthread termination). `1208 <https://github.com/pybind/pybind11/pull/1208>`_. * Added ``__contains__`` method to the bindings of maps (``std::map``, ``std::unordered_map``). `1767 <https://github.com/pybind/pybind11/pull/1767>`_. * Improvements to ``gil_scoped_acquire``. `1211 <https://github.com/pybind/pybind11/pull/1211>`_. * Type caster support for ``std::deque<T>``. `1609 <https://github.com/pybind/pybind11/pull/1609>`_. * Support for ``std::unique_ptr`` holders, whose deleters differ between a base and derived class. `1353 <https://github.com/pybind/pybind11/pull/1353>`_. * Construction of STL array/vector-like data structures from iterators. Added an ``extend()`` operation. `1709 <https://github.com/pybind/pybind11/pull/1709>`_, * CMake build system improvements for projects that include non-C++ files (e.g. plain C, CUDA) in ``pybind11_add_module`` et al. `1678 <https://github.com/pybind/pybind11/pull/1678>`_. * Fixed asynchronous invocation and deallocation of Python functions wrapped in ``std::function``. `1595 <https://github.com/pybind/pybind11/pull/1595>`_. * Fixes regarding return value policy propagation in STL type casters. `1603 <https://github.com/pybind/pybind11/pull/1603>`_. * Fixed scoped enum comparisons. `1571 <https://github.com/pybind/pybind11/pull/1571>`_. * Fixed iostream redirection for code that releases the GIL. `1368 <https://github.com/pybind/pybind11/pull/1368>`_, * A number of CI-related fixes. `1757 <https://github.com/pybind/pybind11/pull/1757>`_, `1744 <https://github.com/pybind/pybind11/pull/1744>`_, `1670 <https://github.com/pybind/pybind11/pull/1670>`_. ```
Links - PyPI: https://pypi.org/project/pybind11 - Changelog: https://pyup.io/changelogs/pybind11/ - Repo: https://github.com/pybind/pybind11/tarball/v2.4.3