Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cachelib for openSUSE:Factory checked in at 2022-08-23 14:30:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cachelib (Old) and /work/SRC/openSUSE:Factory/.python-cachelib.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cachelib" Tue Aug 23 14:30:03 2022 rev:2 rq:998784 version:0.9.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cachelib/python-cachelib.changes 2019-12-10 22:42:51.865799295 +0100 +++ /work/SRC/openSUSE:Factory/.python-cachelib.new.2083/python-cachelib.changes 2022-08-23 14:30:40.875742358 +0200 @@ -1,0 +2,57 @@ +Tue Aug 23 08:06:56 UTC 2022 - John Vandenberg <jay...@gmail.com> + +- Activate test suite +- Update to v0.9.0 + * Add separate internal read/write clients to RedisCache to + improve compatibility with flask-caching. + * Fix bug where cache entries would expire immediately when + RedisCache.add was called without timeout. + * Improve FileSystemCache.set compatibility with Windows systems. +- from v0.8.0 + * Remove deprecated RedisCache.load_object and RedisCache.dump_object. +- from v0.7.0 + * FileSystemCache now stores universal expiration timestamps + using python's struct module. + * Drop support for Python 3.6. +- from v0.6.0 + * A custom hash_method may now be provided to FileSystemCache + for hashing keys. + * Fix PermissionError issue with FileSystemCache on Windows. +- from v0.5.0 + * Cache types now have configurable serializers. +- from v0.4.1 + * Fix break in RedisCache when a host object was passed in + RedisCache.host instead of a string. +- from v0.4.0 + * All cache types now implement BaseCache interface both in + behavior and method return types. + * Add type information for static typing tools. + * FileNotFound exceptions will not be logged anymore in + FileSystemCache methods in order to avoid polluting + application log files. +- from v0.3.0 + * Optimize FileSystemCache pruning. + * Fix a bug in FileSystemCache where entries would not be + removed when the total was over the threshold, and the entry + count would be lost. + * FileSystemCache logs system-related exceptions. + * Removal of expired entries in FileSystemCache is only triggered + if the number of entries is over the threshhold when calling set. + get has still return None and False respectively for expired + entries, but will not remove the files. All removals happen at + pruning time or explicitly with clear and delete. +- from v0.2.0 + * Support for Python 2 has been dropped. + * Only Python 3.6 and above are supported. + * Fix FileSystemCache.set incorrectly considering value overrides + on existing keys as new cache entries. + * SimpleCache and FileSystemCache first remove expired entries, + followed by older entries, when cleaning up. + * Fix problem where file count was not being updated in + FileSystemCache.get and FileSystemCache.has after removals. + * When attempting to access non-existent entries with Memcached, + these will now be initialized with a given value delta. +- from v0.1.1 + * Fix FileSystemCache on Windows. + +------------------------------------------------------------------- Old: ---- cachelib-0.1.tar.gz New: ---- cachelib-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cachelib.spec ++++++ --- /var/tmp/diff_new_pack.X0P5ZR/_old 2022-08-23 14:30:41.619743913 +0200 +++ /var/tmp/diff_new_pack.X0P5ZR/_new 2022-08-23 14:30:41.627743930 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cachelib # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -18,22 +18,28 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cachelib -Version: 0.1 +Version: 0.9.0 Release: 0 Summary: A collection of cache libraries in the same API interface License: BSD-3-Clause Group: Development/Languages/Python -URL: https://github.com/pallets/cachelib +URL: https://github.com/pallets-eco/cachelib Source: https://files.pythonhosted.org/packages/source/c/cachelib/cachelib-%{version}.tar.gz +BuildRequires: %{python_module pylibmc} +BuildRequires: %{python_module pytest-xprocess} +BuildRequires: %{python_module redis} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: memcached BuildRequires: python-rpm-macros +BuildRequires: redis +Recommends: python-pylibmc +Recommends: python-redis BuildArch: noarch %python_subpackages %description -A collection of cache libraries in the same API interface. Extracted from -werkzeug. +A collection of cache libraries in the same API interface. %prep %setup -q -n cachelib-%{version} @@ -45,9 +51,15 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# Allow finding memcached +export PATH="%{_sbindir}/:$PATH" +%{_sbindir}/redis-server & +%pytest -rs + %files %{python_files} -%license LICENSE +%license LICENSE.rst %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/*cachelib*/ %changelog ++++++ cachelib-0.1.tar.gz -> cachelib-0.9.0.tar.gz ++++++ ++++ 4010 lines of diff (skipped)