Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-zict for openSUSE:Factory checked in at 2023-09-11 21:21:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-zict (Old) and /work/SRC/openSUSE:Factory/.python-zict.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zict" Mon Sep 11 21:21:48 2023 rev:8 rq:1110187 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-zict/python-zict.changes 2022-09-19 16:03:40.610204871 +0200 +++ /work/SRC/openSUSE:Factory/.python-zict.new.1766/python-zict.changes 2023-09-11 21:26:17.022146330 +0200 @@ -1,0 +2,33 @@ +Sun Sep 10 15:26:46 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 3.0.0 + * The library is now almost completely thread-safe (#82, #90, + #92, #93) + * Dropped support for Python 3.7 (#84) + * File.__getitem__ now returns bytearray instead of bytes. This + prevents a memcpy when deserializing numpy arrays with dask. + (#74) + * Removed dependency from heapdict; sped up LRU (#77) + * Fixed broken LRU state when the underlying mapping starts + non-empty. (#77) + * File and LMDB now support pathlib.Path and pytestâs tmpdir + (#78) + * LMDB now uses memory-mapped I/O on MacOSX and is usable on + Windows (#78) + * LRU and Buffer now support delayed eviction (#87) + * New object InsertionSortedSet (#87) + * All mappings now return proper KeysView, ItemsView, and + ValuesView objects from their keys(), items(), and values() + methods (#93) + * File, LMDB, and Zip now behave coherently with unexpected + key/value types (#95) + * Zip.__contains__ no longer reads the value from disk (#95) + * Zip.__setitem__ will now raise when updating an + already-existing key instead of quietly corrupting the mapping + (#95) + * Can now change LRU.n on the fly. Added LRU.offset attribute. + Added accessors to n and offset to Buffer. (#101) + * New object AsyncBuffer; new method LRU.get_all_or_nothing() + (#88) + +------------------------------------------------------------------- Old: ---- zict-2.2.0.tar.gz New: ---- zict-3.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-zict.spec ++++++ --- /var/tmp/diff_new_pack.EzSbBR/_old 2023-09-11 21:26:19.090220055 +0200 +++ /var/tmp/diff_new_pack.EzSbBR/_new 2023-09-11 21:26:19.090220055 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-zict # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,24 +16,26 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-zict -Version: 2.2.0 +Version: 3.0.0 Release: 0 Summary: Mutable mapping tools License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/dask/zict/ Source: https://files.pythonhosted.org/packages/source/z/zict/zict-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-HeapDict BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module HeapDict} BuildRequires: %{python_module lmdb} +BuildRequires: %{python_module psutil} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-timeout} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -45,12 +47,14 @@ %setup -q -n zict-%{version} # needs more memory than what we have on generic hosts rm zict/tests/test_lmdb.py +# ignore pytest-repeat marker: we don't stress test on OBS +sed -i '/markers =/ a \ repeat: Ignore me' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,5 +63,6 @@ %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/zict +%{python_sitelib}/zict-%{version}.dist-info ++++++ zict-2.2.0.tar.gz -> zict-3.0.0.tar.gz ++++++ ++++ 4450 lines of diff (skipped)