Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-BTrees for openSUSE:Factory 
checked in at 2021-06-01 10:32:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-BTrees (Old)
 and      /work/SRC/openSUSE:Factory/.python-BTrees.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-BTrees"

Tue Jun  1 10:32:50 2021 rev:12 rq:895163 version:4.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-BTrees/python-BTrees.changes      
2020-04-15 19:53:25.853570207 +0200
+++ /work/SRC/openSUSE:Factory/.python-BTrees.new.1898/python-BTrees.changes    
2021-06-01 10:32:52.152343909 +0200
@@ -1,0 +2,72 @@
+Tue May 18 07:13:46 UTC 2021 - pgaj...@suse.com
+
+- version update to 4.8.0
+  * Make Python 2 forbid the use of type objects as keys (unless a
+    custom metaclass is used that implements comparison as required by
+    BTrees.) On Python 3, types are not orderable so they were already
+    forbidden, but on Python 2 types can be ordered by memory address,
+    which makes them unsuitable for use as keys. See `issue
+    <https://github.com/zopefoundation/BTrees/issues/153>`_.
+  * Make the ``multiunion``, ``union``, ``intersection``, and
+    ``difference`` functions accept arbitrary Python iterables (that
+    iterate across the correct types). Previously, the Python
+    implementation allowed this, but the C implementation only allowed
+    objects (like ``TreeSet`` or ``Bucket``) defined in the same module
+    providing the function. See `issue 24
+    <https://github.com/zopefoundation/BTrees/issues/24>`_.
+  * Fix persistency bug in the Python version
+    (`#118 <https://github.com/zopefoundation/BTrees/issues/118>`_).
+  * Fix ``Tree.__setstate__`` to no longer accept children besides
+    tree or bucket types to prevent crashes. See `PR 143
+    <https://github.com/zopefoundation/BTrees/pull/143>`_ for details.
+  * Make BTrees, TreeSet, Set and Buckets implements the ``__and__``,
+    ``__or__`` and ``__sub__`` special methods as shortcuts for
+    ``BTrees.Interfaces.IMerge.intersection``,
+    ``BTrees.Interfaces.IMerge.union`` and
+    ``BTrees.Interfaces.IMerge.difference``.
+  * Add support for Python 3.9.
+  * Build and upload aarch64 wheels.
+  * Make a value of ``0`` in the ``PURE_PYTHON`` environment variable
+    require the C extensions (except on PyPy). Previously, and if this
+    variable is unset, missing or unusable C extensions would be
+    silently ignored. With this variable set to ``0``, an
+    ``ImportError`` will be raised if the C extensions are unavailable.
+    See `issue 156
+    <https://github.com/zopefoundation/BTrees/issues/156>`_.
+  * Make the BTree objects (``BTree``, ``TreeSet``, ``Set``, ``Bucket``)
+    of each module actually provide the interfaces defined in
+    ``BTrees.Interfaces``. Previously, they provided no interfaces.
+  * Make all the BTree and Bucket objects instances of
+    ``collections.abc.MutableMapping`` (that is, ``isinstance(btree,
+    MutableMapping)`` is now true; no actual inheritance has changed).
+    As part of this, they now provide the ``popitem()`` method.
+  * Make all the TreeSet and Set objects instances of
+    ``collections.abc.MutableSet`` (that is, ``isinstance(tree_set,
+    MutableSet)`` is now true; no actual inheritance has changed).
+    As part of this, they now provide several more methods, including
+    ``isdisjoint``, ``discard``, and ``pop``, and support in-place
+    mutation operators such as ``tree_set |= other``, ``tree_set +=
+    other``, ``tree_set -= other`` and ``tree_set ^= other``. See `issue
+    121 <https://github.com/zopefoundation/BTrees/issues/121>`_.
+  * Update the definitions of ``ISized`` and ``IReadSequence`` to simply
+    be ``zope.interface.common.collections.ISized`` and
+    ``zope.interface.common.sequence.IMinimalSequence`` respectively.
+  * Remove the ``__nonzero__`` interface method from ``ICollection``. No
+    objects actually implemented such a method; instead, the boolean value
+    is typically taken from ``__len__``.
+  * Adjust the definition of ``ISet`` to produce the same resolution
+    order under the C3 and legacy orderings. This means that the legacy
+    order has changed slightly, but that this package emits no warnings
+    when ``ZOPE_INTERFACE_LOG_CHANGED_IRO=1``. Note that the legacy
+    order was not being used for these objects because the C3 ordering
+    was still consistent; it could only be obtained using
+    ``ZOPE_INTERFACE_USE_LEGACY_IRO=1``. See `PR 159
+    <https://github.com/zopefoundation/BTrees/pull/159>`_ for all the
+    interface updates.
+  * Fix the ``get``, ``setdefault`` and ``pop`` methods, as well as the
+    ``in`` operator, to not suppress ``POSKeyError`` if the object or
+    subobjects are corrupted. Previously, such errors were logged by
+    ZODB, but not propagated. See `issue 161
+    <https://github.com/zopefoundation/BTrees/issues/161>`_.
+
+-------------------------------------------------------------------

Old:
----
  BTrees-4.7.2.tar.gz

New:
----
  BTrees-4.8.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-BTrees.spec ++++++
--- /var/tmp/diff_new_pack.BgTkFb/_old  2021-06-01 10:32:52.636344733 +0200
+++ /var/tmp/diff_new_pack.BgTkFb/_new  2021-06-01 10:32:52.640344740 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-BTrees
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-BTrees
-Version:        4.7.2
+Version:        4.8.0
 Release:        0
 Summary:        Persistent B-tree object containers for Python
 License:        ZPL-2.1
@@ -27,6 +27,7 @@
 Source:         
https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module persistent-devel >= 4.1.0}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module transaction}
 BuildRequires:  %{python_module zope.interface}
@@ -69,7 +70,10 @@
 }
 
 %check
-%python_exec setup.py -q test
+# testPurePython tests would require this step which setup.py test did:
+#%%{python_expand cp build/lib.linux-*/BTrees/*.so src/BTrees/}
+# it can be overcome with --import-mode=append
+%pytest_arch -k 'not testPurePython'
 
 %files %{python_files}
 %doc CHANGES.rst README.rst PKG-INFO

++++++ BTrees-4.7.2.tar.gz -> BTrees-4.8.0.tar.gz ++++++
++++ 47597 lines of diff (skipped)

Reply via email to