Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-frozendict for 
openSUSE:Factory checked in at 2022-01-08 23:24:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-frozendict (Old)
 and      /work/SRC/openSUSE:Factory/.python-frozendict.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-frozendict"

Sat Jan  8 23:24:06 2022 rev:4 rq:944909 version:2.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-frozendict/python-frozendict.changes      
2019-06-06 18:17:24.264684586 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-frozendict.new.1892/python-frozendict.changes
    2022-01-08 23:24:45.954287806 +0100
@@ -1,0 +2,65 @@
+Sat Jan  8 10:58:56 UTC 2022 - Matej Cepl <[email protected]>
+
+- Enable tests
+- Update to 2.1.3:
+  - renamed popitem in delete_by_index in coold
+  - removed pop() from coold
+  - substituted _PyObject_GC_(UN)TRACK with PyObject_GC_(Un)Track
+  - readding needed internal cpython header files for version >=
+    3.8
+  - restored compilation of dictobject.c
+  - cleaning up thing for more canonical compilation (testing on
+    3.7 only for now)
+  - added segfault debugger and pure py builder
+  - add cibuildwheel
+  - fixed regression for coold.set() in Python 3.6
+  - added to __repr__ in pure py version the module name,
+    consistently with C extension
+  - added support for | operand for C extension and for pure py
+    version 3.6 - 3.8
+  - added type hinting support for C extension
+  - restored Py_BUILD_CORE instead of Py_BUILD_CORE_MODULE
+  - updated code for cpython 3.7
+  - readded deprecated FrozenOrderedDict
+  - added pure py version of coold
+  - fixed repr for subclasses
+  - support for python 3.10
+  - inhibited __ior__ in py version
+  - added 3.7 and 3.8 c ext ; fixed subclass bugs
+  - added python 3.8 support
+  - aligned immutability exceptions with stdlib
+  - other minor changes to readme
+  - now __init__ does not throw an exception is reinvoked, as
+    frozenset. Notable speedup in creation.
+  - returned to the dict API, __hash__() apart
+  - change `change __sub__ to be consistent with __and__
+  - change `isdisjoint` accordingly to new `__and__` behavior
+  - added `by="items" to `sorted()` method
+  - docstring for __and__
+  - now __and__ returns the intersection between a frozendict and
+    a dict-like only with the *items* in common. Order of the
+    *second parameter* is preserved.
+  - get_deep() implemented
+  - implemented isdisjoint()
+  - improved bitwise end operator unit test
+  - implemented method sorted()
+  - added & operator (intersection)
+  - implemented the CPython frozenset hash method. More slow but
+    more memory-friendly
+  - fixed deepcopy; various micro-optimizations; other minors
+  - reverted calculation of hash using frozenset
+  - improving `hash` speed and memory consumption
+  - copy() and frozendict(another_frozendict) does return the
+    same instance
+  - fixed repr()
+  - __sub__ now supports also text-like and generators-like
+    iterables
+  - now values of frozendict can be unhashable, as tuple.
+    hash(myfrozendict) will raise an exception in that case; now
+    empty frozendict is a singleton, like tuple and frozenset
+  - speed improvements to constructor
+  - removed useless attempt of micro-optimization
+  - speedup to creating a copy of a frozendict; added testcase
+    and benchmarks
+
+-------------------------------------------------------------------

Old:
----
  frozendict-1.2.tar.gz

New:
----
  frozendict-2.1.3.tar.gz

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

Other differences:
------------------
++++++ python-frozendict.spec ++++++
--- /var/tmp/diff_new_pack.LEEScA/_old  2022-01-08 23:24:46.530288276 +0100
+++ /var/tmp/diff_new_pack.LEEScA/_new  2022-01-08 23:24:46.534288279 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-frozendict
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,22 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
+# Do not enable multibuild unless seriously necessary, it in
+# combination with arch is a right mess!
 Name:           python-frozendict
-Version:        1.2
+Version:        2.1.3
 Release:        0
 Summary:        An immutable dictionary
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/slezica/python-frozendict
 Source:         
https://files.pythonhosted.org/packages/source/f/frozendict/frozendict-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -44,15 +48,15 @@
 
 %install
 %python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-# no upstream tests
+%pytest_arch
 
 %files %{python_files}
 %license LICENSE.txt
-%doc README.rst
-%{python_sitelib}/frozendict-%{version}-py*.egg-info/
-%{python_sitelib}/frozendict
+%doc README.md
+%{python_sitearch}/frozendict-%{version}-py*.egg-info/
+%{python_sitearch}/frozendict
 
 %changelog

++++++ frozendict-1.2.tar.gz -> frozendict-2.1.3.tar.gz ++++++
++++ 52940 lines of diff (skipped)

Reply via email to