Hello community, here is the log from the commit of package python-tinydb for openSUSE:Factory checked in at 2019-10-21 12:31:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tinydb (Old) and /work/SRC/openSUSE:Factory/.python-tinydb.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tinydb" Mon Oct 21 12:31:37 2019 rev:4 rq:741413 version:3.15.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tinydb/python-tinydb.changes 2019-09-17 13:39:07.249826484 +0200 +++ /work/SRC/openSUSE:Factory/.python-tinydb.new.2352/python-tinydb.changes 2019-10-21 12:31:46.872190626 +0200 @@ -1,0 +2,13 @@ +Sat Oct 19 16:21:05 UTC 2019 - Arun Persaud <[email protected]> + +- specfile: + * be more specific in %files section + +- update to version 3.15.0: + * Feature: allow setting the parameters of TinyDB’s default table + (see issue 278) + +- changes from version 3.14.2: + * Internal change: support correct iteration for LRUCache objects + +------------------------------------------------------------------- Old: ---- tinydb-3.14.1.tar.gz New: ---- tinydb-3.15.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tinydb.spec ++++++ --- /var/tmp/diff_new_pack.p2Skci/_old 2019-10-21 12:31:48.092192009 +0200 +++ /var/tmp/diff_new_pack.p2Skci/_new 2019-10-21 12:31:48.104192022 +0200 @@ -18,11 +18,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-tinydb -Version: 3.14.1 +Version: 3.15.0 Release: 0 Summary: A document-oriented database License: MIT -Group: Development/Languages/Python URL: https://github.com/msiemens/tinydb Source: https://files.pythonhosted.org/packages/source/t/tinydb/tinydb-%{version}.tar.gz BuildRequires: %{python_module PyYAML} @@ -64,6 +63,6 @@ %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/tinydb* %changelog ++++++ tinydb-3.14.1.tar.gz -> tinydb-3.15.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tinydb-3.14.1/PKG-INFO new/tinydb-3.15.0/PKG-INFO --- old/tinydb-3.14.1/PKG-INFO 2019-09-13 23:06:21.000000000 +0200 +++ new/tinydb-3.15.0/PKG-INFO 2019-10-12 16:14:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tinydb -Version: 3.14.1 +Version: 3.15.0 Summary: TinyDB is a tiny, document oriented database optimized for your happiness :) Home-page: https://github.com/msiemens/tinydb Author: Markus Siemens diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tinydb-3.14.1/tests/test_utils.py new/tinydb-3.15.0/tests/test_utils.py --- old/tinydb-3.14.1/tests/test_utils.py 2019-09-13 23:03:46.000000000 +0200 +++ new/tinydb-3.15.0/tests/test_utils.py 2019-09-13 23:08:17.000000000 +0200 @@ -80,6 +80,15 @@ assert len(cache.lru) == 100 +def test_lru_cache_iteration_works(): + cache = LRUCache() + count = 0 + for _ in cache: + assert False, 'there should be no elements in the cache' + + assert count == 0 + + def test_catch_warning(): class MyWarning(Warning): pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tinydb-3.14.1/tinydb/utils.py new/tinydb-3.15.0/tinydb/utils.py --- old/tinydb-3.14.1/tinydb/utils.py 2019-09-13 23:03:46.000000000 +0200 +++ new/tinydb-3.15.0/tinydb/utils.py 2019-09-13 23:08:17.000000000 +0200 @@ -43,6 +43,9 @@ def __getitem__(self, key): return self.get(key) + def __iter__(self): + return iter(self.__cache) + def get(self, key, default=None): value = self.__cache.get(key) if value: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tinydb-3.14.1/tinydb/version.py new/tinydb-3.15.0/tinydb/version.py --- old/tinydb-3.14.1/tinydb/version.py 2019-09-13 23:03:46.000000000 +0200 +++ new/tinydb-3.15.0/tinydb/version.py 2019-10-12 16:11:11.000000000 +0200 @@ -1 +1 @@ -__version__ = '3.14.1' +__version__ = '3.15.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tinydb-3.14.1/tinydb.egg-info/PKG-INFO new/tinydb-3.15.0/tinydb.egg-info/PKG-INFO --- old/tinydb-3.14.1/tinydb.egg-info/PKG-INFO 2019-09-13 23:06:21.000000000 +0200 +++ new/tinydb-3.15.0/tinydb.egg-info/PKG-INFO 2019-10-12 16:14:57.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: tinydb -Version: 3.14.1 +Version: 3.15.0 Summary: TinyDB is a tiny, document oriented database optimized for your happiness :) Home-page: https://github.com/msiemens/tinydb Author: Markus Siemens
