Skip to content
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

Meta python merge #402

Closed
wants to merge 4 commits into from
Closed

Meta python merge #402

wants to merge 4 commits into from

Commits on Jul 29, 2021

  1. python3-pybind11: upgrade 2.6.2 -> 2.7.0

    v2.7.0 (Jul 16, 2021)
    ---------------------
    
    New features:
    
    * Enable ``py::implicitly_convertible<py::none, ...>`` for
      ``py::class_``-wrapped types.
      `#3059 <https://github.com/pybind/pybind11/pull/3059>`_
    
    * Allow function pointer extraction from overloaded functions.
      `#2944 <https://github.com/pybind/pybind11/pull/2944>`_
    
    * NumPy: added ``.char_()`` to type which gives the NumPy public ``char``
      result, which also distinguishes types by bit length (unlike ``.kind()``).
      `#2864 <https://github.com/pybind/pybind11/pull/2864>`_
    
    * Add ``pybind11::bytearray`` to manipulate ``bytearray`` similar to ``bytes``.
      `#2799 <https://github.com/pybind/pybind11/pull/2799>`_
    
    * ``pybind11/stl/filesystem.h`` registers a type caster that, on C++17/Python
      3.6+, converts ``std::filesystem::path`` to ``pathlib.Path`` and any
      ``os.PathLike`` to ``std::filesystem::path``.
      `#2730 <https://github.com/pybind/pybind11/pull/2730>`_
    
    * A ``PYBIND11_VERSION_HEX`` define was added, similar to ``PY_VERSION_HEX``.
      `#3120 <https://github.com/pybind/pybind11/pull/3120>`_
    
    Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    zhengruoqin authored and Trevor Gamblin committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    6387990 View commit details
    Browse the repository at this point in the history
  2. python3-pymongo: upgrade 3.11.4 -> 3.12.0

    We are pleased to announce the 3.12.0 release of PyMongo - MongoDB’s Python Driver. This release adds support for MongoDB 5.0.
    
    Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    zhengruoqin authored and Trevor Gamblin committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    9abe8e0 View commit details
    Browse the repository at this point in the history
  3. python3-sqlalchemy: upgrade 1.4.20 -> 1.4.22

    .. changelog::
        :version: 1.4.22
        :released: July 21, 2021
    
        .. change::
            :tags: bug, sql
            🎟️ 6786
    
            Fixed issue where use of the :paramref:`_sql.case.whens` parameter passing
            a dictionary positionally and not as a keyword argument would emit a 2.0
            deprecation warning, referring to the deprecation of passing a list
            positionally. The dictionary format of "whens", passed positionally, is
            still supported and was accidentally marked as deprecated.
    
        .. change::
            :tags: bug, orm
            🎟️ 6775
    
            Fixed issue in new :meth:`_schema.Table.table_valued` method where the
            resulting :class:`_sql.TableValuedColumn` construct would not respond
            correctly to alias adaptation as is used throughout the ORM, such as for
            eager loading, polymorphic loading, etc.
    
        .. change::
            :tags: bug, orm
            🎟️ 6769
    
            Fixed issue where usage of the :meth:`_result.Result.unique` method with an
            ORM result that included column expressions with unhashable types, such as
            ``JSON`` or ``ARRAY`` using non-tuples would silently fall back to using
            the ``id()`` function, rather than raising an error. This now raises an
            error when the :meth:`_result.Result.unique` method is used in a 2.0 style
            ORM query. Additionally, hashability is assumed to be True for result
            values of unknown type, such as often happens when using SQL functions of
            unknown return type; if values are truly not hashable then the ``hash()``
            itself will raise.
    
            For legacy ORM queries, since the legacy :class:`_orm.Query` object
            uniquifies in all cases, the old rules remain in place, which is to use
            ``id()`` for result values of unknown type as this legacy uniquing is
            mostly for the purpose of uniquing ORM entities and not column values.
    
     .. change::
            :tags: orm, bug
            🎟️ 6771
    
            Fixed an issue where clearing of mappers during things like test suite
            teardowns could cause a "dictionary changed size" warning during garbage
            collection, due to iteration of a weak-referencing dictionary. A ``list()``
            has been applied to prevent concurrent GC from affecting this operation.
    
        .. change::
            :tags: bug, sql
            🎟️ 6770
    
            Fixed issue where type-specific bound parameter handlers would not be
            called upon in the case of using the :meth:`_sql.Insert.values` method with
            the Python ``None`` value; in particular, this would be noticed when using
            the :class:`_types.JSON` datatype as well as related PostgreSQL specific
            types such as :class:`_postgresql.JSONB` which would fail to encode the
            Python ``None`` value into JSON null, however the issue was generalized to
            any bound parameter handler in conjunction with this specific method of
            :class:`_sql.Insert`.
    
        .. change::
            :tags: bug, engine
            🎟️ 6740
    
            Added some guards against ``KeyError`` in the event system to accommodate
            the case that the interpreter is shutting down at the same time
            :meth:`_engine.Engine.dispose` is being called, which would cause stack
            trace warnings.
    
        .. change::
            :tags: bug, orm, regression
            🎟️ 6793
    
            Fixed critical caching issue where the ORM's persistence feature using
            INSERT..RETURNING would cache an incorrect query when mixing the "bulk
            save" and standard "flush" forms of INSERT.
    
    Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    zhengruoqin authored and Trevor Gamblin committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    a8cfd04 View commit details
    Browse the repository at this point in the history
  4. python3-sentry-sdk: upgrade 1.2.0 -> 1.3.0

    1.3.0
    Add support for Sanic versions 20 and 21 #1146
    
    Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
    zhengruoqin authored and Trevor Gamblin committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    35a7edd View commit details
    Browse the repository at this point in the history